The cinder.volume.flows.manager.manage_existing Module

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.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.