mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
addons: bond: ignore exception raised during bond-slave speed check
Signed-off-by: Julien Fortin <jfortin@nvidia.com>
This commit is contained in:
@ -431,9 +431,12 @@ class bond(Addon, moduleBase):
|
|||||||
raise_error=False)
|
raise_error=False)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
try:
|
||||||
# making sure the slave-to-be has the right speed
|
# making sure the slave-to-be has the right speed
|
||||||
if not self.valid_slave_speed(ifaceobj, runningslaves, slave):
|
if not self.valid_slave_speed(ifaceobj, runningslaves, slave):
|
||||||
continue
|
continue
|
||||||
|
except Exception as e:
|
||||||
|
self.logger.debug("%s: bond-slave (%s) speed validation failed: %s" % (ifaceobj.name, slave, str(e)))
|
||||||
|
|
||||||
link_up = False
|
link_up = False
|
||||||
if self.cache.link_is_up(slave):
|
if self.cache.link_is_up(slave):
|
||||||
|
Reference in New Issue
Block a user