The heat.objects.stack_lock Module

StackLock object.

class heat.objects.stack_lock.StackLock(context=None, **kwargs)[source]

Bases: heat.objects.base.HeatObject, oslo_versionedobjects.base.VersionedObjectDictCompat, oslo_versionedobjects.base.ComparableVersionedObject

classmethod create(context, stack_id, engine_id)[source]
fields = {‘stack_id’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘engine_id’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘created_at’: DateTime(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]