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). |
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: |
|
|---|
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 |