From 0c09254aa83db9d452b839ce2e92c60705e523c7 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Fri, 2 Dec 2016 20:07:32 -0600 Subject: [PATCH] Set basic DHCP configuration for neutron. These options simply allow a DHCP server running dnsmasq(neutron) to coexist with other DHCP servers within the same network. This works by instructing dnsmasq to ignore any clients which are not specified in dhcp-host files. This also provides for basic logging which makes debugging DHCP and connectivity issues easier by default. Change-Id: Ibe2096c9e5a983fe5a7538a0a58b026439a7c67c Signed-off-by: Kevin Carter --- playbooks/inventory/group_vars/neutron_agent.yml | 8 ++++++++ .../dnsmasq-ignore-unknown-clients-5f6b3d36b7ad5e18.yaml | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 releasenotes/notes/dnsmasq-ignore-unknown-clients-5f6b3d36b7ad5e18.yaml diff --git a/playbooks/inventory/group_vars/neutron_agent.yml b/playbooks/inventory/group_vars/neutron_agent.yml index fcd7746547..c58127c98b 100644 --- a/playbooks/inventory/group_vars/neutron_agent.yml +++ b/playbooks/inventory/group_vars/neutron_agent.yml @@ -13,6 +13,14 @@ # See the License for the specific language governing permissions and # limitations under the License. +# Set basic DHCP configuration for neutron. These options simply allow +# A neutron DHCP server to coexist with other DHCP servers within the +# same broadcast domain. The log option provides basic logging for +# neutron DHCP. +neutron_dhcp_config: + dhcp-ignore: "tag:!known" + log-facility: "/var/log/neutron/neutron-dnsmasq.log" + lxc_container_config_list: - "lxc.aa_profile=unconfined" diff --git a/releasenotes/notes/dnsmasq-ignore-unknown-clients-5f6b3d36b7ad5e18.yaml b/releasenotes/notes/dnsmasq-ignore-unknown-clients-5f6b3d36b7ad5e18.yaml new file mode 100644 index 0000000000..7c782c15b6 --- /dev/null +++ b/releasenotes/notes/dnsmasq-ignore-unknown-clients-5f6b3d36b7ad5e18.yaml @@ -0,0 +1,8 @@ +--- +features: + - Neutron DHCP options have been set to allow a DHCP server running + dnsmasq to coexist with other DHCP servers within the same network. + This works by instructing dnsmasq to ignore any clients which are + not specified in dhcp-host files. + - Neutron DHCP options have been set to provide for logging which + makes debugging DHCP and connectivity issues easier by default.