aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYan Yang <yangyanyj@chinamobile.com>2019-03-18 08:28:16 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-18 08:28:16 +0000
commit7e003e4351f75437c2646a5f00d528b74124575e (patch)
treefe91f4017034255109785869ff46b1606fbe187e
parent10273459af05caf31f5ffe071aa90ef6c3c93219 (diff)
parentb9b63bf05dedefcdeb23ae17b31bcca7efa20546 (diff)
Merge "Fix serialization bug of nslcm"
-rw-r--r--lcm/ns_vnfs/serializers/grant_vnf_serializer.py19
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):