mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
remove blacklisted interfaces only if they are upperifaces (ie root of
the tree) Ticket: CM-7765 Reviewed By: CCR-3621 Testing Done: tested interface dependencies with auto and non-auto interfaces This commit fixes a change in behaviour introduced by "460906d0552d" ("skip adding filtered or blacklisted interfaces in the dependency graph") that skipped non-auto (or blacklisted) interfaces. Turns out we have files out there that do have non-auto dependents. This patch makes sure blacklisted interfaces who are dependents of other interfaces are always picked up.
This commit is contained in:
@@ -630,7 +630,7 @@ class bridge(moduleBase):
|
||||
self.brctlcmd.set_bridgeport_attrs(ifaceobj.name, port,
|
||||
attrdict)
|
||||
except Exception, e:
|
||||
self.log_warn('%s: %s', str(e))
|
||||
self.log_warn('%s: %s' %(ifaceobj.name, str(e)))
|
||||
pass
|
||||
self._set_bridge_vidinfo_compat(ifaceobj)
|
||||
self._set_bridge_mcqv4src_compat(ifaceobj)
|
||||
|
Reference in New Issue
Block a user