Hi Arnaud, Non-core here. Last time I checked you had to decide on one and then update with neutron (or first create the port with neutron and then give it to nova :-) ). Moreover, not sure if IPv6 goes through Nova directly or not (docs suggest still nah). -yoctozepto wt., 3 mar 2020 o 14:09 Arnaud Morin <arnaud.morin@gmail.com> napisał(a):
Hello all,
I was doing some tests to create a server using nova API. My objective is to create a server with one port but multiples IPs (one IPv4 and one IPv6).
If I understand well the neutron API, I can create a port using the fixed_ips array parameter [1]
Unfortunately, on nova side, it seems to only accept a string with only one ip (fixed_ip) [2]
Is it mandatory for me to create the port with neutron? Or is there any trick that I missed on nova API side?
Thanks!
[1] https://docs.openstack.org/api-ref/network/v2/?expanded=create-port-detail#p... [2] https://docs.openstack.org/api-ref/compute/?expanded=create-server-detail#cr...
-- Arnaud Morin