The nova.objects.aggregate Module

class Aggregate(context=None, **kwargs)

Bases: nova.objects.base.NovaPersistentObject, nova.objects.base.NovaObject, nova.objects.base.NovaObjectDictCompat

VERSION = '1.1'
add_host(*args, **kwargs)
availability_zone
create(*args, **kwargs)
created_at
delete_host(*args, **kwargs)
deleted
deleted_at
destroy(*args, **kwargs)
fields = {'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'metadata': Dict(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'hosts': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted': Boolean(default=False,nullable=False), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
classmethod get_by_id(context, *args, **kwargs)
hosts
id
metadata
name
obj_extra_fields = ['availability_zone']
save(*args, **kwargs)
update_metadata(*args, **kwargs)
updated_at
class AggregateList(*args, **kwargs)

Bases: nova.objects.base.ObjectListBase, nova.objects.base.NovaObject

VERSION = '1.2'
fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
classmethod get_all(context, *args, **kwargs)
classmethod get_by_host(context, *args, **kwargs)
classmethod get_by_metadata_key(context, *args, **kwargs)
obj_relationships = {'objects': [('1.0', '1.1'), ('1.1', '1.1'), ('1.2', '1.1')]}
objects

Previous topic

The nova.objects.agent Module

Next topic

The nova.objects.bandwidth_usage Module

Project Source

This Page