The Node class inherits from Resource.
openstack.cluster.v1.node.Node(_synchronized=False, **attrs)¶The base resource
| Parameters: | _synchronized (bool) – This is not intended to be used directly.
See new() and
existing(). |
|---|
name = None¶The name of the node.
physical_id = None¶The ID of the physical object that backs the node.
cluster_id = None¶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 = None¶The ID of the profile used by this node.
domain_id = None¶The domain ID of the node.
user_id = None¶The ID of the user who created this node.
project_id = None¶The ID of the project this node belongs to.
profile_name = None¶The name of the profile used by this node.
index = None¶An integer that is unique inside the owning cluster. A value of -1 means this node is an orphan node.
role = None¶A string indicating the role the node plays in a cluster.
init_at = None¶The timestamp of the node object’s initialization. Type: datetime object parsed from ISO 8601 formatted string
created_at = None¶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 = None¶The timestamp the node was last updated. Type: datetime object parsed from ISO 8601 formatted string
status = None¶A string indicating the node’s status.
status_reason = None¶A string describing why the node entered its current status.
metadata = None¶A map containing key-value pairs attached to the node.
data = None¶A map containing some runtime data for this node.
details = None¶A map containing the details of the physical object this node represents
dependents = None¶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: |
|
|---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.