models.create_bond_parameters module

class models.create_bond_parameters.CreateBondParameters(name=None, slaves=None, bonding_mode=None)[source]

Bases: object

Implementation of the ‘CreateBondParameters’ model.

Specifies the parameters needed to create a bond.

Attributes:
bonding_mode (BondingModeEnum): Specifies the bonding mode to use for

this bond. If not specified, this value will default to ‘kActiveBackup’. ‘kActiveBackup’ indicates active backup bonding mode. ‘k802_3ad’ indicates 802.3ad bonding mode.

name (string): Specifies a unique name to identify the bond being

created.

slaves (list of string): Specifies the names of the slaves of this

bond.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.