summaryrefslogtreecommitdiffstats
path: root/lcm/lcm/nf/serializers/vnf_instance.py
diff options
context:
space:
mode:
Diffstat (limited to 'lcm/lcm/nf/serializers/vnf_instance.py')
-rw-r--r--lcm/lcm/nf/serializers/vnf_instance.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lcm/lcm/nf/serializers/vnf_instance.py b/lcm/lcm/nf/serializers/vnf_instance.py
index bd453629..c7ff8890 100644
--- a/lcm/lcm/nf/serializers/vnf_instance.py
+++ b/lcm/lcm/nf/serializers/vnf_instance.py
@@ -95,9 +95,9 @@ class VnfInstanceSerializer(serializers.Serializer):
instantiationState = serializers.ChoiceField(
help_text="The instantiation state of the VNF.",
choices=["NOT_INSTANTIATED", "INSTANTIATED"],
- required=False,
- allow_null=True,
- allow_blank=True)
+ required=True,
+ allow_null=False,
+ allow_blank=False)
instantiatedVnfInfo = InstantiatedVnfInfoSerializer(
help_text="Information specific to an instantiated VNF instance. \
This attribute shall be present if the instantiateState attribute value is INSTANTIATED",