Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Tor-Agent crash for VRF Delete timeout
Issue: ------ when a logical interface is associated with multiple VMIs and administrator removes one VMI from the list associated it results in deletion of existing VRF and re-addition again. By this time if there are any routes imported from TOR, they hold the reference to VRF and doesnot allow VRF to clean up, which results in a delete timeout. In usual scenarios VRF is deleted along with VN, so we didnot observe this issue earlier. Fix: ---- Maintain a VRF dependency list in UnicastMacLocalOvsdb table and trigger re-eval of entries on VRF delete. which removes the OvsdbEntry for unicast mac local and re-adds resulting in removing the VRF reference and move the entry to add-defer state to wait for new VRF object. This trigger of re-eval is triggered in a work queue to ensure the order of events such that re-eval kicks in after the vn_ovsdb_entry becomes in-active to hold the re-addition of route in Add defer state. Also adding fix for marking a logical entry as incomplete if logical interface to vmi association is removed to allow completion of logical switch delete. Change-Id: Ifdcd06266b1eeefb36a4fcd90f3f0d0e2e471527 Closes-Bug: 1420903
- Loading branch information
Prabhjot Singh Sethi
committed
Feb 12, 2015
1 parent
906f313
commit fed0d74
Showing
7 changed files
with
90 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters