Issue:
------
During session connect config listen and OVSDB info read
happens in parallel, in case if we receive an incomplete
config for Vlan port binding we create an entry and keep
it in defered state to wait for completion of info.
In the mean while if OVSDB read also gives the same info
while trying to create a stale entry we hit the assert
Fix:
----
we should not assert for failure in creation of stale entry
also we will connect/listen to OPER DB for config only
after complete of intial read, so that we should not fail
to create stale entries, while we had incomplete info in
config
Also adding fix for not creating vrf ovsdb stale entry for
OvsdbClientIdl::OVSDB_DEL operation
Reviewed: https:/ /review. opencontrail. org/9375 github. org/Juniper/ contrail- controller/ commit/ 46814398237fb80 f8d386b23bf279c fdf94f1d6a
Committed: http://
Submitter: Zuul
Branch: master
commit 46814398237fb80 f8d386b23bf279c fdf94f1d6a
Author: Prabhjot Singh Sethi <email address hidden>
Date: Wed Apr 22 12:13:09 2015 +0530
Fix TOR agent Stale entry creation
Issue:
------
During session connect config listen and OVSDB info read
happens in parallel, in case if we receive an incomplete
config for Vlan port binding we create an entry and keep
it in defered state to wait for completion of info.
In the mean while if OVSDB read also gives the same info
while trying to create a stale entry we hit the assert
Fix:
----
we should not assert for failure in creation of stale entry
also we will connect/listen to OPER DB for config only
after complete of intial read, so that we should not fail
to create stale entries, while we had incomplete info in
config
Also adding fix for not creating vrf ovsdb stale entry for :OVSDB_ DEL operation
OvsdbClientIdl:
Added test-cases
Closes-Bug: 1441172 68f7f90d4e6d2bf b7662401bdb
Closes-Bug: 1448857
Change-Id: Ie307f824ec21d2