mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
addons: vxlan: log info when bridge add/del fails
Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
This commit is contained in:
@ -112,16 +112,16 @@ class vxlan(moduleBase):
|
||||
self.ipcmd.bridge_fdb_del(ifaceobj.name,
|
||||
'00:00:00:00:00:00',
|
||||
None, True, addr)
|
||||
except:
|
||||
pass
|
||||
except Exception as e:
|
||||
self.logger.info('%s: %s' % (ifaceobj.name, str(e)))
|
||||
|
||||
for addr in add_list:
|
||||
try:
|
||||
self.ipcmd.bridge_fdb_append(ifaceobj.name,
|
||||
'00:00:00:00:00:00',
|
||||
None, True, addr)
|
||||
except:
|
||||
pass
|
||||
except Exception as e:
|
||||
self.logger.info('%s: %s' % (ifaceobj.name, str(e)))
|
||||
|
||||
if ifaceobj.addr_method == 'manual':
|
||||
netlink.link_set_updown(ifaceobj.name, "up")
|
||||
|
Reference in New Issue
Block a user