Comment 8 for bug 1541490

Revision history for this message
Alexander Saprykin (cutwater) wrote :

Hi Neil,

Currently I'm working on this bug and have several ideas how it can be addressed. As you pointed out creating DHCP port per agent will lead to IP address waste. It can be resolved by creating single DHCP port with fixed IP per subnet.
To address this issue we can create single DHCP port per network and reuse it by all DHCP agents.

The main problem here is synchronisation between DHCP agents to avoid possible race conditions on port creation operation. There is an option to create reserved DHCP port in neutron agent (with device_owner = "reserved_dhcp_port"), so it will be created by neturon server itself and it will exist by the time when DHCP agent requires it. But I'm not sure that this is the right way how to solve it.