[NETVIRT-831] port information for 1 dpn is missing in subnet-op-data and port-op-data Created: 09/Aug/17  Updated: 05/Apr/18  Resolved: 05/Apr/18

Status: Resolved
Project: netvirt
Component/s: General
Affects Version/s: Carbon
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Hanamantagoud V Kandagal 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


External issue ID: 8960

 Description   

Upon PL reboot , if southbound event (PortUP) event is received first and northbound event(OnSubnetAddedToVpn) is received later ,DPN will not be updated in PortOpData.

Fix :
(1) When northbound event is received , SubnetOpDataEntry is created first by using clustered wide lock based on subnetId. Then PortOpDataEntry and subnetToDpn is created.
(2)Incase southbound event is received first,PortOpData entry may not be available.In such case subnetId is retrieved from Neutron cache and PortOpData entry will be created by the SubnetInterfaceStateChangeListener thread.



 Comments   
Comment by Sam Hague [ 12/Aug/17 ]

https://git.opendaylight.org/gerrit/61412

Comment by Sam Hague [ 19/Aug/17 ]

o: https://git.opendaylight.org/gerrit/61823
n: https://git.opendaylight.org/gerrit/#/c/61937/1
c: https://git.opendaylight.org/gerrit/#/c/61888/1

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