summaryrefslogtreecommitdiffstats
path: root/lcm
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-11-27 18:06:21 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2017-11-27 18:23:01 +0800
commit3faacb1c6c407cf5065aff5604790dfc8be32aeb (patch)
treeec33f478d013e24c54869d3c5d51b980ca9356c6 /lcm
parente032ec712973945147d7de481453dcb4d43a5237 (diff)
Fix vfc-vnflcm notify bug
Change-Id: Iee620a3a5b0a7a74683856968a759925f1359ce6 Issue-ID: VFC-596 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'lcm')
-rw-r--r--lcm/lcm/nf/vnfs/vnf_create/inst_vnf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lcm/lcm/nf/vnfs/vnf_create/inst_vnf.py b/lcm/lcm/nf/vnfs/vnf_create/inst_vnf.py
index 50948ca5..9b6babb2 100644
--- a/lcm/lcm/nf/vnfs/vnf_create/inst_vnf.py
+++ b/lcm/lcm/nf/vnfs/vnf_create/inst_vnf.py
@@ -211,8 +211,8 @@ class InstVnf(Thread):
{'vsInstanceId': port.portid,
'cpdid': port.nodeId,
'changeType': 'added',
- 'storageResource': {'vimId': port.vimid, 'resourceId': port.resouceid,
- 'resourceName': port.name, 'resourceType': 'port'}})
+ 'portResource': {'vimId': port.vimid, 'resourceId': port.resouceid,
+ 'resourceName': port.name, 'resourceType': 'port'}})
affected_vs = []
vss = StorageInstModel.objects.filter(instid=self.nf_inst_id)
for vs in vss: