5ec43f6dbe
* get a list of l3 plugins to enable based on relation data coming from neutron-api; * refactor adding fwaasv2 service plugins to the l3 agent to accommodate the l3_extension_plugins change. See https://github.com/juju/charm-helpers/pull/370 See LP: #1842353 Change-Id: Ic3a8e302942ed331bc3d80223e123c13d61db3b2 Closes-Bug: #1842353
34 lines
1.0 KiB
INI
34 lines
1.0 KiB
INI
# newton
|
|
###############################################################################
|
|
# [ WARNING ]
|
|
# Configuration file maintained by Juju. Local changes may be overwritten.
|
|
###############################################################################
|
|
[DEFAULT]
|
|
interface_driver = openvswitch
|
|
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
|
|
handle_internal_only_routers = {{ handle_internal_only_router }}
|
|
{% if plugin == 'n1kv' %}
|
|
l3_agent_manager = neutron.agent.l3_agent.L3NATAgentWithStateReport
|
|
external_network_bridge = br-int
|
|
ovs_use_veth = False
|
|
use_namespaces = True
|
|
{% else %}
|
|
ovs_use_veth = True
|
|
{% endif %}
|
|
{% if external_configuration_new -%}
|
|
gateway_external_network_id =
|
|
external_network_bridge =
|
|
{% elif ext_net_id %}
|
|
gateway_external_network_id = {{ ext_net_id }}
|
|
{% else %}
|
|
# Set default to deprecated external networking config
|
|
external_network_bridge = br-ex
|
|
{% endif -%}
|
|
agent_mode = {{ agent_mode }}
|
|
{% if use_l3ha -%}
|
|
ha_vrrp_health_check_interval = 30
|
|
{% endif -%}
|
|
|
|
[AGENT]
|
|
extensions = {{ l3_extension_plugins }}
|