mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
misc bug fixes for svi address propagation, svi query etc
Ticket: CM-3346 Reviewed By: Testing Done: Tested new format with new bridge driver - add/del vlan aware bridge svi mac addresses from bridge - shorten macvlan interface names to <bridge>-<vid>-v<n> - fix query check for address-virtual interfaces - fix query check for vlan interfaces
This commit is contained in:
@@ -224,8 +224,7 @@ class ifupdownMain(ifupdownBase):
|
||||
# to indicate if we should follow upperifaces
|
||||
#
|
||||
ifaceobj = self.get_ifaceobj_first(ifacename)
|
||||
if (ifaceobj.type == ifaceType.BRIDGE or
|
||||
ifaceobj.type == ifaceType.BRIDGE_VLAN):
|
||||
if ifaceobj.type == ifaceType.BRIDGE_VLAN:
|
||||
return False
|
||||
return True
|
||||
|
||||
@@ -247,6 +246,7 @@ class ifupdownMain(ifupdownBase):
|
||||
"""
|
||||
ifaceobjcurr = iface()
|
||||
ifaceobjcurr.name = ifaceobj.name
|
||||
ifaceobjcurr.type = ifaceobj.type
|
||||
ifaceobjcurr.lowerifaces = ifaceobj.lowerifaces
|
||||
ifaceobjcurr.priv_flags = ifaceobj.priv_flags
|
||||
ifaceobjcurr.auto = ifaceobj.auto
|
||||
|
Reference in New Issue
Block a user