<div dir="ltr">Hi:<div><br></div><div>    A question about nova AddFixedIp API, nova api-ref[1] describe the API as "<span style="color:rgb(51,51,51);font-family:"open sans",helvetica,arial,sans-serif">Adds a fixed IP address to a server instance, which associates that address with the server.</span>", the argument of API is network id, so if there are two or more subnets in a network, which one is lucky to associate ip address to the instance? and the API behavior is always consistent? I'm not sure.</div><div>    The latest code[2] get all of the instance's ports and subnets of the specified network, then loop them, but it return when the first update_port success, so the API behavior depends on the order of subnet and port list that return by neutron API. I have no idea about what scenario we should use the API in, and the original design, anyone know that?</div><div><br></div><div>[1]: <a href="https://developer.openstack.org/api-ref/compute/#add-associate-fixed-ip-addfixedip-action">https://developer.openstack.org/api-ref/compute/#add-associate-fixed-ip-addfixedip-action</a></div><div>[2]: <a href="https://github.com/openstack/nova/blob/master/nova/network/neutronv2/api.py#L1366">https://github.com/openstack/nova/blob/master/nova/network/neutronv2/api.py#L1366</a></div></div>