diff options
author | hongyuzhao <zhao.hongyu@zte.com.cn> | 2019-07-31 10:02:15 +0800 |
---|---|---|
committer | hongyuzhao <zhao.hongyu@zte.com.cn> | 2019-07-31 10:05:13 +0800 |
commit | 47946e91e293e30bc7f872f809147378206c2c05 (patch) | |
tree | 7be0fee451ee5615bcb92275c1eb0f9767b534f8 | |
parent | 3cca438799a38970816b0c5f33e5cbe111ec8d92 (diff) |
fix bug for delete vserver in aai
Change-Id: Ia80c9cf0b988fcf80c21358940fb813d9e352707
Issue-ID: VFC-1462
Signed-off-by: hongyuzhao <zhao.hongyu@zte.com.cn>
-rw-r--r-- | lcm/ns_vnfs/biz/terminate_nfs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/ns_vnfs/biz/terminate_nfs.py b/lcm/ns_vnfs/biz/terminate_nfs.py index 86d608e8..8f9f5ecf 100644 --- a/lcm/ns_vnfs/biz/terminate_nfs.py +++ b/lcm/ns_vnfs/biz/terminate_nfs.py @@ -174,7 +174,7 @@ class TerminateVnfs(threading.Thread): vim_id = vm_inst_info.vimid cloud_owner, cloud_region_id = split_vim_to_owner_region(vim_id) # query vim_info from aai, get tenant - vim_info = get_vim_by_id(vim_id) + vim_info = get_vim_by_id({"cloud_owner": cloud_owner, 'cloud_regionid': cloud_region_id}) tenant_id = vim_info["tenantId"] # query vserver instance in aai, get resource_version |