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

addons: bridge: don't add old_ifaceobjs to internal MVAB list

Signed-off-by: Julien Fortin <jfortin@nvidia.com>
This commit is contained in:
Julien Fortin
2021-05-06 16:50:34 +02:00
parent 995c38e29a
commit 19b0c19bdf

View File

@ -1028,8 +1028,9 @@ class bridge(Bridge, moduleBase):
ifaceobj.link_kind |= ifaceLinkKind.BRIDGE
ifaceobj.link_privflags |= ifaceLinkPrivFlags.BRIDGE_VLAN_AWARE
# store the name of all bridge vlan aware in a global list
self.bridge_vlan_aware_list.add(ifaceobj.name)
if not old_ifaceobjs:
# store the name of all bridge vlan aware in a global list
self.bridge_vlan_aware_list.add(ifaceobj.name)
ifaceobj.role |= ifaceRole.MASTER
ifaceobj.dependency_type = ifaceDependencyType.MASTER_SLAVE