Thanks Li Ma.
Then will the value of binding:host_id have no effect? Do you know the function 
will realize in the future?
Thank you.




------------------ ???????? ------------------
??????: "Li Ma";<[email protected]>;
????????: 2015??7??28??(??????) ????9:32
??????: "OpenStack Development Mailing List (not for usage 
questions)"<[email protected]>; 

????: Re: [openstack-dev] [neutron][binding:host_id] Binding:host_idchanges 
when creating vm.



Nova will modify it when scheduling. You should let nova schedule the
vm to the given host: dvr-compute1.novalocal.

On Mon, Jul 27, 2015 at 3:14 PM, Kevin Benton <[email protected]> wrote:
> If it's a VM, Nova sets the binding host id. That field is set by the system
> using the port. It's not a way to move ports around.
>
> On Jul 26, 2015 20:33, "????" <[email protected]> wrote:
>>
>> Hi all,
>>
>> Recently I used the parameter binding:host_id to create port,  trying to
>> allocate the port to a specified host. For example:
>>                       neutron port-create
>> e77c556b-7ec8-415a-8b92-98f2f4f3784f
>> --binding:host_id=dvr-compute1.novalocal
>> But when creating a vm assigning to the port created above, the
>> binding:host_id changed. Is this normal? Or the parameter binding:host_id
>> does not work well?
>> Any suggestion is grateful. Thank you.
>>
>> Yu
>>
>>
>> __________________________________________________________________________
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: [email protected]?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: [email protected]?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 

Li Ma (Nick)
Email: [email protected]

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to