]> git.proxmox.com Git - mirror_ifupdown2.git/commit
addons: bridge: move the default running_pvid assignment to before
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Fri, 12 Aug 2016 05:36:39 +0000 (22:36 -0700)
committerRoopa Prabhu <roopa@cumulusnetworks.com>
Fri, 12 Aug 2016 05:36:39 +0000 (22:36 -0700)
commit07c1c00d39eb71aa9c06c15eb78d733e57140e53
treefbe68cbc87fc33c6a45786e1e023567a27e16c71
parent3c705d76063e3da6b369b1eb2ac68aea653cc0ec
addons: bridge: move the default running_pvid assignment to before
pvid_to_del is calculated

Ticket: CM-12355
Reviewed By: julien, nikhil
Testing Done: tested with failing config

My previous fix for the same bug did not fix the problem completly.
In this patch all running pvid calculation
is done before the pvid_to_del is calculated.
This makes sure the old pvid is deleted if it is not
the same as current pvid in all cases

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
addons/bridge.py