The nova.objects.service Module

class Service(*args, **kwargs)

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

VERSION = '1.18'
availability_zone
binary
compute_node
create(*args, **kwargs)
created_at
deleted
deleted_at
destroy(*args, **kwargs)
disabled
disabled_reason
fields = {'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'compute_node': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'availability_zone': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'disabled': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'disabled_reason': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'binary': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'forced_down': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'topic': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'host': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'last_seen_up': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'report_count': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), '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), 'id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
forced_down
classmethod get_by_args(context, *args, **kwargs)
classmethod get_by_compute_host(context, *args, **kwargs)
classmethod get_by_host_and_binary(context, *args, **kwargs)
classmethod get_by_host_and_topic(context, *args, **kwargs)
classmethod get_by_id(context, *args, **kwargs)
host
id
last_seen_up
obj_load_attr(attrname)
obj_make_compatible(primitive, target_version)
obj_relationships = {'compute_node': [('1.1', '1.4'), ('1.3', '1.5'), ('1.5', '1.6'), ('1.7', '1.8'), ('1.8', '1.9'), ('1.9', '1.10'), ('1.12', '1.11'), ('1.15', '1.12'), ('1.17', '1.13'), ('1.18', '1.14')]}
report_count
save(*args, **kwargs)
topic
updated_at
version
class ServiceList(*args, **kwargs)

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

VERSION = '1.16'
fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
classmethod get_all(context, *args, **kwargs)
classmethod get_by_binary(context, *args, **kwargs)
classmethod get_by_host(context, *args, **kwargs)
classmethod get_by_topic(context, *args, **kwargs)
obj_relationships = {'objects': [('1.0', '1.2'), ('1.1', '1.3'), ('1.2', '1.4'), ('1.3', '1.5'), ('1.4', '1.6'), ('1.5', '1.7'), ('1.6', '1.8'), ('1.7', '1.9'), ('1.8', '1.10'), ('1.9', '1.11'), ('1.10', '1.12'), ('1.11', '1.13'), ('1.12', '1.14'), ('1.13', '1.15'), ('1.14', '1.16'), ('1.15', '1.17'), ('1.16', '1.18')]}
objects

Previous topic

The nova.objects.security_group_rule Module

Next topic

The nova.objects.tag Module

Project Source

This Page