Comment changedExtConnectivity param in vnf notify 96/73896/1 casablanca
authorfujinhua <fu.jinhua@zte.com.cn>
Thu, 29 Nov 2018 04:20:19 +0000 (12:20 +0800)
committerFu Jinhua <fu.jinhua@zte.com.cn>
Thu, 29 Nov 2018 10:24:38 +0000 (10:24 +0000)
Change-Id: If45bd87f277da25702732cc8909713720bb80499
Issue-ID: VFC-1163
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
(cherry picked from commit bb8bf2ea36e8510d7a031d3a1fdbf9b792ee0446)

lcm/lcm/pub/msapi/gvnfmdriver.py

index 41e04f8..91b4a36 100644 (file)
@@ -117,6 +117,7 @@ def prepare_notification_data(nfinstid, jobid, changetype, operation):
             'resourceHandle': network_resource,
             'extLinkPorts': ext_link_ports
         })
+    logger.debug("ext_connectivity=%s", ext_connectivity)
     affected_vss = []
     vss = StorageInstModel.objects.filter(instid=nfinstid)
     for vs in vss:
@@ -145,7 +146,7 @@ def prepare_notification_data(nfinstid, jobid, changetype, operation):
         'affectedVnfcs': affected_vnfcs,
         'affectedVirtualLinks': affected_vls,
         'affectedVirtualStorages': affected_vss,
-        'changedExtConnectivity': ext_connectivity,
+        'changedExtConnectivity': [],  # TODO: will add in R4
         '_links': {
             'vnfInstance': {'href': '/api/vnflcm/v1/vnf_instances/%s' % nfinstid},
             # set 'subscription' link after filtering for subscribers