[OVSDB-153] No port created when adding termination point (tunnel port) on second bridge Created: 06/May/15  Updated: 19/Oct/17  Resolved: 26/May/15

Status: Resolved
Project: ovsdb
Component/s: Southbound.Open_vSwitch
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Thomas Bachman Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 3142
Priority: High

 Description   

I tried using the OVSDB config to create a tunnel port on two bridges. The code to do this is here:

https://git.opendaylight.org/gerrit/#/c/18237/

It listens to bridge notifications in oper, and creates a tunnel port and writes it to config.

To test this, I first added br-ex, and saw that the tunnel port was created, but when I tried adding br-int, I saw the tunnel port in config, but not in oper, and the tunnel port wasn't created on the vSwitch.

Here is what's in config:

http://pastebin.com/u9RWQDqm

Here is what's in oper:

http://pastebin.com/7MBvabnC



 Comments   
Comment by Anil Vishnoi [ 06/May/15 ]

You can not create port with same name (in your case - ofoverlay-tun) on more then one bridge. I tried the same using ovs-vsctl and it complaints

ovs-vsctl add-port br-ex ofoverlay-tun
root@mininet-vm:~# ovs-vsctl show
8625e529-b120-425d-ae73-39757be6e38b
Manager "ptcp:16640"
Bridge br-ex
Port ofoverlay-tun
Interface ofoverlay-tun
Port br-ex
Interface br-ex
type: internal
ovs_version: "2.0.2"
root@mininet-vm:~# ovs-vsctl add-br br-int
root@mininet-vm:~# ovs-vsctl add-port br-int ofoverlay-tun
ovs-vsctl: cannot create a port named ofoverlay-tun because a port named ofoverlay-tun already exists on bridge br-ex

Generated at Wed Feb 07 20:35:38 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.