models.update_bond_parameters module

class models.update_bond_parameters.UpdateBondParameters(bonding_mode=None, name=None, lacp_rate=None, xmit_hash_policy=None)[source]

Bases: object

Implementation of the ‘UpdateBondParameters’ model.

Specifies the parameters needed to modify the bonding mode of a bond.

Attributes:
bonding_mode (BondingModeUpdateBondParametersEnum): Specifies the new

bonding mode. ‘kActiveBackup’ indicates active backup bonding mode. ‘k802_3ad’ indicates 802.3ad bonding mode.

lacp_rate (string): Specifies the LACP rate. If not specified, This

value will default to 0 (slow).

name (string): Specifies the name of the bond being updated. xmit_hash_policy (string): Specifies the xmit hash policy. If not

specified, This value will default to 1 (layer3+4).

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.