diff options
author | tianxing <15210838572@139.com> | 2019-03-18 16:08:18 +0800 |
---|---|---|
committer | tianxing <15210838572@139.com> | 2019-03-18 16:08:28 +0800 |
commit | b9b63bf05dedefcdeb23ae17b31bcca7efa20546 (patch) | |
tree | 2349bcdd3e33c2f0d7e96e9c76c7e4a5963f6720 | |
parent | c3dae07e482b87daa1bff52da36557cc36b8e299 (diff) |
Fix serialization bug of nslcm
Change-Id: Ia4e135dc4fccbf63569f45d4ef25338fa4a5aff4
Issue-ID: VFC-1270
Signed-off-by: tianxing <15210838572@139.com>
-rw-r--r-- | lcm/ns_vnfs/serializers/grant_vnf_serializer.py | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/lcm/ns_vnfs/serializers/grant_vnf_serializer.py b/lcm/ns_vnfs/serializers/grant_vnf_serializer.py index e77a091a..64087e3b 100644 --- a/lcm/ns_vnfs/serializers/grant_vnf_serializer.py +++ b/lcm/ns_vnfs/serializers/grant_vnf_serializer.py @@ -15,6 +15,7 @@ from rest_framework import serializers from lcm.ns.serializers.resource_handle import ResourceHandleSerializer from lcm.ns.serializers.link import linkSerializer +from lcm.ns.serializers.pub_serializers import AddressRangeSerializer # class ResourceHandleSerializer(serializers.Serializer): # vimConnectionId = serializers.CharField( @@ -397,15 +398,15 @@ class VimAssetsSerializer(serializers.Serializer): ) -class AddressRangeSerializer(serializers.Serializer): - minAddress = serializers.CharField( - help_text="Lowest IP address belonging to the range.", - required=True - ) - maxAddress = serializers.CharField( - help_text="Highest IP address belonging to the range.", - required=True - ) +# class AddressRangeSerializer(serializers.Serializer): +# minAddress = serializers.CharField( +# help_text="Lowest IP address belonging to the range.", +# required=True +# ) +# maxAddress = serializers.CharField( +# help_text="Highest IP address belonging to the range.", +# required=True +# ) class IpAddresseSerializer(serializers.Serializer): |