glance_store._drivers.cinder Moduleglance_store._drivers.cinder Module¶Storage backend for Cinder
glance_store._drivers.cinder.Store(*args, **kargs)¶Bases: glance_store.driver.Store
Cinder backend store adapter.
EXAMPLE_URL = ‘cinder://<VOLUME_ID>’¶OPTIONS = [<oslo_config.cfg.StrOpt object>, <oslo_config.cfg.StrOpt object>, <oslo_config.cfg.StrOpt object>, <oslo_config.cfg.StrOpt object>, <oslo_config.cfg.IntOpt object>, <oslo_config.cfg.IntOpt object>, <oslo_config.cfg.BoolOpt object>, <oslo_config.cfg.StrOpt object>, <oslo_config.cfg.StrOpt object>, <oslo_config.cfg.StrOpt object>, <oslo_config.cfg.StrOpt object>, <oslo_config.cfg.StrOpt object>, <oslo_config.cfg.StrOpt object>]¶add(store, *args, **kwargs)¶delete(store, *args, **kwargs)¶get(store, *args, **kwargs)¶get_schemes()¶get_size(location, context=None)¶Takes a glance_store.location.Location object that indicates where to find the image file and returns the image size
| Parameters: | location – glance_store.location.Location object, supplied from glance_store.location.get_location_from_uri() |
|---|---|
| Raises: | glance_store.exceptions.NotFound if image does not exist |
| Return type: | int |
glance_store._drivers.cinder.StoreLocation(store_specs, conf)¶Bases: glance_store.location.StoreLocation
Class describing a Cinder URI.
get_uri()¶parse_uri(uri)¶process_specs()¶glance_store._drivers.cinder.get_cinderclient(conf, context=None)¶glance_store._drivers.cinder.get_root_helper()¶glance_store._drivers.cinder.is_user_overriden(conf)¶glance_store._drivers.cinder.temporary_chown(*args, **kwds)¶
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.