None
Bases: ironic.drivers.base.StorageInterface
No-op Storage Interface.
NoopStorage.
attach_volumes
(task)[source]¶Informs the storage subsystem to attach all volumes for the node.
Parameters: | task – A TaskManager instance. |
---|---|
Raises: | UnsupportedDriverExtension |
NoopStorage.
detach_volumes
(task)[source]¶Informs the storage subsystem to detach all volumes for the node.
Parameters: | task – A TaskManager instance. |
---|---|
Raises: | UnsupportedDriverExtension |
NoopStorage.
get_properties
()[source]¶Return the properties of the interface.
Returns: | dictionary of <property name>:<property description> entries. |
---|
NoopStorage.
should_write_image
(task)[source]¶Determines if deploy should perform the image write-out.
Parameters: | task – A TaskManager instance. |
---|---|
Returns: | Boolean value to indicate if the interface expects the image to be written by Ironic. |
Raises: | UnsupportedDriverExtension |
NoopStorage.
validate
(task)[source]¶Validate the driver-specific Node deployment info.
This method validates whether the ‘driver_info’ and/or ‘instance_info’ properties of the task’s node contains the required information for this interface to function.
This method is often executed synchronously in API requests, so it should not conduct long-running checks.
Parameters: | task – A TaskManager instance containing the node to act on. |
---|---|
Raises: | InvalidParameterValue on malformed parameter(s) |
Raises: | MissingParameterValue on missing parameter(s) |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.