Bases: IronicObject
, VersionedObjectDictCompat
Create a VolumeConnector record in the DB.
context – security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: VolumeConnector(context).
VolumeConnectorTypeAndIdAlreadyExists if a volume connector already exists with the same type and connector_id
VolumeConnectorAlreadyExists if a volume connector with the same UUID already exists
Delete the VolumeConnector from the DB.
context – security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: VolumeConnector(context).
VolumeConnectorNotFound if the volume connector cannot be found
Find a volume connector based on its ID or UUID.
context – security context
ident – the database primary key ID or the UUID of a volume connector
a VolumeConnector
object
InvalidIdentity if ident is neither an integer ID nor a UUID
VolumeConnectorNotFound if no volume connector exists with the specified ident
Find a volume connector based on its integer ID.
cls – the VolumeConnector
context – Security context.
db_id – The integer (database primary key) ID of a volume connector.
A VolumeConnector
object.
VolumeConnectorNotFound if no volume connector exists with the specified ID.
Find a volume connector based on its UUID.
cls – the VolumeConnector
context – security context
uuid – the UUID of a volume connector
a VolumeConnector
object
VolumeConnectorNotFound if no volume connector exists with the specified UUID
Return a list of VolumeConnector objects.
context – security context
limit – maximum number of resources to return in a single result
marker – pagination marker for large data sets
sort_key – column to sort results by
sort_dir – direction to sort. “asc” or “desc”.
project – The associated node project to search with.
a list of VolumeConnector
objects
InvalidParameterValue if sort_key does not exist
Return a list of VolumeConnector objects related to a given node ID.
context – security context
node_id – the integer ID of the node
limit – maximum number of resources to return in a single result
marker – pagination marker for large data sets
sort_key – column to sort results by
sort_dir – direction to sort. “asc” or “desc”.
project – The associated node project to search with.
a list of VolumeConnector
objects
a list of VolumeConnector
objects
InvalidParameterValue if sort_key does not exist
Load updates for this VolumeConnector.
Load a volume connector with the same UUID from the database and check for updated attributes. If there are any updates, they are applied from the loaded volume connector, column by column.
context – security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: VolumeConnector(context).
Save updates to this VolumeConnector.
Updates will be made column by column based on the result of self.do_version_changes_for_db().
context – security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: VolumeConnector(context).
VolumeConnectorNotFound if the volume connector cannot be found
VolumeConnectorTypeAndIdAlreadyExists if another connector already exists with the same values for type and connector_id fields
InvalidParameterValue when the UUID is being changed
Bases: NotificationBase
Notification emitted at CRUD of a volume connector.
Bases: NotificationPayloadBase
Payload schema for CRUD of a volume connector.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.