Modify vfc-vnfmgr swagger schemas 01/31001/1
authorying.yunlong <ying.yunlong@zte.com.cn>
Fri, 9 Feb 2018 07:30:22 +0000 (15:30 +0800)
committerying.yunlong <ying.yunlong@zte.com.cn>
Fri, 9 Feb 2018 07:30:22 +0000 (15:30 +0800)
Change-Id: Ie8275526326b072e1adbaa85337b3fdcf187d833
Issue-ID: VFC-670
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
LICENSE
mgr/mgr/vnfreg/serializers.py

diff --git a/LICENSE b/LICENSE
index f83f847..356b8d5 100644 (file)
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright 2017 ZTE Corporation.
+Copyright 2018 ZTE Corporation.
 
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
@@ -12,4 +12,4 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 
 See the License for the specific language governing permissions and
 limitations under the License.
 
-Micro service of vnf configure management.
+Micro service of gvnfm vnf configure management.
index d2b446c..9157e21 100644 (file)
@@ -59,7 +59,9 @@ class CpSerializer(serializers.Serializer):
         allow_null=True)
     cpdId = serializers.CharField(
         help_text="cpdId",
         allow_null=True)
     cpdId = serializers.CharField(
         help_text="cpdId",
-        required=True, max_length=200, allow_null=True)
+        required=True,
+        max_length=200,
+        allow_null=True)
 
 
 class SpecificDataSerializer(serializers.Serializer):
 
 
 class SpecificDataSerializer(serializers.Serializer):
@@ -76,9 +78,14 @@ class SpecificDataSerializer(serializers.Serializer):
 
 
 class ConfigDataSerializer(serializers.Serializer):
 
 
 class ConfigDataSerializer(serializers.Serializer):
-    cp = CpSerializer(help_text="cps", many=True, allow_null=True)
+    cp = CpSerializer(
+        help_text="cps",
+        many=True,
+        allow_null=True)
     vnfSpecificData = SpecificDataSerializer(
     vnfSpecificData = SpecificDataSerializer(
-        help_text="vnfSpecificData", required=True, allow_null=True)
+        help_text="vnfSpecificData",
+        required=True,
+        allow_null=True)
 
 
 class VnfConfigSerializer(serializers.Serializer):
 
 
 class VnfConfigSerializer(serializers.Serializer):