openstack-ansible-os_neutron/templates/plugins/ml2/openvswitch_agent.ini.j2
Travis Truman 30439c262c Dynamic Neutron OVS agent tunnel_types and local_ip config
Both of these configs are now dynamic based on the presence
of tunnel type networks in var neutron_ml2_drivers_type

Change-Id: I4f03b707b0d171b14133cc9d1723458d9b1b3668
Implements: blueprint support-openvswitch
2016-06-24 14:26:20 -04:00

21 lines
596 B
Django/Jinja

# {{ ansible_managed }}
# Linux bridge agent physical interface mappings
[ovs]
{% if neutron_tunnel_types | length > 0 %}
local_ip = {{ neutron_local_ip }}
{% endif %}
{% if neutron_provider_networks.network_mappings is defined %}
bridge_mappings = {{ neutron_provider_networks.network_mappings }}
{% endif %}
[agent]
l2_population = {{ neutron_plugins[neutron_plugin_type].l2_population }}
tunnel_types = {{ neutron_tunnel_types }}
# Security groups
[securitygroup]
firewall_driver = {{ neutron_plugins[neutron_plugin_type].driver_firewall }}
enable_security_group = True
enable_ipset = True