Merge "Neutron: enable setting debug as True or False"
This commit is contained in:
commit
7957489003
10
lib/neutron
10
lib/neutron
@ -126,7 +126,7 @@ function configure_neutron_new {
|
|||||||
iniset $NEUTRON_CONF oslo_concurrency lock_path $NEUTRON_STATE_PATH/lock
|
iniset $NEUTRON_CONF oslo_concurrency lock_path $NEUTRON_STATE_PATH/lock
|
||||||
iniset $NEUTRON_CONF DEFAULT use_syslog $SYSLOG
|
iniset $NEUTRON_CONF DEFAULT use_syslog $SYSLOG
|
||||||
|
|
||||||
iniset $NEUTRON_CONF DEFAULT debug True
|
iniset $NEUTRON_CONF DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL
|
||||||
|
|
||||||
iniset_rpc_backend neutron $NEUTRON_CONF
|
iniset_rpc_backend neutron $NEUTRON_CONF
|
||||||
|
|
||||||
@ -172,7 +172,7 @@ function configure_neutron_new {
|
|||||||
# Neutron OVS or LB agent
|
# Neutron OVS or LB agent
|
||||||
if is_service_enabled neutron-agent; then
|
if is_service_enabled neutron-agent; then
|
||||||
iniset $NEUTRON_PLUGIN_CONF agent tunnel_types vxlan
|
iniset $NEUTRON_PLUGIN_CONF agent tunnel_types vxlan
|
||||||
iniset $NEUTRON_PLUGIN_CONF DEFAULT debug True
|
iniset $NEUTRON_PLUGIN_CONF DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL
|
||||||
|
|
||||||
# Configure the neutron agent
|
# Configure the neutron agent
|
||||||
if [[ $NEUTRON_AGENT == "linuxbridge" ]]; then
|
if [[ $NEUTRON_AGENT == "linuxbridge" ]]; then
|
||||||
@ -188,7 +188,7 @@ function configure_neutron_new {
|
|||||||
if is_service_enabled neutron-dhcp; then
|
if is_service_enabled neutron-dhcp; then
|
||||||
cp $NEUTRON_DIR/etc/dhcp_agent.ini.sample $NEUTRON_DHCP_CONF
|
cp $NEUTRON_DIR/etc/dhcp_agent.ini.sample $NEUTRON_DHCP_CONF
|
||||||
|
|
||||||
iniset $NEUTRON_DHCP_CONF DEFAULT debug True
|
iniset $NEUTRON_DHCP_CONF DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL
|
||||||
# make it so we have working DNS from guests
|
# make it so we have working DNS from guests
|
||||||
iniset $NEUTRON_DHCP_CONF DEFAULT dnsmasq_local_resolv True
|
iniset $NEUTRON_DHCP_CONF DEFAULT dnsmasq_local_resolv True
|
||||||
|
|
||||||
@ -202,7 +202,7 @@ function configure_neutron_new {
|
|||||||
iniset $NEUTRON_L3_CONF DEFAULT interface_driver $NEUTRON_AGENT
|
iniset $NEUTRON_L3_CONF DEFAULT interface_driver $NEUTRON_AGENT
|
||||||
iniset $NEUTRON_CONF DEFAULT service_plugins router
|
iniset $NEUTRON_CONF DEFAULT service_plugins router
|
||||||
iniset $NEUTRON_L3_CONF agent root_helper_daemon "$NEUTRON_ROOTWRAP_DAEMON_CMD"
|
iniset $NEUTRON_L3_CONF agent root_helper_daemon "$NEUTRON_ROOTWRAP_DAEMON_CMD"
|
||||||
iniset $NEUTRON_L3_CONF DEFAULT debug True
|
iniset $NEUTRON_L3_CONF DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL
|
||||||
neutron_plugin_configure_l3_agent $NEUTRON_L3_CONF
|
neutron_plugin_configure_l3_agent $NEUTRON_L3_CONF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -210,7 +210,7 @@ function configure_neutron_new {
|
|||||||
if is_service_enabled neutron-metadata-agent; then
|
if is_service_enabled neutron-metadata-agent; then
|
||||||
cp $NEUTRON_DIR/etc/metadata_agent.ini.sample $NEUTRON_META_CONF
|
cp $NEUTRON_DIR/etc/metadata_agent.ini.sample $NEUTRON_META_CONF
|
||||||
|
|
||||||
iniset $NEUTRON_META_CONF DEFAULT debug True
|
iniset $NEUTRON_META_CONF DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL
|
||||||
iniset $NEUTRON_META_CONF DEFAULT nova_metadata_ip $SERVICE_HOST
|
iniset $NEUTRON_META_CONF DEFAULT nova_metadata_ip $SERVICE_HOST
|
||||||
iniset $NEUTRON_META_CONF agent root_helper_daemon "$NEUTRON_ROOTWRAP_DAEMON_CMD"
|
iniset $NEUTRON_META_CONF agent root_helper_daemon "$NEUTRON_ROOTWRAP_DAEMON_CMD"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user