[OVSDB-157] Use of emphemeral ports in iids causes breakage on reconnect Created: 20/May/15  Updated: 19/Oct/17  Resolved: 01/Jun/15

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

Type: Bug
Reporter: Ed Warnicke Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Duplicate
is duplicated by OVSDB-154 Exception in OVSDB Southbound when ru... Resolved
External issue ID: 3310

 Description   

Using iids of the form ovsdb://<ip>:<port>/
Makes iids for ovs to controller connections change on each disconnect reconnect

Discussion:

a) Since passive (controller to ovs) connections require the user to decide on an iid before we connect to the switch (and thus know nothing but ip/port about what we are connecting to
b) Since config and oper iids should match for the same ovs
c) Therefore, we need to
i) Capture iids from config for passive connections
ii) 'Stamp' them into the external-ids for OpenVSwitch
iii) When we get the operational info from registercallbacks, we should either pick the 'stamp' from external-ids if it is present, or generate a unique iid ourselves.



 Comments   
Comment by Ed Warnicke [ 21/May/15 ]

This issue also impacts adversely iids for bridges and termination points.

Comment by Sam Hague [ 01/Jun/15 ]

https://git.opendaylight.org/gerrit/#/c/21484/
https://git.opendaylight.org/gerrit/#/c/21448/
https://git.opendaylight.org/gerrit/#/c/21447/
https://git.opendaylight.org/gerrit/#/c/21444/
https://git.opendaylight.org/gerrit/#/c/21443/
https://git.opendaylight.org/gerrit/#/c/21446/
https://git.opendaylight.org/gerrit/#/c/21445/

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