Update serializer for scale vnf to level 90/84290/1
authorfujinhua <fu.jinhua@zte.com.cn>
Fri, 5 Apr 2019 00:50:38 +0000 (08:50 +0800)
committerfujinhua <fu.jinhua@zte.com.cn>
Fri, 5 Apr 2019 00:50:38 +0000 (08:50 +0800)
Change-Id: I1b5b8ccff14528a754c8f9a8a780872ef8640fc4
Issue-ID: VFC-1306
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
lcm/lcm/nf/serializers/scale_vnf_to_level_request_serializer.py

index 1fffe62..55f53b0 100644 (file)
@@ -17,18 +17,25 @@ from .scale_info import ScaleInfoSerializer
 
 
 class ScaleVnfToLevelRequestSerializer(serializers.Serializer):
-    instantiationLevelId = serializers.CharField(help_text="Identifier of the target instantiation level of"
-                                                           "the current deployment flavour to which the VNF is"
-                                                           "requested to be scaled.", required=False,
-                                                 allow_null=True)
-    scaleInfo = ScaleInfoSerializer(help_text="For each scaling aspect of the current deployment flavour,"
-                                              "indicates the target scale level to which the VNF is to be"
-                                              "scaled.", many=True)
-    additionalParams = serializers.DictField(help_text="Additional parameters passed by the NFVO as input"
-                                                       "to the scaling process,", required=False, allow_null=True,
-                                             child=serializers.CharField(help_text="KeyValue Pairs",
-                                                                         allow_blank=True))
+    instantiationLevelId = serializers.CharField(
+        help_text="Identifier of the target instantiation level of" +
+        "the current deployment flavour to which the VNF is requested to be scaled.",
+        required=False,
+        allow_null=True)
+    scaleInfo = ScaleInfoSerializer(
+        help_text="For each scaling aspect of the current deployment flavour," +
+        "indicates the target scale level to which the VNF is to be scaled.",
+        many=True)
+    additionalParams = serializers.DictField(
+        help_text="Additional parameters passed by the NFVO as input to the scaling process",
+        required=False,
+        allow_null=True,
+        child=serializers.CharField(
+            help_text="KeyValue Pairs",
+            allow_blank=True))
 
 
 class NfOperateJobSerializer(serializers.Serializer):
-    jobId = serializers.CharField(help_text="ID of NF operate job", required=True)
+    jobId = serializers.CharField(
+        help_text="ID of NF operate job",
+        required=True)