cinder.db package¶
Submodules¶
- cinder.db.api module
apply_like_filters()attachment_destroy()attachment_specs_delete()attachment_specs_exist()attachment_specs_get()attachment_specs_update_or_create()authorize_project_context()authorize_quota_class_context()authorize_user_context()backup_create()backup_destroy()backup_get()backup_get_all()backup_get_all_active_by_window()backup_get_all_by_host()backup_get_all_by_project()backup_get_all_by_volume()backup_metadata_get()backup_metadata_update()backup_update()calculate_resource_count()cg_creating_from_src()cg_has_cgsnapshot_filter()cg_has_volumes_filter()cgsnapshot_create()cgsnapshot_creating_from_src()cgsnapshot_destroy()cgsnapshot_get()cgsnapshot_get_all()cgsnapshot_get_all_by_group()cgsnapshot_get_all_by_project()cgsnapshot_update()cleanup_expired_messages()cluster_create()cluster_destroy()cluster_get()cluster_get_all()cluster_update()conditional_update()configure()consistencygroup_create()consistencygroup_destroy()consistencygroup_get()consistencygroup_get_all()consistencygroup_get_all_by_project()consistencygroup_include_in_cluster()consistencygroup_update()dispose_engine()driver_initiator_data_get()driver_initiator_data_insert_by_key()get_all_projects_with_default_type()get_booleans_for_table()get_by_id()get_engine()get_model_for_versioned_object()get_projects()get_snapshot_summary()get_volume_summary()group_create()group_creating_from_src()group_destroy()group_get()group_get_all()group_get_all_by_project()group_has_group_snapshot_filter()group_has_volumes_filter()group_include_in_cluster()group_snapshot_create()group_snapshot_creating_from_src()group_snapshot_destroy()group_snapshot_get()group_snapshot_get_all()group_snapshot_get_all_by_group()group_snapshot_get_all_by_project()group_snapshot_update()group_type_access_add()group_type_access_get_all()group_type_access_remove()group_type_create()group_type_destroy()group_type_get()group_type_get_all()group_type_get_by_name()group_type_specs_delete()group_type_specs_get()group_type_specs_update_or_create()group_type_update()group_types_get_by_name_or_id()group_update()group_volume_type_mapping_create()handle_db_data_error()image_volume_cache_create()image_volume_cache_delete()image_volume_cache_get_all()image_volume_cache_get_and_update_last_used()image_volume_cache_get_by_volume_id()image_volume_cache_include_in_cluster()is_admin_context()is_backend_frozen()is_orm_value()is_user_context()is_valid_model_filters()message_create()message_destroy()message_get()message_get_all()model_query()process_sort_params()project_default_volume_type_get()project_default_volume_type_set()project_default_volume_type_unset()purge_deleted_rows()qos_specs_associate()qos_specs_associations_get()qos_specs_create()qos_specs_delete()qos_specs_disassociate()qos_specs_disassociate_all()qos_specs_get()qos_specs_get_all()qos_specs_get_by_name()qos_specs_item_delete()qos_specs_update()quota_class_create()quota_class_destroy()quota_class_destroy_all_by_name()quota_class_get()quota_class_get_all_by_name()quota_class_get_defaults()quota_class_update()quota_class_update_resource()quota_create()quota_destroy()quota_destroy_all_by_project()quota_destroy_by_project()quota_get()quota_get_all_by_project()quota_reserve()quota_update()quota_update_resource()quota_usage_get()quota_usage_get_all_by_project()quota_usage_update_resource()remove_temporary_admin_metadata_data_migration()require_admin_context()require_backup_exists()require_context()require_qos_specs_exists()require_snapshot_exists()require_volume_exists()reservation_commit()reservation_expire()reservation_rollback()reset_active_backend()resource_exists()service_create()service_destroy()service_get()service_get_all()service_get_by_uuid()service_update()snapshot_create()snapshot_data_get_for_project()snapshot_destroy()snapshot_get()snapshot_get_all()snapshot_get_all_active_by_window()snapshot_get_all_by_host()snapshot_get_all_by_project()snapshot_get_all_for_cgsnapshot()snapshot_get_all_for_group_snapshot()snapshot_get_all_for_volume()snapshot_get_latest_for_volume()snapshot_metadata_delete()snapshot_metadata_get()snapshot_metadata_update()snapshot_update()transfer_accept()transfer_create()transfer_destroy()transfer_get()transfer_get_all()transfer_get_all_by_project()volume_admin_metadata_delete()volume_admin_metadata_get()volume_admin_metadata_update()volume_attach()volume_attached()volume_attachment_get()volume_attachment_get_all()volume_attachment_get_all_by_host()volume_attachment_get_all_by_instance_uuid()volume_attachment_get_all_by_project()volume_attachment_get_all_by_volume_id()volume_attachment_update()volume_create()volume_data_get_for_host()volume_data_get_for_project()volume_destroy()volume_detached()volume_encryption_metadata_get()volume_get()volume_get_all()volume_get_all_active_by_window()volume_get_all_by_generic_group()volume_get_all_by_group()volume_get_all_by_host()volume_get_all_by_project()volume_glance_metadata_bulk_create()volume_glance_metadata_copy_from_volume_to_volume()volume_glance_metadata_copy_to_snapshot()volume_glance_metadata_copy_to_volume()volume_glance_metadata_create()volume_glance_metadata_delete_by_snapshot()volume_glance_metadata_delete_by_volume()volume_glance_metadata_get()volume_glance_metadata_get_all()volume_glance_metadata_list_get()volume_has_attachments_filter()volume_has_other_project_snp_filter()volume_has_snapshots_filter()volume_has_snapshots_in_a_cgsnapshot_filter()volume_has_undeletable_snapshots_filter()volume_include_in_cluster()volume_metadata_delete()volume_metadata_get()volume_metadata_update()volume_qos_allows_retype()volume_snapshot_glance_metadata_get()volume_type_access_add()volume_type_access_get_all()volume_type_access_remove()volume_type_create()volume_type_destroy()volume_type_encryption_create()volume_type_encryption_delete()volume_type_encryption_get()volume_type_encryption_update()volume_type_encryption_volume_get()volume_type_extra_specs_delete()volume_type_extra_specs_get()volume_type_extra_specs_update_or_create()volume_type_get()volume_type_get_all()volume_type_get_all_by_group()volume_type_get_by_name()volume_type_qos_associate()volume_type_qos_associations_get()volume_type_qos_disassociate()volume_type_qos_disassociate_all()volume_type_qos_specs_get()volume_type_update()volume_types_get_by_name_or_id()volume_update()volume_update_all_by_service()volume_update_status_based_on_attachment()volumes_update()worker_claim_for_cleanup()worker_create()worker_destroy()worker_get()worker_get_all()worker_update()
- cinder.db.base module
- cinder.db.migration module
- cinder.db.models module
AttachmentSpecsBackupBackup.availability_zoneBackup.containerBackup.created_atBackup.data_timestampBackup.deletedBackup.deleted_atBackup.display_descriptionBackup.display_nameBackup.encryption_key_idBackup.fail_reasonBackup.hostBackup.idBackup.nameBackup.num_dependent_backupsBackup.object_countBackup.parent_idBackup.project_idBackup.restore_volume_idBackup.serviceBackup.service_metadataBackup.sizeBackup.snapshot_idBackup.statusBackup.temp_snapshot_idBackup.temp_volume_idBackup.updated_atBackup.user_idBackup.validate_fail_reason()Backup.volume_id
BackupMetadataCGSnapshotCinderBaseClusterCluster.active_backend_idCluster.binaryCluster.created_atCluster.delete_values()Cluster.deletedCluster.deleted_atCluster.disabledCluster.disabled_reasonCluster.frozenCluster.idCluster.last_heartbeatCluster.nameCluster.num_down_hostsCluster.num_hostsCluster.race_preventerCluster.replication_statusCluster.updated_at
ConsistencyGroupConsistencyGroup.availability_zoneConsistencyGroup.cgsnapshot_idConsistencyGroup.cluster_nameConsistencyGroup.created_atConsistencyGroup.deletedConsistencyGroup.deleted_atConsistencyGroup.descriptionConsistencyGroup.hostConsistencyGroup.idConsistencyGroup.nameConsistencyGroup.project_idConsistencyGroup.source_cgidConsistencyGroup.statusConsistencyGroup.updated_atConsistencyGroup.user_idConsistencyGroup.volume_type_id
DefaultVolumeTypesDriverInitiatorDataEncryptionGroupGroupSnapshotGroupTypeGroupTypeProjectsGroupTypeSpecsGroupVolumeTypeMappingImageVolumeCacheEntryMessageQualityOfServiceSpecsQuotaQuotaClassQuotaUsageReservationServiceService.active_backend_idService.availability_zoneService.binaryService.clusterService.cluster_nameService.created_atService.deletedService.deleted_atService.disabledService.disabled_reasonService.frozenService.hostService.idService.modified_atService.object_current_versionService.replication_statusService.report_countService.rpc_current_versionService.topicService.updated_atService.uuid
SnapshotSnapshot.cgsnapshotSnapshot.cgsnapshot_idSnapshot.created_atSnapshot.deletedSnapshot.deleted_atSnapshot.display_descriptionSnapshot.display_nameSnapshot.encryption_key_idSnapshot.group_snapshotSnapshot.group_snapshot_idSnapshot.idSnapshot.nameSnapshot.progressSnapshot.project_idSnapshot.provider_authSnapshot.provider_idSnapshot.provider_locationSnapshot.scheduled_atSnapshot.statusSnapshot.updated_atSnapshot.use_quotaSnapshot.user_idSnapshot.volumeSnapshot.volume_idSnapshot.volume_nameSnapshot.volume_sizeSnapshot.volume_type_id
SnapshotMetadataTransferVolumeVolume.attach_statusVolume.availability_zoneVolume.bootableVolume.cluster_nameVolume.consistencygroupVolume.consistencygroup_idVolume.created_atVolume.deletedVolume.deleted_atVolume.display_descriptionVolume.display_nameVolume.ec2_idVolume.encryption_key_idVolume.groupVolume.group_idVolume.hostVolume.idVolume.launched_atVolume.migration_statusVolume.multiattachVolume.nameVolume.name_idVolume.previous_statusVolume.project_idVolume.provider_authVolume.provider_geometryVolume.provider_idVolume.provider_locationVolume.replication_driver_dataVolume.replication_extended_statusVolume.replication_statusVolume.scheduled_atVolume.serviceVolume.service_uuidVolume.shared_targetsVolume.sizeVolume.snapshot_idVolume.source_volidVolume.statusVolume.terminated_atVolume.updated_atVolume.use_quotaVolume.user_idVolume.volume_type_id
VolumeAdminMetadataVolumeAttachmentVolumeAttachment.attach_modeVolumeAttachment.attach_statusVolumeAttachment.attach_timeVolumeAttachment.attached_hostVolumeAttachment.connection_infoVolumeAttachment.connectorVolumeAttachment.created_atVolumeAttachment.delete_values()VolumeAttachment.deletedVolumeAttachment.deleted_atVolumeAttachment.detach_timeVolumeAttachment.idVolumeAttachment.instance_uuidVolumeAttachment.mountpointVolumeAttachment.updated_atVolumeAttachment.volumeVolumeAttachment.volume_id
VolumeGlanceMetadataVolumeMetadataVolumeTypeVolumeTypeExtraSpecsVolumeTypeProjectsWorker
- cinder.db.utils module
Module contents¶
DB abstraction for Cinder