diff --git a/confluent_client/confluent/client.py b/confluent_client/confluent/client.py index a9957b96..6709eee2 100644 --- a/confluent_client/confluent/client.py +++ b/confluent_client/confluent/client.py @@ -39,6 +39,7 @@ 'switchuser': 'secret.hardwaremanagementuser', 'bmcpass': 'secret.hardwaremanagementpassword', 'switchpass': 'secret.hardwaremanagementpassword', + 'net.bond_mode': 'net.team_mode' } try: diff --git a/confluent_server/confluent/config/attributes.py b/confluent_server/confluent/config/attributes.py index 4f6531bd..5349a20d 100644 --- a/confluent_server/confluent/config/attributes.py +++ b/confluent_server/confluent/config/attributes.py @@ -466,17 +466,17 @@ 'the discovery process to decide where to place the mac address of a detected PXE nic.', }, 'net.connection_name': { - 'description': 'Name to use when specifiying a name for connection and/or interface name for a team. This may be the name of a team interface, ' + 'description': 'Name to use when specifiying a name for connection and/or interface name for a team/bond. This may be the name of a team/bond interface, ' 'the connection name in network manager for the interface, or may be installed as an altname ' 'as supported by the respective OS deployment profiles. Default is to accept default name for ' - 'a team consistent with the respective OS, or to use the matching original port name as connection name.' + 'a team/bond consistent with the respective OS, or to use the matching original port name as connection name.' }, 'net.interface_names': { 'description': 'Interface name or comma delimited list of names to match for this interface. It is generally recommended ' 'to leave this blank unless needing to set up interfaces that are not on a common subnet with a confluent server, ' 'as confluent servers provide autodetection for matching the correct network definition to an interface. ' 'This would be the default name per the deployed OS and can be a comma delimited list to denote members of ' - 'a team or a single interface for VLAN/PKEY connections.' + 'a team/bond or a single interface for VLAN/PKEY connections.' }, 'net.vlan_id': { 'description': 'Ethernet VLAN or InfiniBand PKEY to use for this connection. ' @@ -559,10 +559,11 @@ 'operating system', }, 'net.team_mode': { - 'description': 'Indicates that this interface should be a team and what mode or runner to use when teamed. ' + 'description': 'Indicates that this interface should be a team/bond and what mode or runner to use when teamed. ' 'If this covers a deployment interface, one of the member interfaces may be brought up as ' 'a standalone interface until deployment is complete, as supported by the OS deployment profile. ' - 'To support this scenario, the switch should be set up to allow independent operation of member ports (e.g. lacp bypass mode or fallback mode).', + 'To support this scenario, the switch should be set up to allow independent operation of member ports (e.g. lacp bypass mode or fallback mode). ' + 'Alias for this attribute is net.bond_mode.', 'validvalues': ('lacp', 'loadbalance', 'roundrobin', 'activebackup', 'none') }, 'power.pdu': { diff --git a/confluent_server/confluent/config/configmanager.py b/confluent_server/confluent/config/configmanager.py index 36187373..a932914d 100644 --- a/confluent_server/confluent/config/configmanager.py +++ b/confluent_server/confluent/config/configmanager.py @@ -127,6 +127,7 @@ 'switchuser': 'secret.hardwaremanagementuser', 'bmcpass': 'secret.hardwaremanagementpassword', 'switchpass': 'secret.hardwaremanagementpassword', + 'net.bond_mode': 'net.team_mode' } _validroles = ['Administrator', 'Operator', 'Monitor', 'Stub']