glance.db package¶
Subpackages¶
- glance.db.registry package
- glance.db.simple package
- glance.db.sqlalchemy package
- Subpackages
- glance.db.sqlalchemy.alembic_migrations package
- Subpackages
- glance.db.sqlalchemy.alembic_migrations.data_migrations package
- glance.db.sqlalchemy.alembic_migrations.versions package
- Submodules
- glance.db.sqlalchemy.alembic_migrations.versions.liberty_initial module
- glance.db.sqlalchemy.alembic_migrations.versions.mitaka01_add_image_created_updated_idx module
- glance.db.sqlalchemy.alembic_migrations.versions.mitaka02_update_metadef_os_nova_server module
- glance.db.sqlalchemy.alembic_migrations.versions.ocata01_add_visibility_remove_is_public module
- glance.db.sqlalchemy.alembic_migrations.versions.ocata_contract01_drop_is_public module
- glance.db.sqlalchemy.alembic_migrations.versions.ocata_expand01_add_visibility module
- Module contents
- Submodules
- glance.db.sqlalchemy.alembic_migrations.add_artifacts_tables module
- glance.db.sqlalchemy.alembic_migrations.add_images_tables module
- glance.db.sqlalchemy.alembic_migrations.add_metadefs_tables module
- glance.db.sqlalchemy.alembic_migrations.add_tasks_tables module
- glance.db.sqlalchemy.alembic_migrations.env module
- Module contents
- Subpackages
- glance.db.sqlalchemy.metadef_api package
- Submodules
- glance.db.sqlalchemy.metadef_api.namespace module
- glance.db.sqlalchemy.metadef_api.object module
- glance.db.sqlalchemy.metadef_api.property module
- glance.db.sqlalchemy.metadef_api.resource_type module
- glance.db.sqlalchemy.metadef_api.resource_type_association module
- glance.db.sqlalchemy.metadef_api.tag module
- glance.db.sqlalchemy.metadef_api.utils module
- Module contents
- glance.db.sqlalchemy.migrate_repo package
- Subpackages
- glance.db.sqlalchemy.migrate_repo.versions package
- Submodules
- glance.db.sqlalchemy.migrate_repo.versions.001_add_images_table module
- glance.db.sqlalchemy.migrate_repo.versions.002_add_image_properties_table module
- glance.db.sqlalchemy.migrate_repo.versions.003_add_disk_format module
- glance.db.sqlalchemy.migrate_repo.versions.004_add_checksum module
- glance.db.sqlalchemy.migrate_repo.versions.005_size_big_integer module
- glance.db.sqlalchemy.migrate_repo.versions.006_key_to_name module
- glance.db.sqlalchemy.migrate_repo.versions.007_add_owner module
- glance.db.sqlalchemy.migrate_repo.versions.008_add_image_members_table module
- glance.db.sqlalchemy.migrate_repo.versions.009_add_mindisk_and_minram module
- glance.db.sqlalchemy.migrate_repo.versions.010_default_update_at module
- glance.db.sqlalchemy.migrate_repo.versions.011_make_mindisk_and_minram_notnull module
- glance.db.sqlalchemy.migrate_repo.versions.012_id_to_uuid module
- glance.db.sqlalchemy.migrate_repo.versions.013_add_protected module
- glance.db.sqlalchemy.migrate_repo.versions.014_add_image_tags_table module
- glance.db.sqlalchemy.migrate_repo.versions.015_quote_swift_credentials module
- glance.db.sqlalchemy.migrate_repo.versions.016_add_status_image_member module
- glance.db.sqlalchemy.migrate_repo.versions.017_quote_encrypted_swift_credentials module
- glance.db.sqlalchemy.migrate_repo.versions.018_add_image_locations_table module
- glance.db.sqlalchemy.migrate_repo.versions.019_migrate_image_locations module
- glance.db.sqlalchemy.migrate_repo.versions.020_drop_images_table_location module
- glance.db.sqlalchemy.migrate_repo.versions.021_set_engine_mysql_innodb module
- glance.db.sqlalchemy.migrate_repo.versions.022_image_member_index module
- glance.db.sqlalchemy.migrate_repo.versions.023_placeholder module
- glance.db.sqlalchemy.migrate_repo.versions.024_placeholder module
- glance.db.sqlalchemy.migrate_repo.versions.025_placeholder module
- glance.db.sqlalchemy.migrate_repo.versions.026_add_location_storage_information module
- glance.db.sqlalchemy.migrate_repo.versions.027_checksum_index module
- glance.db.sqlalchemy.migrate_repo.versions.028_owner_index module
- glance.db.sqlalchemy.migrate_repo.versions.029_location_meta_data_pickle_to_string module
- glance.db.sqlalchemy.migrate_repo.versions.030_add_tasks_table module
- glance.db.sqlalchemy.migrate_repo.versions.031_remove_duplicated_locations module
- glance.db.sqlalchemy.migrate_repo.versions.032_add_task_info_table module
- glance.db.sqlalchemy.migrate_repo.versions.033_add_location_status module
- glance.db.sqlalchemy.migrate_repo.versions.034_add_virtual_size module
- glance.db.sqlalchemy.migrate_repo.versions.035_add_metadef_tables module
- glance.db.sqlalchemy.migrate_repo.versions.036_rename_metadef_schema_columns module
- glance.db.sqlalchemy.migrate_repo.versions.037_add_changes_to_satisfy_models module
- glance.db.sqlalchemy.migrate_repo.versions.038_add_metadef_tags_table module
- glance.db.sqlalchemy.migrate_repo.versions.039_add_changes_to_satisfy_models_metadef module
- glance.db.sqlalchemy.migrate_repo.versions.040_add_changes_to_satisfy_metadefs_tags module
- glance.db.sqlalchemy.migrate_repo.versions.041_add_artifact_tables module
- glance.db.sqlalchemy.migrate_repo.versions.042_add_changes_to_reinstall_unique_metadef_constraints module
- glance.db.sqlalchemy.migrate_repo.versions.043_add_image_created_updated_idx module
- glance.db.sqlalchemy.migrate_repo.versions.044_update_metadef_os_nova_server module
- glance.db.sqlalchemy.migrate_repo.versions.045_add_visibility module
- Module contents
- glance.db.sqlalchemy.migrate_repo.versions package
- Submodules
- glance.db.sqlalchemy.migrate_repo.manage module
- glance.db.sqlalchemy.migrate_repo.schema module
- Module contents
- Subpackages
- glance.db.sqlalchemy.alembic_migrations package
- Submodules
- glance.db.sqlalchemy.api module
- glance.db.sqlalchemy.glare module
- glance.db.sqlalchemy.metadata module
- glance.db.sqlalchemy.models module
- glance.db.sqlalchemy.models_glare module
- glance.db.sqlalchemy.models_metadef module
- Module contents
- Subpackages
Submodules¶
glance.db.metadata module¶
Metadata setup commands.
glance.db.migration module¶
Database setup and migration commands.
glance.db.utils module¶
Module contents¶
-
class
glance.db.
ArtifactRepo
(context, db_api, plugins)[source]¶ Bases:
object
-
fields
= ['id', 'name', 'version', 'type_name', 'type_version', 'visibility', 'state', 'owner', 'scope', 'created_at', 'updated_at', 'tags', 'dependencies', 'blobs', 'properties']¶
-
get
(artifact_id, type_name=None, type_version=None, show_level=None, include_deleted=False)[source]¶
-
-
class
glance.db.
ImageProxy
(image, context, db_api)[source]¶ Bases:
glance.domain.proxy.Image
-
class
glance.db.
ImageRepo
(context, db_api)[source]¶ Bases:
object