Ask Your Question
0

Dhcp agent scheduling

asked 2013-03-24 14:33:32 -0600

Hi,

I am trying to understand the dhcp agent scheduling in quantum. I want to determine which network node/dhcp-agent is hosting the dhcp server for a given L2 network.

Also is it possible that more than one active dhcp-agent is hosting DHCP service at the same time for a given L2 network ?

Thanks Chandan

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2013-03-25 12:54:56 -0600

yes i realized that and have some a question related to this https://answers.launchpad.net/quantum/+question/225078 (https://answers.launchpad.net/quantum...)

edit flag offensive delete link more
0

answered 2013-03-24 15:22:06 -0600

  1. You may look at quantum database:
  2. "agents" table contains information about l3 and dhcp agents: at which host do they run, how many networks do they serve, etc.
  3. "networkdhcpagentbindings " table defines which dhcp agent serves a given l2 network.

  4. No, currently only one dhcp agent serves a given l2 network. See quantum/scheduler/dhcp_agent_scheduler.py:L47

edit flag offensive delete link more
0

answered 2013-03-24 15:28:51 -0600

Thanks Eugene Nikanorov, that solved my question.

edit flag offensive delete link more
0

answered 2013-03-25 11:34:28 -0600

gongysh gravatar image

In fact, we can have many active dhcp agents hosting one network. by quantum dhcp-agent-network-add dhcpagent-id network-id

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-03-24 14:33:32 -0600

Seen: 11 times

Last updated: Mar 25 '13