1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

ifupdown2 patch to properly remove address-virtual mac addresses

Ticket: CM-6702
Reviewed By: roopa
Testing Done: unit and smoke tested with ifupdown2 suite

When address-virtual mac adddress is modified, removed from an SVI, or the SVI is removed,
the permanent mac address is not removed.

This patch addresses all three cases but creating a global statemanager instance
and removing address-virtual FDB entries that were previously configured.
This commit is contained in:
Sam Tannous
2015-07-23 15:43:45 -04:00
parent 27f2a937d8
commit 55072bd128
3 changed files with 46 additions and 15 deletions

View File

@@ -174,3 +174,5 @@ class stateManager():
else:
for ifacename, ifaceobjs in self.ifaceobjdict.items():
[i.dump(self.logger) for i in ifaceobjs]
statemanager_api = stateManager()