Chandan also posted this question to launchpad, there it is being answered: <a href="https://answers.launchpad.net/quantum/+question/225078">https://answers.launchpad.net/quantum/+question/225078</a><div><br></div><div>please post items only in one location at a time, to avoid people duplicating the work of helping you out. </div>
<div><br></div><div>dan<br><br><div class="gmail_quote">On Mon, Mar 25, 2013 at 12:37 AM, Chandan Dutta Chowdhury <span dir="ltr"><<a href="mailto:chandanc@juniper.net" target="_blank">chandanc@juniper.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
<br>
Is there a way to determine the host on which a quantum-dhcp-agent is running which called create_port in a plugin?<br>
<br>
Currently the port details provide the device_type and device_owner.<br>
The device_owner for a dhcp port is of the form dhcp<uuidX>-<network_id>.<br>
<br>
In the above uuidX is generated by the agent and it not the agents id and there is no mapping of uuidX to agent's id.<br>
(will it be good to have uuidX same as the agents id ? am I missing something ?).<br>
<br>
I could not find a way to determine the agent id from the create_port call (specifically if multiple dhcp agent are serving a L2 network).<br>
<br>
Please let me know if I am missing something here.<br>
<br>
Thanks<br>
Chandan<br>
<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Dan Wendlandt <div>Nicira, Inc: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><br><div>twitter: danwendlandt<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~<br></div></div>
</div>