The cinder.volume.flows.manager.manage_existing
Module¶
-
class
ManageExistingTask
(db, driver)¶ Bases:
cinder.flow_utils.CinderTask
Brings an existing volume under Cinder management.
-
default_provides
= set([‘volume’])¶
-
execute
(context, volume, manage_existing_ref, size)¶
-
-
class
PrepareForQuotaReservationTask
(db, driver)¶ Bases:
cinder.flow_utils.CinderTask
Gets the volume size from the driver.
-
default_provides
= set([‘volume_type_id’, ‘volume_properties’, ‘volume_spec’, ‘size’])¶
-
execute
(context, volume, manage_existing_ref)¶
-
revert
(context, result, flow_failures, volume, **kwargs)¶
-
-
get_flow
(context, db, driver, host, volume, ref)¶ Constructs and returns the manager entrypoint flow.