mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
addons: vrf: down the slave after unslaving during down
Ticket: CM-10050 Reviewed By: Testing Done: tested with bridge testcase described in the bug
This commit is contained in:
@ -571,6 +571,7 @@ class vrf(moduleBase):
|
||||
def _down_vrf_slave(self, ifacename, vrf):
|
||||
try:
|
||||
self.ipcmd.link_set(ifacename, 'nomaster')
|
||||
rtnetlink_api.rtnl_api.link_set(ifacename, "down")
|
||||
except Exception, e:
|
||||
self.logger.warn('%s: %s' %(ifacename, str(e)))
|
||||
|
||||
|
Reference in New Issue
Block a user