models.node_interface_pair module

class models.node_interface_pair.NodeInterfacePair(iface_name=None, node_id=None)[source]

Bases: object

Implementation of the ‘NodeInterfacePair’ model.

Specifies a node ID and interface tuple.

Attributes:

iface_name (string): Specifies the name of the interface. node_id (long|int): Specifies list of node IDs.

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.