Bases: ironicclient.common.base.CreateManager
Retrieve a list of nodes.
| Parameters: |
|
|---|---|
| Returns: | A list of nodes. |
List all the ports for a given node.
| Parameters: |
|
|---|---|
| Returns: | A list of ports. |
Set the console mode for the node.
| Parameters: |
|
|---|
Set the maintenance mode for the node.
| Parameters: |
|
|---|---|
| Raises: | InvalidAttribute if state is an invalid string (that doesn’t represent a Boolean). |
Sets power state for a node.
| Parameters: |
|
|---|---|
| Raises: | ValueError if ‘soft’ or ‘timeout’ option is invalid |
| Returns: | The status of the request |
Set the provision state for the node.
| Parameters: |
|
|---|---|
| Raises: | InvalidAttribute if there was an error with the clean steps |
| Returns: | The status of the request |
Sets target_raid_config for a node.
| Parameters: |
|
|---|---|
| Returns: | status of the request |
Issue requests for vendor-specific actions on a given node.
| Parameters: |
|
|---|
Attach VIF to a given node.
param node_ident: The UUID or Name of the node. param vif_id: The UUID or Name of the VIF to attach. :param kwargs: A dictionary containing the attributes of the resource
that will be created.
Detach VIF from a given node.
param node_ident: The UUID or Name of the node. param vif_id: The UUID or Name of the VIF to detach.
List VIFs attached to a given node.
| Parameters: | node_ident – The UUID or Name of the node. |
|---|
Helper function to wait for a node to reach a given state.
Polls Ironic API in a loop until node gets to a requested state.
Fails in the following cases: * Timeout (if provided) is reached * Node’s last_error gets set to a non-empty value * Unexpected stable state is reached and fail_on_unexpected_state is on * Error state is reached (if it’s not equal to expected_state)
| Parameters: |
|
|---|---|
| Raises: | StateTransitionFailed if node reached an error state |
| Raises: | StateTransitionTimeout on timeout |