IIRC it will not. If you're building an ipam driver that needs to take into
account host_id you will need to leverage the deferred allocation stuff
done as part of the routed networks work. Or you could allocate a dummy IP
and then update to a different one on the next port update that assigns the
host ID.

On Apr 10, 2017 16:13, "Gregory Golberg" <gri...@alum.mit.edu> wrote:

> Ah, thanks - but when you say nova may not have set them yet is it at all
> possible that it would get set prior to an IPAM request?
>
>
>
> [image: --]
> Gregory Golberg
> [image: http://]about.me/gregorygolberg
> <http://about.me/gregorygolberg?promo=email_sig>
>
>
> On Mon, Apr 10, 2017 at 4:10 PM, Kevin Benton <ke...@benton.pub> wrote:
>
>> Nova may not have set them yet. The port is updated with the host ID and
>> the device ID separately from the port creation in later Nova versions
>> IIRC.
>>
>> On Apr 10, 2017 10:03, "Gregory Golberg" <gri...@alum.mit.edu> wrote:
>>
>>> Sorry, that should read host AND instance ID (as the device_id was
>>> instance_uuid).
>>>
>>>
>>>
>>> [image: --]
>>> Gregory Golberg
>>> [image: http://]about.me/gregorygolberg
>>> <http://about.me/gregorygolberg?promo=email_sig>
>>>
>>>
>>> On Mon, Apr 10, 2017 at 9:44 AM, Gregory Golberg <gri...@alum.mit.edu>
>>> wrote:
>>>
>>>> Hi all
>>>>
>>>> In Liberty, port object that got passed into IPAM driver contained
>>>> binding:host_id entry (and neutron.ports DB table had a device_id field).
>>>> Now it looks like the host_id is not being passed in and device_id field is
>>>> empty in the ports table.
>>>>
>>>> What is the proper way now to look for host in during the IPAM request?
>>>>
>>>>
>>>> [image: --]
>>>> Gregory Golberg
>>>> [image: http://]about.me/gregorygolberg
>>>> <http://about.me/gregorygolberg?promo=email_sig>
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> Mailing list: http://lists.openstack.org/cgi
>>> -bin/mailman/listinfo/openstack
>>> Post to     : openstack@lists.openstack.org
>>> Unsubscribe : http://lists.openstack.org/cgi
>>> -bin/mailman/listinfo/openstack
>>>
>>>
>
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to