Bases: nova.objects.base.NovaPersistentObject, nova.objects.base.NovaObject, nova.objects.base.NovaObjectDictCompat
-
VERSION = '1.15'
-
boot_index
-
connection_info
-
create(*args, **kwargs)
-
created_at
-
delete_on_termination
-
deleted
-
deleted_at
-
destination_type
-
destroy(*args, **kwargs)
-
device_name
-
device_type
-
disk_bus
-
fields = {'instance_uuid': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'device_type': BlockDeviceType(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=('cdrom', 'disk', 'floppy', 'fs', 'lun')), 'image_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'delete_on_termination': Boolean(default=False,nullable=False), 'no_device': Boolean(default=False,nullable=False), 'deleted': Boolean(default=False,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'disk_bus': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'instance': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'guest_format': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'snapshot_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'source_type': BlockDeviceSourceType(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=('blank', 'image', 'snapshot', 'volume')), 'volume_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'destination_type': BlockDeviceDestinationType(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=('local', 'volume')), 'boot_index': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'device_name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'volume_size': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'connection_info': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
-
classmethod get_by_volume_id(context, *args, **kwargs)
-
get_image_mapping()
-
guest_format
-
id
-
image_id
-
instance
-
instance_uuid
-
is_image
-
is_root
-
is_volume
-
no_device
-
obj_load_attr(attrname)
-
obj_relationships = {'instance': [('1.0', '1.13'), ('1.2', '1.14'), ('1.3', '1.15'), ('1.4', '1.16'), ('1.5', '1.17'), ('1.6', '1.18'), ('1.8', '1.19'), ('1.9', '1.20'), ('1.13', '1.21'), ('1.14', '1.22'), ('1.15', '1.23')]}
-
save(*args, **kwargs)
-
snapshot_id
-
source_type
-
update_or_create(*args, **kwargs)
-
updated_at
-
volume_id
-
volume_size