glance.db.simple.api Module¶glance.db.simple.api.clear_db_env(*args, **kwargs)[source]¶Setup global environment configuration variables.
We have no connection-oriented environment variables, so this is a NOOP.
glance.db.simple.api.image_member_count(*args, **kwargs)[source]¶Return the number of image members for this image
| Parameters: | image_id – identifier of image entity |
|---|
glance.db.simple.api.metadef_namespace_delete_content(*args, **kwargs)[source]¶Delete a namespace content
glance.db.simple.api.metadef_object_count(*args, **kwargs)[source]¶Get metadef object count in a namespace
glance.db.simple.api.metadef_object_delete_namespace_content(context, namespace_name, session=None)[source]¶Delete an object or raise if namespace or object doesn’t exist.
glance.db.simple.api.metadef_property_count(*args, **kwargs)[source]¶Get properties count in a namespace
glance.db.simple.api.metadef_property_delete_namespace_content(context, namespace_name, session=None)[source]¶Delete a property or raise if it or namespace doesn’t exist.
glance.db.simple.api.metadef_property_get_all(*args, **kwargs)[source]¶Get a metadef properties list
glance.db.simple.api.metadef_resource_type_association_get_all_by_namespace(*args, **kwargs)[source]¶glance.db.simple.api.metadef_resource_type_create(*args, **kwargs)[source]¶Create a metadef resource type
glance.db.simple.api.metadef_resource_type_get_all(*args, **kwargs)[source]¶List all resource types
glance.db.simple.api.metadef_tag_count(*args, **kwargs)[source]¶Get metadef tag count in a namespace
Create a metadef tag
glance.db.simple.api.metadef_tag_delete_namespace_content(context, namespace_name, session=None)[source]¶Delete an tag or raise if namespace or tag doesn’t exist.
glance.db.simple.api.task_get_all(*args, **kwargs)[source]¶Get all tasks that match zero or more filters.
| Parameters: |
|
|---|---|
| Returns: | tasks set |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.