blob: b2e8978beba84f12045637c74b63432cec502b7c [file] [log] [blame]
Jakub Pavlik5a1705a2018-01-11 13:03:10 +01001# Generated by Salt.
2{%- from "neutron/map.jinja" import server with context %}
3
4# defaults for neutron-server
5
6# path to config file corresponding to the core_plugin specified in
7# neutron.conf
8#NEUTRON_PLUGIN_CONFIG="/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini"
9
10{%- if server.backend.engine in ["ml2", "ovn"] %}
11NEUTRON_PLUGIN_CONFIG="/etc/neutron/plugins/ml2/ml2_conf.ini"
12{%- endif %}
13
14{%- if server.backend.engine == "contrail" %}
15NEUTRON_PLUGIN_CONFIG="/etc/neutron/plugins/opencontrail/ContrailPlugin.ini"
Oleksii Chupryn156c5f42018-02-07 10:06:50 +020016{%- endif %}
17
18{%- if server.logging.log_appender %}
Vladimir Khlyunev61176752018-02-21 16:54:44 +040019DAEMON_ARGS="${DAEMON_ARGS} --log-config-append=/etc/neutron/logging/logging-neutron-server.conf"
Oleksii Chupryn156c5f42018-02-07 10:06:50 +020020{%- endif %}