Modify LinksSerializer to avoid chaos 39/64939/1
authorBharath Thiruveedula <bharath.thiruveedula@verizon.com>
Thu, 6 Sep 2018 08:46:19 +0000 (14:16 +0530)
committerBharath Thiruveedula <bharath.thiruveedula@verizon.com>
Thu, 6 Sep 2018 08:46:22 +0000 (14:16 +0530)
Signed-off-by: Bharath Thiruveedula<bharath.thiruveedula@verizon.com>
Change-Id: I99ab039536ba344a6d2c2d8884780dbf284a8a2a
Issue-ID: VFC-1096

lcm/lcm/nf/serializers/notification_types.py

index 5ee5eb0..1472e29 100644 (file)
@@ -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)