novaclient.v2.assisted_volume_snapshots module

Assisted volume snapshots - to be used by Cinder and not end users.

class novaclient.v2.assisted_volume_snapshots.AssistedSnapshotManager(api)

Bases: novaclient.base.Manager

create(volume_id, create_info)
delete(snapshot, delete_info)

Delete a specified assisted volume snapshot.

Parameters
  • snapshot – an assisted volume snapshot to delete

  • delete_info – Information for snapshot deletion

Returns

An instance of novaclient.base.TupleWithMeta

resource_class

alias of novaclient.v2.assisted_volume_snapshots.Snapshot

class novaclient.v2.assisted_volume_snapshots.Snapshot(manager, info, loaded=False, resp=None)

Bases: novaclient.base.Resource

Populate and bind to a manager.

Parameters
  • manager – BaseManager object

  • info – dictionary representing resource attributes

  • loaded – prevent lazy-loading if set to True

  • resp – Response or list of Response objects

delete()

Delete this snapshot.

Returns

An instance of novaclient.base.TupleWithMeta