The ironic.objects.fields Module

The ironic.objects.fields Module

class ironic.objects.fields.BooleanField(**kwargs)[source]

Bases: oslo_versionedobjects.fields.BooleanField

class ironic.objects.fields.DateTimeField(tzinfo_aware=True, **kwargs)[source]

Bases: oslo_versionedobjects.fields.DateTimeField

class ironic.objects.fields.EnumField(valid_values, **kwargs)[source]

Bases: oslo_versionedobjects.fields.EnumField

class ironic.objects.fields.FlexibleDict[source]

Bases: oslo_versionedobjects.fields.FieldType

static coerce(obj, attr, value)[source]
class ironic.objects.fields.FlexibleDictField(**kwargs)[source]

Bases: oslo_versionedobjects.fields.AutoTypedField

class ironic.objects.fields.IntegerField(**kwargs)[source]

Bases: oslo_versionedobjects.fields.IntegerField

class ironic.objects.fields.ListOfObjectsField(objtype, subclasses=False, **kwargs)[source]

Bases: oslo_versionedobjects.fields.ListOfObjectsField

class ironic.objects.fields.ListOfStringsField(**kwargs)[source]

Bases: oslo_versionedobjects.fields.ListOfStringsField

class ironic.objects.fields.MACAddress[source]

Bases: oslo_versionedobjects.fields.FieldType

static coerce(obj, attr, value)[source]
class ironic.objects.fields.MACAddressField(**kwargs)[source]

Bases: oslo_versionedobjects.fields.AutoTypedField

class ironic.objects.fields.NotificationLevel[source]

Bases: oslo_versionedobjects.fields.Enum

class ironic.objects.fields.NotificationLevelField(**kwargs)[source]

Bases: oslo_versionedobjects.fields.BaseEnumField

class ironic.objects.fields.NotificationStatus[source]

Bases: oslo_versionedobjects.fields.Enum

class ironic.objects.fields.NotificationStatusField(**kwargs)[source]

Bases: oslo_versionedobjects.fields.BaseEnumField

class ironic.objects.fields.ObjectField(objtype, subclasses=False, **kwargs)[source]

Bases: oslo_versionedobjects.fields.ObjectField

class ironic.objects.fields.StringAcceptsCallable[source]

Bases: oslo_versionedobjects.fields.String

static coerce(obj, attr, value)[source]
class ironic.objects.fields.StringField(**kwargs)[source]

Bases: oslo_versionedobjects.fields.StringField

class ironic.objects.fields.StringFieldThatAcceptsCallable(**kwargs)[source]

Bases: oslo_versionedobjects.fields.StringField

Custom StringField object that allows for functions as default

In some cases we need to allow for dynamic defaults based on configuration options, this StringField object allows for a function to be passed as a default, and will only process it at the point the field is coerced

class ironic.objects.fields.UUIDField(**kwargs)[source]

Bases: oslo_versionedobjects.fields.UUIDField

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.