how does dhcp-agent work?
Hi all:
in Folsom, when a port is created, I saw an ip address is allocated from subnet of the network(assume that there is only a subnet on the network) on which the port is created.
When an instance is created with this port, nova-compute driver(e.g. LibvertDriver) use its ip address directly to create *.xml for the instance, as below:
"
<interface type="bridge">
<mac address=
<model type="virtio"/>
<source bridge=
<filterref filter=
<parameter name="IP" value="
<parameter name="DHCPSERVER" value="
<parameter name="PROJNET" value="
<parameter name="PROJMASK" value="
</filterref>
</interface>
"
what I want to know is how does the dhcp-agent work in creation process of instances? I cannot see there is any connection between the creation of instance and work of dhcp-agent.
Looking forward for answers, thanks!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- neutron Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- yong sheng gong
- Solved:
- Last query:
- Last reply: