Jakub Pavlik | 5a1705a | 2018-01-11 13:03:10 +0100 | [diff] [blame] | 1 | # 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"] %} |
| 11 | NEUTRON_PLUGIN_CONFIG="/etc/neutron/plugins/ml2/ml2_conf.ini" |
| 12 | {%- endif %} |
| 13 | |
| 14 | {%- if server.backend.engine == "contrail" %} |
| 15 | NEUTRON_PLUGIN_CONFIG="/etc/neutron/plugins/opencontrail/ContrailPlugin.ini" |
Oleksii Chupryn | 156c5f4 | 2018-02-07 10:06:50 +0200 | [diff] [blame] | 16 | {%- endif %} |
| 17 | |
| 18 | {%- if server.logging.log_appender %} |
Vladimir Khlyunev | 6117675 | 2018-02-21 16:54:44 +0400 | [diff] [blame] | 19 | DAEMON_ARGS="${DAEMON_ARGS} --log-config-append=/etc/neutron/logging/logging-neutron-server.conf" |
Oleksii Chupryn | 156c5f4 | 2018-02-07 10:06:50 +0200 | [diff] [blame] | 20 | {%- endif %} |