Code Review
/
vfc
/
gvnfm
/
vnflcm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 2:
76aa6cb
)
Merge "VDU parser for create vm data"
author
maopeng zhang
<zhang.maopeng1@zte.com.cn>
Wed, 18 Apr 2018 09:36:35 +0000
(09:36 +0000)
committer
Gerrit Code Review
<gerrit@onap.org>
Wed, 18 Apr 2018 09:36:35 +0000
(09:36 +0000)
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
3b845dc
..
9956f7e
100644
(file)
--- a/
lcm/lcm/pub/vimapi/adaptor.py
+++ b/
lcm/lcm/pub/vimapi/adaptor.py
@@
-199,7
+199,7
@@
def create_port(vim_cache, res_cache, data, port, do_notify, res_type):
l3_address_data = one_protocol_data["address_data"]["l3_address_data"]
fixed_ip_address = ignore_case_get(l3_address_data, "fixed_ip_address")
ip_address.extend(fixed_ip_address)
- set_opt_val(param, "ip",
ip_address
)
+ set_opt_val(param, "ip",
",".join(ip_address)
)
set_opt_val(param, "vnicType", ignore_case_get(port["properties"], "vnic_type"))
set_opt_val(param, "securityGroups", "") # TODO
vim_id, tenant_name = location_info["vimid"], location_info["tenant"]