From 16c4a5ff577f27c6ff404059612ecf68eb044b1f Mon Sep 17 00:00:00 2001 From: Bharath Thiruveedula Date: Thu, 6 Sep 2018 14:16:19 +0530 Subject: [PATCH] Modify LinksSerializer to avoid chaos Signed-off-by: Bharath Thiruveedula Change-Id: I99ab039536ba344a6d2c2d8884780dbf284a8a2a Issue-ID: VFC-1096 --- lcm/lcm/nf/serializers/notification_types.py | 4 ++-- 1 file 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) -- 2.16.6