| {%- from "neutron/map.jinja" import server with context -%} |
| [DEFAULT] |
| # (StrOpt) default interface name of the l2 gateway |
| # default_interface_name = |
| # Example: default_interface_name = "FortyGigE1/0/1" |
| |
| # (StrOpt) default device name of the l2 gateway |
| # default_device_name = |
| # Example: default_device_name = "Switch1" |
| |
| # (IntOpt) quota of the l2 gateway |
| quota_l2_gateway = {{ server.l2gw.quota_l2_gateway|default('10') }} |
| # Example: quota_l2_gateway = 10 |
| |
| # (IntOpt) The periodic interval at which the plugin |
| # checks for the monitoring L2 gateway agent |
| periodic_monitoring_interval = {{ server.l2gw.periodic_monitoring_interval|default('5') }} |
| # Example: periodic_monitoring_interval = 5 |
| |
| [service_providers] |
| # Must be in form: |
| # service_provider=<service_type>:<name>:<driver>[:default] |
| # List of allowed service types includes L2GW |
| # Combination of <service type> and <name> must be unique; <driver> must also be unique |
| # This is multiline option |
| service_provider = {{ server.l2gw.service_provider|default('L2GW:l2gw:networking_l2gw.services.l2gateway.service_drivers.rpc_l2gw.L2gwRpcDriver:default') }} |
| |
| {%- if server.get('configmap', {}).l2gw_plugin is defined %} |
| {%- set _data = server.configmap.l2gw_plugin %} |
| {%- include "oslo_templates/files/configmap/configmap.conf" %} |
| {%- endif %} |