1
0
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:
Julien Fortin
2023-05-03 16:37:51 +02:00
parent 921757c390
commit 81348c3266

View File

@ -431,9 +431,12 @@ class bond(Addon, moduleBase):
raise_error=False)
continue
try:
# making sure the slave-to-be has the right speed
if not self.valid_slave_speed(ifaceobj, runningslaves, slave):
continue
except Exception as e:
self.logger.debug("%s: bond-slave (%s) speed validation failed: %s" % (ifaceobj.name, slave, str(e)))
link_up = False
if self.cache.link_is_up(slave):