[openstack-dev] [ironic] [inspector] [neutron] DHCP Options on Neutron networks

Sam Betts (sambetts) sambetts at cisco.com
Mon Nov 2 17:16:39 UTC 2015


For the ironic inspector to be able to inspect nodes that we don't know the

mac addresses for we have to run a DHCP rule that will respond to all mac

addresses for PXE booting the inspector ramdisk. In order to provide this

functionality right now we are running our own instance of dnsmasq,

configuring it independently and manually plumbing it into OpenStack. At the

summit we discussed that we would like to move away from managing our own DHCP

server and would like to take advantage of the existing DHCP server implemented

by neutron. However this would require being able to set global/wildcard DHCP

rules in neutron which I'm aware isn't possible right now, as DHCP options are

only set on ports.


A solution that we came up with would be the ability to set DHCP options on a

neutron network which would apply to any machine that made a DHCP request in

that network, however if any DHCP options were set on a port they would

override the network level options. This way we could setup a PXE option at

the network level for PXE booting any machine in that network that requests it.


We'd like to get some opinions on this idea from the neutron team, we think

that if implemented correctly there could be uses for it outside of the

inspector use case. We look forward to any feedback.


Sam (sambetts)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151102/fabc06f8/attachment.html>


More information about the OpenStack-dev mailing list