models_v2.node_interfaces module

class models_v2.node_interfaces.NodeInterfaces(id=None, interfaces=None)[source]

Bases: object

Implementation of the ‘Node Interfaces’ model.

Specifies the interfaces present on a Node.

Attributes:

id (long|int): Specifies the id of the node. interfaces (list of NetworkInterface): Specifies the list of network

interfaces present on this Node.

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.