models.bond_slave_info module

class models.bond_slave_info.BondSlaveInfo(link_state=None, mac_addr=None, name=None, slot=None, speed=None, uplink_switch_info=None)[source]

Bases: object

Implementation of the ‘BondSlaveInfo’ model.

Specifies the AMQP target config.

Attributes:

link_state (string): Bond slave link state. mac_addr (string): Mac address of the bond slave interface. name (string): Bond slave name. slot (string): Bond slaves slot info. speed (string): Bond slave Speed. uplink_switch_info (UplinkSwitchInfo): Bond slave uplink switch info.

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.