The karbor.objects.service Module

class karbor.objects.service.Service(context=None, **kwargs)

Bases: karbor.objects.base.KarborPersistentObject, karbor.objects.base.KarborObject, karbor.objects.base.KarborObjectDictCompat, karbor.objects.base.KarborComparableObject

VERSION = '1.0'
binary
create(*args, **kwargs)
created_at
deleted
deleted_at
destroy(*args, **kwargs)
disabled
disabled_reason
fields = {'binary': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'rpc_current_version': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted': Boolean(default=False,nullable=False), 'rpc_available_version': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'modified_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'report_count': Integer(default=0,nullable=False), 'topic': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'host': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'disabled': Boolean(default=False,nullable=False), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'disabled_reason': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
classmethod get_by_args(context, *args, **kwargs)
classmethod get_by_host_and_topic(context, *args, **kwargs)
host
id
model

alias of Service

modified_at
report_count
rpc_available_version
rpc_current_version
save(*args, **kwargs)
topic
updated_at
class karbor.objects.service.ServiceList(*args, **kwargs)

Bases: karbor.objects.base.ObjectListBase, karbor.objects.base.KarborObject

VERSION = '1.0'
child_versions = {'1.0': '1.0'}
fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
classmethod get_all(context, *args, **kwargs)
classmethod get_all_by_topic(context, *args, **kwargs)
objects