[nova] [neutron] multiple fixed_ip

Radosław Piliszek radoslaw.piliszek at gmail.com
Tue Mar 3 13:23:52 UTC 2020


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 at 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#ports
> [2] https://docs.openstack.org/api-ref/compute/?expanded=create-server-detail#create-server
>
>
>
> --
> Arnaud Morin
>
>



More information about the openstack-discuss mailing list