models_v2.cluster_interfaces module

class models_v2.cluster_interfaces.ClusterInterfaces(nodes=None)[source]

Bases: object

Implementation of the ‘Cluster Interfaces’ model.

Specifies the interfaces present on a Cluster grouped by the Node where they are present.

Attributes:
nodes (list of NodeInterfaces): Specifies the list of nodes present in

the cluster. If the request was sent to a free node, then this list will have exactly one entry.

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.