openstack-ansible-os_neutron/templates/plugins/ml2/openvswitch_agent.ini.j2
Periyasamy Palanisamy 452a2b668b Public n/w access for vxlan tenant n/w in ml2.ovs
Currently neutron role doesn't configure l3 agent (controller) for
external network connecitivity for the openstack tenant network.
This needs some manual configuration to provide public network
access for the tenant VMs. This review attempts to automate these
steps.

Change-Id: I653ee5136ac508c473cbdb761a00454a774a4336
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-05-18 07:37:51 +00:00

27 lines
1.1 KiB
Django/Jinja

# {{ ansible_managed }}
[ovs]
{% if neutron_tunnel_types | length > 0 %}
local_ip = {{ neutron_local_ip }}
{% endif %}
{% if neutron_plugin_type != 'ml2.ovs' and neutron_provider_networks.network_mappings is defined and ((neutron_provider_networks.network_mappings | length) > 0) %}
bridge_mappings = {{ neutron_provider_networks.network_mappings }}
{% endif %}
{% if neutron_services['neutron-l3-agent']['group'] in group_names and neutron_plugin_type == 'ml2.ovs' and neutron_provider_networks.network_mappings is defined and ((neutron_provider_networks.network_mappings | length) > 0) %}
bridge_mappings = {{ neutron_provider_networks.network_mappings }}
{% endif %}
[agent]
l2_population = {{ neutron_plugins[neutron_plugin_type].l2_population }}
tunnel_types = {{ neutron_tunnel_types }}
enable_distributed_routing = {{ neutron_plugins[neutron_plugin_type].router_distributed | default('False') }}
{% if 'qos' in neutron_plugin_base %}
extensions = qos
{% endif %}
# Security groups
[securitygroup]
firewall_driver = {{ neutron_plugins[neutron_plugin_type].driver_firewall }}
enable_security_group = True
enable_ipset = True