If I do $ neutron help | grep dhcp-agent, this is the output I get:
dhcp-agent-list-hosting-net List DHCP agents hosting a network.
dhcp-agent-network-add Add a network to a DHCP agent.
dhcp-agent-network-remove Remove a network from a DHCP agent.
net-list-on-dhcp-agent List the networks on a DHCP agent.
My questions are:
1) Why do you have to manipulate the networkdhcpagentbindings? Doesn't dhcp-agent-network-remove do the same thing (along with a corresponding dhcp-agent-network-add to another agent)?
2) Doesn't dhcp-agent-network-add cover your point 2?
3) Using the commands in the above list, couldn't the user write some scripts to achieve what you propose?
Hi Zigo,
If I do $ neutron help | grep dhcp-agent, this is the output I get:
dhcp- agent-list- hosting- net List DHCP agents hosting a network. agent-network- add Add a network to a DHCP agent. agent-network- remove Remove a network from a DHCP agent. on-dhcp- agent List the networks on a DHCP agent.
dhcp-
dhcp-
net-list-
My questions are:
1) Why do you have to manipulate the networkdhcpagen tbindings? Doesn't dhcp-agent- network- remove do the same thing (along with a corresponding dhcp-agent- network- add to another agent)?
2) Doesn't dhcp-agent- network- add cover your point 2?
3) Using the commands in the above list, couldn't the user write some scripts to achieve what you propose?