Configure DHCP Agent debug level

When a user configures neutron-gateway debug=True the dhcp agent is
reconfigured setting debug=True in dhcp_agent.ini

Change-Id: Ice125d59958d12f23fefc7754abb0882c0221b15
Closes-Bug: 1701016
This commit is contained in:
Felipe Reyes 2017-06-28 12:01:48 -04:00
parent ba91db3a4c
commit 4288b01fe6
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ state_path = /var/lib/neutron
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
debug = {{ debug }}
{% if instance_mtu or dnsmasq_flags -%}
dnsmasq_config_file = /etc/neutron/dnsmasq.conf

View File

@ -7,6 +7,7 @@ state_path = /var/lib/neutron
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
debug = {{ debug }}
{% if instance_mtu or dnsmasq_flags -%}
dnsmasq_config_file = /etc/neutron/dnsmasq.conf