Details
-
Bug
-
Status: Resolved
-
Resolution: Cannot Reproduce
-
unspecified
-
None
-
None
-
Operating System: All
Platform: All
-
critical
-
5215
Description
Hi,
I have created a tunnel(GRE/VxLan). I can see created information in config data store.But, in operational data store it is not displaying. Even ovs-vsctl show is not displaying tunnel status.
Command used to create tunnel:
http://10.183.255.21:8181/restconf/config/itm:transport-zones/
{
"transport-zone": [
{
"zone-name": "TZA",
"subnets": [
{
"prefix": "10.183.255.0/24",
"vlan-id": 0,
"vteps": [
,
{ "dpn-id": 2, "portname": "phy2", "ip-address": "10.183.255.22" } ],
"gateway-ip": "0.0.0.0"
}
],
"tunnel-type": "odl-interface:tunnel-type-gre"
}
]
}
---------------------------------------------------------
config data store output
http://10.183.255.21:8181/restconf/config/itm-state:dpn-endpoints/
{
"dpn-endpoints": {
"DPN-TEPs-info": [
{
"DPN-ID": 2,
"tunnel-end-points": [
]
},
{
"DPN-ID": 1,
"tunnel-end-points": [
]
}
]
}
}
----------------------------------------------------------------
http://10.183.255.21:8181/restconf/operational/ietf-interfaces:interfaces-state/
{
"interfaces-state": {
"interface": [
,
,
,
,
,
,
,
,
,
{ "name": "s1-eth1", "if-index": 2, "admin-status": "up", "oper-status": "up", "phys-address": "D6:72:51:74:EF:74", "lower-layer-if": [ "openflow:1:1" ] } ]
}
}
---------------------------------------------
OVS output:
mininet@mininet-vm:~\> sudo ovs-vsctl show
d84b79f4-ebd2-4574-b30c-d5041bf367a5
Manager "tcp:10.183.254.21:6640"
Bridge "s2"
Controller "tcp:10.183.255.21:6633"
is_connected: true
Controller "ptcp:6634"
fail_mode: secure
Port "s2-eth2"
Interface "s2-eth2"
Port "tapcb5856f0-d4"
Interface "tapcb5856f0-d4"
Port "s2-eth1"
Interface "s2-eth1"
Port "tap026fc8e6-83"
Interface "tap026fc8e6-83"
Port "s2"
Interface "s2"
type: internal
ovs_version: "2.4.0"
------------------------------------------------------