summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBharath Thiruveedula <bharath.thiruveedula@verizon.com>2018-09-06 14:16:19 +0530
committerBharath Thiruveedula <bharath.thiruveedula@verizon.com>2018-09-06 14:16:22 +0530
commit16c4a5ff577f27c6ff404059612ecf68eb044b1f (patch)
tree121b535c13997f789ad30db462b384437fafb4b6
parentd6cc4315767f44c8212b89472c79adf8fdfdcb88 (diff)
Modify LinksSerializer to avoid chaos
Signed-off-by: Bharath Thiruveedula<bharath.thiruveedula@verizon.com> Change-Id: I99ab039536ba344a6d2c2d8884780dbf284a8a2a Issue-ID: VFC-1096
-rw-r--r--lcm/lcm/nf/serializers/notification_types.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lcm/lcm/nf/serializers/notification_types.py b/lcm/lcm/nf/serializers/notification_types.py
index 5ee5eb03..1472e292 100644
--- a/lcm/lcm/nf/serializers/notification_types.py
+++ b/lcm/lcm/nf/serializers/notification_types.py
@@ -24,7 +24,7 @@ from ext_virtual_link_info import ExtVirtualLinkInfoSerializer
from vnf_info_modifications import VnfInfoModificationsSerializer
-class LinksSerializer(serializers.Serializer):
+class LccnLinksSerializer(serializers.Serializer):
vnfInstance = LinkSerializer(
help_text="Link to the resource representing the VNF instance to "
"which the notified change applies.",
@@ -123,6 +123,6 @@ class VnfLcmOperationOccurrenceNotification(serializers.Serializer):
allow_null=True,
required=False
)
- _links = LinksSerializer(
+ _links = LccnLinksSerializer(
help_text="Links to resources related to this resource.",
required=True)