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:
Ruslan Aliev 2024-02-16 13:44:43 -06:00
parent aa1ebf9207
commit 47ced6d7de
1 changed files with 1 additions and 1 deletions

View File

@ -1502,7 +1502,7 @@ class ApplyNodeNetworking(BaseMaasAction):
continue
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." % (
n.name, i.device_name)
self.logger.debug(msg)