models.node_network_interfaces module

class models.node_network_interfaces.NodeNetworkInterfaces(chassis_serial=None, interfaces=None, message=None, node_id=None, node_ip=None, slot=None)[source]

Bases: object

Implementation of the ‘NodeNetworkInterfaces’ model.

Specifies the network interfaces present on a specific Node in a Cluster.

Attributes:

chassis_serial (string): Specifies the serial number of Chassis. interfaces (list of NetworkInterface): Specifies the list of network

interfaces present on this Node.

message (string): Specifies an optional message describing the result

of the request pertaining to this Node.

node_id (long|int): Specifies the ID of the Node. node_ip (string): Specifies the IP of the Node. slot (long|int): Specifies the slot number the Node is located in.

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.