diff options
-rw-r--r-- | lcm/ns/serializers/sol/create_ns_serializers.py | 3 | ||||
-rw-r--r-- | lcm/ns/serializers/sol/ns_instance.py | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/lcm/ns/serializers/sol/create_ns_serializers.py b/lcm/ns/serializers/sol/create_ns_serializers.py index a6b87e2b..77326e46 100644 --- a/lcm/ns/serializers/sol/create_ns_serializers.py +++ b/lcm/ns/serializers/sol/create_ns_serializers.py @@ -28,4 +28,5 @@ class CreateNsRequestSerializer(serializers.Serializer): nsDescription = serializers.CharField( help_text="Description of NS", required=True, - allow_null=True) + allow_null=True, + allow_blank=True) diff --git a/lcm/ns/serializers/sol/ns_instance.py b/lcm/ns/serializers/sol/ns_instance.py index c5ccb88a..9d2e3cd8 100644 --- a/lcm/ns/serializers/sol/ns_instance.py +++ b/lcm/ns/serializers/sol/ns_instance.py @@ -677,7 +677,9 @@ class NsInstanceSerializer(serializers.Serializer): required=True) nsInstanceDescription = serializers.CharField( help_text="Human readable description of the NS instance.", - required=True) + required=True, + allow_null=True, + allow_blank=True) nsdId = serializers.CharField( help_text="Identifier of the NSD on which the NS instance is based.", required=True) |