The heat.objects.stack_lock Module

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 = {'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'engine_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'stack_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
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]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.