-
Bug
-
Resolution: Done
-
None
-
Carbon
-
None
-
Operating System: All
Platform: All
-
8332
-
High
When I execute this RESTconf command, I get the following:
curl -H "Content-Type: application/json" -X GET --user admin:admin http://localhost:8181/restconf/config/odl-interface-meta:bridge-interface-info | python -m json.tool
{
"bridge-interface-info": {
"bridge-entry": [
{
"bridge-interface-entry": [
,
,
,
{ "interface-name": "tunc5bbb60c5be" } ],
"dpid": 203068852039248
},
{
"bridge-interface-entry": [
,
,
,
{ "interface-name": "tune235dba66db" } ],
"dpid": 259899806894535
},
{
"bridge-interface-entry": [
,
,
,
{ "interface-name": "tun0ee97cb99a7" } ],
"dpid": 88118914860719
}
]
}
}
But this information does not coincide with what I actually have in the OVS bridges, as can be seen below:
[vagrant@localhost ~]$ docker exec firewall ovs-vsctl show
b1fbefc8-c12e-4d78-86c6-59c7db89ef97
Manager "tcp:172.28.128.1:6640"
is_connected: true
Bridge br-int
Controller "tcp:172.28.128.1:6653"
is_connected: true
fail_mode: secure
Port br-int
Interface br-int
type: internal
Port "tuna1b98913c5d"
Interface "tuna1b98913c5d"
type: vxlan
options:
Port "tune235dba66db"
Interface "tune235dba66db"
type: vxlan
options:
Port "tunf7fc5075a90"
Interface "tunf7fc5075a90"
type: vxlan
options:
Port "tape4a67c1e-61"
Interface "tape4a67c1e-61"
ovs_version: "2.6.1"
[vagrant@localhost ~]$ docker exec client1 ovs-vsctl show
a5358b9c-7a78-40a5-b2a7-811a09c81684
Manager "tcp:172.28.128.1:6640"
is_connected: true
Bridge br-int
Controller "tcp:172.28.128.1:6653"
is_connected: true
fail_mode: secure
Port "tun1efc669f2c5"
Interface "tun1efc669f2c5"
type: vxlan
options:
Port br-int
Interface br-int
type: internal
Port "tap1cbc44fa-d6"
Interface "tap1cbc44fa-d6"
Port "tun430bea2ed4f"
Interface "tun430bea2ed4f"
type: vxlan
options:
Port "tun9574fb33977"
Interface "tun9574fb33977"
type: vxlan
options:
ovs_version: "2.6.1"
[vagrant@localhost ~]$ docker exec server1 ovs-vsctl show
f227a7b7-f01e-47b5-a630-95964d80558b
Manager "tcp:172.28.128.1:6640"
is_connected: true
Bridge br-int
Controller "tcp:172.28.128.1:6653"
is_connected: true
fail_mode: secure
Port "tunc5bbb60c5be"
Interface "tunc5bbb60c5be"
type: vxlan
options:
Port br-int
Interface br-int
type: internal
Port "tap993b051f-b7"
Interface "tap993b051f-b7"
Port "tun55258486af0"
Interface "tun55258486af0"
type: vxlan
options:
Port "tune40822e4b24"
Interface "tune40822e4b24"
type: vxlan
options:
ovs_version: "2.6.1"
Additionally, the interfaceMgr.getTunnelPortsOnBridge(dpnId); Genius RPC gives me even different information.