[openstack-dev] dhcp-agent and create_port question.

Chandan Dutta Chowdhury chandanc at juniper.net
Mon Mar 25 09:45:09 UTC 2013


Hello Eugene,

That was me :), before I realized that a single L2 can in fact have more than one dhcp agent active.
I have updated my question with more info 

https://answers.launchpad.net/quantum/+question/225078

Thanks for your help
Chandan




From: Eugene Nikanorov [mailto:enikanorov at mirantis.com] 
Sent: Monday, March 25, 2013 12:58 PM
To: OpenStack Development Mailing List
Subject: Re: [openstack-dev] dhcp-agent and create_port question.

Hi, Chandan,

This one may help you: https://answers.launchpad.net/quantum/+question/225030

Thanks,
Eugene.
On Mon, Mar 25, 2013 at 11:18 AM, Chandan Dutta Chowdhury <chandanc at juniper.net> wrote:
Hi,


Is there a way to determine the host on which a quantum-dhcp-agent is
running which called create_port in a plugin?

Currently the port details provide the device_type and device_owner.
The device_owner for a dhcp port is of the form dhcp<uuidX>-<network_id>.

In the above uuidX is generated by the agent and it not the agents id and there is not mapping uuidX to agent's id.
(will it be good to have uuidX same as the agents id ? am I missing something ?).

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).

Please let me know if I am missing something here.

Thanks
Chandan



_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev





More information about the OpenStack-dev mailing list