Code Review
/
vfc
/
gvnfm
/
vnflcm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
111cf05
)
fix bug for vnfm missed table vminst field vmid value after creating vm sucessfully
10/93010/1
author
hongyuzhao
<zhao.hongyu@zte.com.cn>
Thu, 8 Aug 2019 06:39:50 +0000
(14:39 +0800)
committer
hongyuzhao
<zhao.hongyu@zte.com.cn>
Thu, 8 Aug 2019 07:24:11 +0000
(15:24 +0800)
Change-Id: Id37f62062791859aebfff709b9e686e1e87cf992
Issue-ID: VFC-1481
Signed-off-by: hongyuzhao <zhao.hongyu@zte.com.cn>
lcm/lcm/pub/vimapi/adaptor.py
patch
|
blob
|
history
diff --git
a/lcm/lcm/pub/vimapi/adaptor.py
b/lcm/lcm/pub/vimapi/adaptor.py
index
62fd39f
..
6cda0af
100644
(file)
--- a/
lcm/lcm/pub/vimapi/adaptor.py
+++ b/
lcm/lcm/pub/vimapi/adaptor.py
@@
-407,6
+407,8
@@
def create_vm(vim_cache, res_cache, data, vm, do_notify, res_type):
ret = api.create_vm(vim_id, tenant_id, param)
ret["ports"] = [nic.get("portId") for nic in param["nicArray"]]
+ ret["vimId"] = vim_id
+ ret["tenantId"] = tenant_id
do_notify(res_type, ret)
vm_id = ret["id"]
if ignore_case_get(ret, "name"):