cinderlib.cinderlib module¶
-
setup
(file_locks_path=None, root_helper='sudo', suppress_requests_ssl_warnings=True, disable_logs=True, non_uuid_ids=False, output_all_backend_info=False, project_id=None, user_id=None, persistence_config=None, fail_on_missing_backend=True, host=None, **cinder_config_params)¶
-
class
Backend
(volume_backend_name, **driver_cfg)[source]¶ Bases:
object
Representation of a Cinder Driver.
User facing attributes are:
__init__
json
jsons
load
stats
create_volume
global_setup
validate_connector
-
backends
= {}¶
-
property
config
¶
-
property
dump
¶
-
property
dumps
¶
-
global_initialization
= False¶
-
classmethod
global_setup
(file_locks_path=None, root_helper='sudo', suppress_requests_ssl_warnings=True, disable_logs=True, non_uuid_ids=False, output_all_backend_info=False, project_id=None, user_id=None, persistence_config=None, fail_on_missing_backend=True, host=None, **cinder_config_params)[source]¶
-
property
id
¶
-
property
json
¶
-
property
jsons
¶
-
property
pool_names
¶
-
validate_connector
(connector_dict)[source]¶ Raise exception if missing info for volume’s connect call.
-
property
volumes
¶