From: tianxing <15210838572@139.com> Date: Thu, 14 Mar 2019 12:00:32 +0000 (+0800) Subject: fix the serializer bug of nslcm X-Git-Tag: 1.3.0~131 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F47%2F82247%2F1;p=vfc%2Fnfvo%2Flcm.git fix the serializer bug of nslcm Change-Id: I6360854fac0612e80e0f1d3098baef8abe146d82 Issue-ID: VFC-1270 Signed-off-by: tianxing <15210838572@139.com> --- diff --git a/lcm/ns/serializers/scale_ns_serializers.py b/lcm/ns/serializers/scale_ns_serializers.py index cd206b9e..97c9c8e6 100644 --- a/lcm/ns/serializers/scale_ns_serializers.py +++ b/lcm/ns/serializers/scale_ns_serializers.py @@ -13,14 +13,15 @@ # limitations under the License. from rest_framework import serializers +from lcm.ns.serializers.update_serializers import VnfInstanceDataSerializer -class VnfInstanceDataSerializer(serializers.Serializer): - vnfInstanceId = serializers.CharField(help_text="Identifier of the existing VNF instance to be used in" - "the NS. ", required=True) - vnfProfileId = serializers.CharField(help_text="Identifier of (Reference to) a vnfProfile defined in the " - "NSD which the existing VNF instance shall be matched " - "with. If not present", required=False, allow_null=True) +# class VnfInstanceDataSerializer(serializers.Serializer): +# vnfInstanceId = serializers.CharField(help_text="Identifier of the existing VNF instance to be used in" +# "the NS. ", required=True) +# vnfProfileId = serializers.CharField(help_text="Identifier of (Reference to) a vnfProfile defined in the " +# "NSD which the existing VNF instance shall be matched " +# "with. If not present", required=False, allow_null=True) class ScaleNsByStepsDataSerializer(serializers.Serializer):