-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
binding: handle pb->chassis and pb->up from if-status module
Before this patch, if-status module handled pb->chassis and pb->up for vif ports, but not for non-VIF ports. This caused a few potential issues: - It was difficult to check that a no-vif port has been previously claimed as there was no state in if-status. Hence it was difficult to always release such a port when pb->chassis was set to a different chassis. This issue will be fixed in a future patch. - Releasing such ports caused ovn-controller to log warnings such as "Trying to delete unknown ports". - If sb is readonly at the time of the claim, it forced the module to recompute. This patch fixed issues two and three by moving the work of setting pb->chassis and pb->up to the if-status module. Signed-off-by: Xavier Simonart <xsimonar@redhat.com> Signed-off-by: Dumitru Ceara <dceara@redhat.com>
- Loading branch information
1 parent
527ee3a
commit c81c305
Showing
6 changed files
with
326 additions
and
81 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
Oops, something went wrong.