Allow creation of network bonding with a single interface
Signed-off-by: Ruslan Aliev <raliev@mirantis.com> Change-Id: I7a5f51541051abbeada3bea1608394bb4e374115
This commit is contained in:
parent
aa1ebf9207
commit
47ced6d7de
|
@ -1502,7 +1502,7 @@ class ApplyNodeNetworking(BaseMaasAction):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if nl.bonding_mode != hd_fields.NetworkLinkBondingMode.Disabled:
|
if nl.bonding_mode != hd_fields.NetworkLinkBondingMode.Disabled:
|
||||||
if len(i.get_hw_slaves()) > 1:
|
if len(i.get_hw_slaves()) >= 1:
|
||||||
msg = "Building node %s interface %s as a bond." % (
|
msg = "Building node %s interface %s as a bond." % (
|
||||||
n.name, i.device_name)
|
n.name, i.device_name)
|
||||||
self.logger.debug(msg)
|
self.logger.debug(msg)
|
||||||
|
|
Loading…
Reference in New Issue