mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
addons: vrf: error on no master only when ALL interfaces are being
brought up Ticket: CM-11016 Reviewed By: julien, nikhil Testing Done: tested with config in the CM bug Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
This commit is contained in:
@@ -366,7 +366,7 @@ class vrf(moduleBase):
|
||||
master_exists = False
|
||||
if master_exists:
|
||||
rtnetlink_api.rtnl_api.link_set(ifacename, "up")
|
||||
else:
|
||||
elif ifupdownflags.flags.ALL:
|
||||
self.log_error('vrf %s not around, skipping vrf config'
|
||||
%(vrfname), ifaceobj)
|
||||
except Exception, e:
|
||||
|
Reference in New Issue
Block a user