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.
FlexibleDictField
(**kwargs)[source]¶ Bases:
oslo_versionedobjects.fields.AutoTypedField
-
class
ironic.objects.fields.
IntegerField
(**kwargs)[source]¶ Bases:
oslo_versionedobjects.fields.IntegerField
-
class
ironic.objects.fields.
ListOfStringsField
(**kwargs)[source]¶ Bases:
oslo_versionedobjects.fields.ListOfStringsField
-
class
ironic.objects.fields.
MACAddressField
(**kwargs)[source]¶ Bases:
oslo_versionedobjects.fields.AutoTypedField
-
class
ironic.objects.fields.
NotificationLevelField
(**kwargs)[source]¶ Bases:
oslo_versionedobjects.fields.BaseEnumField
-
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
-
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