heat.objects.service module
updated: 2023-04-14 08:22
heat.objects.service module
Service object.
-
class heat.objects.service.Service(context=None, **kwargs)[source]
Bases: HeatObject
, VersionedObjectDictCompat
, ComparableVersionedObject
-
classmethod active_service_count(context)[source]
Return the number of services reportedly active.
-
classmethod create(context, values)[source]
-
classmethod delete(context, service_id, soft_delete=True)[source]
-
fields = {'binary': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'engine_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'host': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'hostname': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'report_interval': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'topic': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
-
classmethod get_all(context)[source]
-
classmethod get_all_by_args(context, host, binary, hostname)[source]
-
classmethod get_by_id(context, service_id)[source]
-
classmethod update_by_id(context, service_id, values)[source]
updated: 2023-04-14 08:22