models.node_status module

class models.node_status.NodeStatus(error_message=None, ipmi_ip=None, node_id=None, node_ip=None)[source]

Bases: object

Implementation of the ‘NodeStatus’ model.

Specifies the status of each node in the cluster being created.

Attributes:
error_message (string): Specifies an optional message relating to the

node status.

ipmi_ip (string): Specifies the IPMI IP of the node (if physical

cluster).

node_id (long|int): Specifies the ID of the node. node_ip (string): For physical nodes this will specify the IP address

of the 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.