diff options
author | 2018-11-16 08:56:04 +0800 | |
---|---|---|
committer | 2018-11-16 08:56:04 +0800 | |
commit | 41e210943f866c82382efe693939fdf04c4f673f (patch) | |
tree | 0e18664a5a29fdfeffd7f4020027b5900c161c97 | |
parent | 1146c172c675cc55507aff13949470fde3ca89d8 (diff) |
Fix Ns instant req swagger
Change-Id: If33b11b1a5237dc32bf1d9aab999ff373bb4f98a
Issue-ID: VFC-1163
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rw-r--r-- | lcm/ns/serializers/ns_serializers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lcm/ns/serializers/ns_serializers.py b/lcm/ns/serializers/ns_serializers.py index 041948bb..c9216f54 100644 --- a/lcm/ns/serializers/ns_serializers.py +++ b/lcm/ns/serializers/ns_serializers.py @@ -72,13 +72,13 @@ class QueryNsRespSerializer(serializers.Serializer): nsState = serializers.CharField(help_text="State of NS instance", required=False, allow_null=True) -class VimSerializer(serializers.Serializer): +class VnfLocationSerializer(serializers.Serializer): vimId = serializers.CharField(help_text="ID of VIM", required=False, allow_null=True) class LocationConstraintSerializer(serializers.Serializer): vnfProfileId = serializers.CharField(help_text="ID of VNF profile", required=False, allow_null=True) - locationConstraints = VimSerializer(help_text="Location constraint", required=False, allow_null=True) + locationConstraints = VnfLocationSerializer(help_text="Location constraint", required=False, allow_null=True) class AddressRange(serializers.Serializer): |