[nova] [neutron] multiple fixed_ip

Arnaud Morin arnaud.morin at gmail.com
Wed Mar 4 11:02:58 UTC 2020


Hello,

Thanks for you answer, that's exactly what we are doing right now, I
just wanted to know if there is a more straight solution :p

Thanks!

-- 
Arnaud Morin

On 03.03.20 - 14:23, Radosław Piliszek wrote:
> 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