MC only accepts ip in string format. Change ip_address list to string to
align with the MC frozen api. Multi ip will be handled in MC.
Change-Id: I181dd645843eb10e9ebfcd19c21a03cdeb49b260
Issue-ID: VFC-870
Signed-off-by: Kailun Qin <kailun.qin@intel.com>
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)
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"]
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"]