glance.domain package¶
Submodules¶
- glance.domain.proxy module
Helper
Image
Image.checksum
Image.container_format
Image.created_at
Image.deactivate()
Image.delete()
Image.disk_format
Image.extra_properties
Image.get_data()
Image.image_id
Image.locations
Image.member
Image.min_disk
Image.min_ram
Image.name
Image.os_hash_algo
Image.os_hash_value
Image.os_hidden
Image.owner
Image.protected
Image.reactivate()
Image.set_data()
Image.size
Image.status
Image.tags
Image.updated_at
Image.virtual_size
Image.visibility
ImageFactory
ImageMember
ImageMembershipFactory
MemberRepo
MetadefNamespace
MetadefNamespaceFactory
MetadefNamespaceRepo
MetadefObject
MetadefObjectFactory
MetadefObjectRepo
MetadefProperty
MetadefPropertyFactory
MetadefPropertyRepo
MetadefResourceType
MetadefResourceTypeFactory
MetadefResourceTypeRepo
MetadefTag
MetadefTagFactory
MetadefTagRepo
Repo
Task
TaskFactory
TaskRepo
TaskStub
TaskStubRepo
Module contents¶
- class glance.domain.Image(image_id, status, created_at, updated_at, **kwargs)[source]¶
Bases:
object
- property container_format¶
- property disk_format¶
- property min_disk¶
- property min_ram¶
- property status¶
- property tags¶
- valid_state_targets = {'active': ('pending_delete', 'deleted', 'deactivated'), 'deactivated': ('active', 'deleted'), 'deleted': (), 'importing': ('active', 'deleted', 'queued'), 'killed': ('deleted',), 'pending_delete': ('deleted', 'active'), 'queued': ('saving', 'uploading', 'importing', 'active', 'deleted'), 'saving': ('active', 'killed', 'deleted', 'queued'), 'uploading': ('importing', 'queued', 'deleted')}¶
- property visibility¶
- class glance.domain.ImageMembership(image_id, member_id, created_at, updated_at, id=None, status=None)[source]¶
Bases:
object
- property status¶
- class glance.domain.MetadefNamespace(namespace_id, namespace, display_name, description, owner, visibility, protected, created_at, updated_at)[source]¶
Bases:
object
- class glance.domain.MetadefObject(namespace, object_id, name, created_at, updated_at, required, description, properties)[source]¶
Bases:
object
- class glance.domain.MetadefResourceType(namespace, name, prefix, properties_target, created_at, updated_at)[source]¶
Bases:
object
- class glance.domain.MetadefTag(namespace, tag_id, name, created_at, updated_at)[source]¶
Bases:
object
- class glance.domain.Task(task_id, task_type, status, owner, image_id, user_id, request_id, expires_at, created_at, updated_at, task_input, result, message)[source]¶
Bases:
object
- property message¶
- property status¶
- class glance.domain.TaskExecutorFactory(task_repo, image_repo, image_factory, admin_repo=None)[source]¶
Bases:
object
- eventlet_deprecation_warned = False¶