[openstack-dev] [nova][neutron] boot server with more than one subnet selection question
Slawomir Kaplonski
skaplons at redhat.com
Mon Nov 12 17:05:44 UTC 2018
Hi,
You can choose which subnet (and even IP address) should be used, see „fixed_ips” field in [1].
If You will not provide anything Neutron will choose for You one IPv4 address and one IPv6 address and in both cases it will be chosen randomly from available IPs from all subnets.
[1] https://developer.openstack.org/api-ref/network/v2/?expanded=create-port-detail#create-port
> Wiadomość napisana przez Chen CH Ji <jichenjc at cn.ibm.com> w dniu 12.11.2018, o godz. 13:44:
>
> I have a network created like below:
>
> 1 network with 3 subnets (1 ipv6 and 2 ipv4) ,when boot, whether I can select subnet to boot from or the subnet will be force selected by the order the subnet created? Any document or code can be referred? Thanks
>
> | fd0e2078-044d-4c5c-b114-3858631e6328 | private | a8184e4f-5165-4ea8-8ed8-b776d619af6e fd9b:c245:1aaa::/64 |
> | | | b3ee7cad-c672-4172-a183-8e9f069bea31 10.0.0.0/26 |
> | | | 9439abfd-afa2-4264-8422-977d725a7166 10.0.2.0/24 |
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
—
Slawek Kaplonski
Senior software engineer
Red Hat
More information about the OpenStack-dev
mailing list