Kevin Carter 0c09254aa8
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 <kevin.carter@rackspace.com>
2016-12-02 20:27:48 -06:00

29 lines
1.1 KiB
YAML

---
# Copyright 2016, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# 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"
# Ensure that all neutron agent containers get a fixed mac address
lxc_container_fixed_mac: true