[OVSDB-14] Avoid adding redundant Openflow Controller entries Created: 06/May/14  Updated: 31/Mar/15  Resolved: 31/Mar/15

Status: Resolved
Project: ovsdb
Component/s: API
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Madhu Venugopal Assignee: Madhu Venugopal
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Mac OS
Platform: PC


Issue Links:
Blocks
blocks OVSDB-105 Bridge Set-Controller operation fails... Resolved
is blocked by OVSDB-49 Open_vSwitch Schema's Controller Tabl... Resolved
Duplicate
is duplicated by OVSDB-46 Duplicate Controller Entries Added Resolved
is duplicated by OVSDB-54 Duplicate Controller Row Entries in B... Resolved
External issue ID: 960

 Description   

The OVSDB library and neutron automatically adds openflow controller entries to any newly added bridge or existing bridges. It does so by not affecting any of
the existing controller configuration. While it is a good idea not to impact
the existing config, it is also good not to add redundant controller config.
Having multiple openflow channels connecting back to the same controller is causing issues and must be avoided.

Hence we can either clear all the existing openflow controller entries and add new entries (This will cause a openflow connection flap). Or.
Avoid adding a new controller entry if the existing OVS bridge is configured with Openflow configuration with one of the ODL controller's ip-addresses.



 Comments   
Comment by Flavio Fernandes [ 29/Jul/14 ]

Madhu: please send me the gerrit you and hsin worked on. I'd like to learn from that on what the fix should do.

Comment by Flavio Fernandes [ 31/Jul/14 ]

[15:01:33] <@Madhu> flaviof: okay. also added u to https://git.opendaylight.org/gerrit/#/c/7095/
[15:01:36] <@Madhu> u can take over that
[15:01:49] <flaviof> Madhu: ok. thanks!
[15:02:31] <@Madhu> flaviof: btw. i just got the plugin IT to work and we merged it
[15:02:44] <@Madhu> would be cool if u can write a IT test after u fixed https://git.opendaylight.org/gerrit/#/c/7095/
[15:02:52] <@Madhu> that way we can make sure it is never broken again
[15:03:00] <flaviof> Madhu: nice! sounds awesome!
[15:03:35] <flaviof> Madhu: I will make sure that goes together with the fix for OVSDB-14 (https://bugs.opendaylight.org/show_bug.cgi?id=960)

Comment by Flavio Fernandes [ 26/Aug/14 ]

[08:59:16] <@Madhu> flaviof: will u be addressing https://git.opendaylight.org/gerrit/#/c/9606/ soon ?
[08:59:27] <@Madhu> if not, i can take a crack at it boss flaviof
[09:14:11] <flaviof> hi Madhu
[09:15:43] <flaviof> Madhu: I've been on l3 and did not look at that in a while.
[09:17:47] <flaviof> Madhu: so yes, please wrap it up for me.
[09:18:14] <@Madhu> flaviof: thanks
[09:18:16] <@Madhu> i will

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