summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2018-11-16 09:18:17 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2018-11-16 09:54:13 +0800
commitc8869acc2c5944bdb0450deb6fa761206e82b5a6 (patch)
tree4d4630a73a9662141cd0c7134cebce6f303529df
parent41e210943f866c82382efe693939fdf04c4f673f (diff)
Fix Ns update req swagger
Change-Id: Iac0d6bfb8ac833322faade4d48477ecc049a87c9 Issue-ID: VFC-1163 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rw-r--r--lcm/ns/serializers/update_serializers.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lcm/ns/serializers/update_serializers.py b/lcm/ns/serializers/update_serializers.py
index 2964a100..e92432db 100644
--- a/lcm/ns/serializers/update_serializers.py
+++ b/lcm/ns/serializers/update_serializers.py
@@ -68,7 +68,7 @@ class VnfExtCpData(serializers.Serializer):
required=False, allow_null=True)
-class ResourceHandleSerializer(serializers.Serializer):
+class ExtLinkPortResourceHandleSerializer(serializers.Serializer):
vimId = serializers.CharField(help_text="Identifier of the VIM under whose control this resource is placed.",
required=False, allow_null=True)
resourceProviderId = serializers.CharField(help_text="Identifier of the entity responsible for the management of "
@@ -81,8 +81,8 @@ class ResourceHandleSerializer(serializers.Serializer):
class ExtLinkPortDataSerializer(serializers.Serializer):
id = serializers.CharField(help_text="Provided by the entity that has created the link port", required=True)
- resourceHandle = ResourceHandleSerializer(help_text="Identifier(s) of the virtualised network resource(s) "
- "realizing the VL instance", required=True)
+ resourceHandle = ExtLinkPortResourceHandleSerializer(help_text="Identifier(s) of the virtualised network resource(s) "
+ "realizing the VL instance", required=True)
class ExtVirtualLinkDataSerializer(serializers.Serializer):