summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2018-11-29 12:20:19 +0800
committerFu Jinhua <fu.jinhua@zte.com.cn>2018-11-29 10:24:38 +0000
commit2ca5cd48a2a4241b15f2e71e614e3ae05b14de2e (patch)
treec1a98a7f9434f717ca663949f282fc4873aa77da
parent729152f300acdec04fccb45974fdcd4a36aca4d6 (diff)
Comment changedExtConnectivity param in vnf notifycasablanca
Change-Id: If45bd87f277da25702732cc8909713720bb80499 Issue-ID: VFC-1163 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn> (cherry picked from commit bb8bf2ea36e8510d7a031d3a1fdbf9b792ee0446)
-rw-r--r--lcm/lcm/pub/msapi/gvnfmdriver.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lcm/lcm/pub/msapi/gvnfmdriver.py b/lcm/lcm/pub/msapi/gvnfmdriver.py
index 41e04f87..91b4a363 100644
--- a/lcm/lcm/pub/msapi/gvnfmdriver.py
+++ b/lcm/lcm/pub/msapi/gvnfmdriver.py
@@ -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