models.physical_node_configuration module¶
-
class
models.physical_node_configuration.
PhysicalNodeConfiguration
(node_id=None, node_ip=None, node_ipmi_ip=None, use_as_compute_node=None)[source]¶ Bases:
object
Implementation of the ‘PhysicalNodeConfiguration’ model.
Specifies the configuration for a node in the Cluster.
- Attributes:
node_id (long|int): Specifies the Node ID for this node. node_ip (string): Specifies the Node IP address for this node. node_ipmi_ip (string): Specifies IPMI IP for this node. use_as_compute_node (bool): Specifies whether to use the Node for
compute only.
-
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.