The Node
class inherits from Resource
.
The base resource
_synchronized (bool) – This is not intended to be used directly. See
new()
and
existing()
.
connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow
Resource objects to be used without an active Connection, such as
in unit tests. Use of self._connection
in Resource code should
protect itself with a check for None.
The name of the node.
The ID of the physical object that backs the node.
The ID of the cluster in which this node is a member. A node is an orphan node if this field is empty.
The ID of the profile used by this node.
The domain ID of the node.
The ID of the user who created this node.
The ID of the project this node belongs to.
The name of the profile used by this node.
An integer that is unique inside the owning cluster. A value of -1 means this node is an orphan node.
A string indicating the role the node plays in a cluster.
The timestamp of the node object’s initialization. Type: datetime object parsed from ISO 8601 formatted string
The timestamp of the node’s creation, i.e. the physical object represented by this node is also created. Type: datetime object parsed from ISO 8601 formatted string
The timestamp the node was last updated. Type: datetime object parsed from ISO 8601 formatted string
A string indicating the node’s status.
A string describing why the node entered its current status.
A map containing key-value pairs attached to the node.
A map containing some runtime data for this node.
A map containing the details of the physical object this node represents
A map containing the dependency of nodes
Whether the node is tainted. Type: bool
An action procedure for the node to check its health status.
session – A session object used for sending request.
A dictionary containing the action ID.
An action procedure for the node to recover.
session – A session object used for sending request.
A dictionary containing the action ID.
Perform an operation on the specified node.
session – A session object used for sending request.
operation – A string representing the operation to be performed.
params (dict) – An optional dict providing the parameters for the operation.
A dictionary containing the action ID.
Adopt a node for management.
session – A session object used for sending request.
preview – A boolean indicating whether the adoption is a preview. A “preview” does not create the node object.
params (dict) – A dict providing the details of a node to be adopted.
Force delete a node.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.