mirror of
https://github.com/openkmip/pykmip
synced 2025-12-28 14:13:33 +00:00
Adding support for the State attribute
This change adds the State attribute, updating the attribute factory to support creating it.
This commit is contained in:
@@ -66,7 +66,7 @@ class AttributeValueFactory(object):
|
||||
elif name is enums.AttributeType.USAGE_LIMITS:
|
||||
raise NotImplementedError()
|
||||
elif name is enums.AttributeType.STATE:
|
||||
raise NotImplementedError()
|
||||
return attributes.State(value)
|
||||
elif name is enums.AttributeType.INITIAL_DATE:
|
||||
return primitives.DateTime(value, enums.Tags.INITIAL_DATE)
|
||||
elif name is enums.AttributeType.ACTIVATION_DATE:
|
||||
|
||||
Reference in New Issue
Block a user