diff options
author | ying.yunlong <ying.yunlong@zte.com.cn> | 2017-11-27 18:06:21 +0800 |
---|---|---|
committer | ying.yunlong <ying.yunlong@zte.com.cn> | 2017-11-27 18:23:01 +0800 |
commit | 3faacb1c6c407cf5065aff5604790dfc8be32aeb (patch) | |
tree | ec33f478d013e24c54869d3c5d51b980ca9356c6 | |
parent | e032ec712973945147d7de481453dcb4d43a5237 (diff) |
Fix vfc-vnflcm notify bug
Change-Id: Iee620a3a5b0a7a74683856968a759925f1359ce6
Issue-ID: VFC-596
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
-rw-r--r-- | lcm/lcm/nf/vnfs/vnf_create/inst_vnf.py | 4 |
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: |