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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user