The Node
class inherits from Resource
.
openstack.clustering.v1.node.
Node
(_synchronized=False, connection=None, **attrs)¶The base resource
Parameters: |
|
---|
name
¶The name of the node.
physical_id
¶The ID of the physical object that backs the node.
cluster_id
¶The ID of the cluster in which this node is a member. A node is an orphan node if this field is empty.
profile_id
¶The ID of the profile used by this node.
domain_id
¶The domain ID of the node.
user_id
¶The ID of the user who created this node.
project_id
¶The ID of the project this node belongs to.
profile_name
¶The name of the profile used by this node.
index
¶An integer that is unique inside the owning cluster. A value of -1 means this node is an orphan node.
role
¶A string indicating the role the node plays in a cluster.
init_at
¶The timestamp of the node object’s initialization. Type: datetime object parsed from ISO 8601 formatted string
created_at
¶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
updated_at
¶The timestamp the node was last updated. Type: datetime object parsed from ISO 8601 formatted string
status
¶A string indicating the node’s status.
status_reason
¶A string describing why the node entered its current status.
metadata
¶A map containing key-value pairs attached to the node.
data
¶A map containing some runtime data for this node.
details
¶A map containing the details of the physical object this node represents
dependents
¶A map containing the dependency of nodes
check
(session, **params)¶An action procedure for the node to check its health status.
Parameters: | session – A session object used for sending request. |
---|---|
Returns: | A dictionary containing the action ID. |
recover
(session, **params)¶An action procedure for the node to recover.
Parameters: | session – A session object used for sending request. |
---|---|
Returns: | A dictionary containing the action ID. |
op
(session, operation, **params)¶Perform an operation on the specified node.
Parameters: |
|
---|---|
Returns: | A dictionary containing the action ID. |
adopt
(session, preview=False, **params)¶Adopt a node for management.
Parameters: |
|
---|
force_delete
(session)¶Force delete a node.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.