Ironic common internal object model
-
class ironic.objects.base.IronicObject(context=None, **kwargs)[source]
Bases: oslo_versionedobjects.base.VersionedObject
Base class and object factory.
This forms the base of all objects that can be remoted or instantiated
via RPC. Simply defining a class that inherits from this base class
will make it remotely instantiatable. Objects should implement the
necessary “get” classmethod routines as well as “save” object methods
as appropriate.
-
as_dict()[source]
-
obj_refresh(loaded_object)[source]
Applies updates for objects that inherit from base.IronicObject.
Checks for updated attributes in an object. Updates are applied from
the loaded object column by column in comparison with the current
object.
-
class ironic.objects.base.IronicObjectIndirectionAPI[source]
Bases: oslo_versionedobjects.base.VersionedObjectIndirectionAPI
-
object_action(context, objinst, objmethod, args, kwargs)[source]
-
object_backport_versions(context, objinst, object_versions)[source]
-
object_class_action(context, objname, objmethod, objver, args, kwargs)[source]
-
object_class_action_versions(context, objname, objmethod, object_versions, args, kwargs)[source]
-
class ironic.objects.base.IronicObjectRegistry[source]
Bases: oslo_versionedobjects.base.VersionedObjectRegistry
-
registration_hook(cls, index)[source]
-
class ironic.objects.base.IronicObjectSerializer[source]
Bases: oslo_versionedobjects.base.VersionedObjectSerializer
-
OBJ_BASE_CLASS
alias of IronicObject