heat.objects.stack_lock module
updated: 2023-04-14 08:22
heat.objects.stack_lock module
StackLock object.
-
class heat.objects.stack_lock.StackLock(context=None, **kwargs)[source]
Bases: HeatObject
, VersionedObjectDictCompat
, ComparableVersionedObject
-
classmethod create(context, stack_id, engine_id)[source]
-
fields = {'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'engine_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'stack_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
-
classmethod get_engine_id(context, stack_id)[source]
-
classmethod release(context, stack_id, engine_id)[source]
-
classmethod steal(context, stack_id, old_engine_id, new_engine_id)[source]
updated: 2023-04-14 08:22