Connection
(*args, **kwargs)[source]¶Bases: cinderlib.objects.Object
, cinderlib.objects.LazyVolumeAttr
Cinderlib Connection info that maps to VolumeAttachment.
On Pike we don’t have the connector field on the VolumeAttachment ORM instance so we use the connection_info to store everything.
OVO_CLASS
¶Used by autodoc_mock_imports.
SIMPLE_JSON_IGNORE
= ('volume',)¶attached
¶backend
¶conn_info
¶connected
¶connector
¶connector_info
¶device
¶path
¶protocol
¶NamedObject
(backend, **fields_data)[source]¶Bases: cinderlib.objects.Object
description
¶name
¶name_in_storage
¶Object
(backend, **fields_data)[source]¶Bases: object
Base class for our resource representation objects.
CONTEXT
¶Used by autodoc_mock_imports.
DEFAULT_FIELDS_VALUES
= {}¶LAZY_PROPERTIES
= ()¶SIMPLE_JSON_IGNORE
= ()¶backend_class
¶alias of cinderlib.cinderlib.Backend
dump
¶dumps
¶json
¶jsons
¶Snapshot
(volume, **kwargs)[source]¶Bases: cinderlib.objects.NamedObject
, cinderlib.objects.LazyVolumeAttr
DEFAULT_FIELDS_VALUES
= {'metadata': {}, 'status': 'creating'}¶OVO_CLASS
¶Used by autodoc_mock_imports.
SIMPLE_JSON_IGNORE
= ('volume',)¶Volume
(backend_or_vol, pool_name=None, **kwargs)[source]¶Bases: cinderlib.objects.NamedObject
DEFAULT_FIELDS_VALUES
= {'admin_metadata': {}, 'attach_status': 'detached', 'glance_metadata': {}, 'metadata': {}, 'project_id': <sphinx.ext.autodoc.importer._MockObject object at 0x7f8edd43f3d0>, 'size': 1, 'status': 'creating', 'user_id': <sphinx.ext.autodoc.importer._MockObject object at 0x7f8edd43f3d0>}¶LAZY_PROPERTIES
= ('snapshots', 'connections')¶OVO_CLASS
¶Used by autodoc_mock_imports.
SIMPLE_JSON_IGNORE
= ('snapshots', 'volume_attachment')¶connections
¶snapshots
¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.