<p dir="ltr">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. </p>
<div class="gmail_quote">On Jul 26, 2015 20:33, "于洁" <<a href="mailto:16189455@qq.com">16189455@qq.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi all,</div><div><br></div><div>Recently I used the parameter binding:host_id to create port, trying to allocate the port to a specified host. For example:</div><div> neutron port-create e77c556b-7ec8-415a-8b92-98f2f4f3784f --binding:host_id=dvr-compute1.novalocal</div><div>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?</div><div><span style="font-family:'lucida Grande',Verdana,'Microsoft YaHei';line-height:23.7999992370605px">Any suggestion is grateful. Thank you.</span></div><div><span style="font-family:'lucida Grande',Verdana,'Microsoft YaHei';line-height:23.7999992370605px"><br></span></div><div><span style="font-family:'lucida Grande',Verdana,'Microsoft YaHei';line-height:23.7999992370605px">Yu</span></div><div><span style="line-height:1.5"> </span></div><br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div>