24950b3894
multiple external networks are supported by linuxbridge and OVS. Currently the config template only works for OVS Closes-Bug: #1863935 Change-Id: I9da331e007c25c4a760839c566831769a68507a9
24 lines
914 B
Django/Jinja
24 lines
914 B
Django/Jinja
[agent]
|
|
{% if neutron_agent_extensions %}
|
|
extensions = {{ neutron_agent_extensions|map(attribute='name')|join(',') }}
|
|
{% endif %}
|
|
|
|
[linux_bridge]
|
|
{% if inventory_hostname in groups["network"] or (inventory_hostname in groups["compute"] and computes_need_external_bridge | bool ) %}
|
|
physical_interface_mappings = {% for interface in neutron_external_interface.split(',') %}physnet{{ loop.index0 + 1 }}:{{ interface }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
{% endif %}
|
|
|
|
[securitygroup]
|
|
firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
|
|
|
|
[vxlan]
|
|
l2_population = true
|
|
local_ip = {{ tunnel_interface_address }}
|
|
|
|
{% if enable_neutron_sriov | bool %}
|
|
[FDB]
|
|
# Allows instances using sriov ports to communicate with instances that do not.
|
|
# See https://docs.openstack.org/neutron/latest/admin/config-sriov.html
|
|
shared_physical_device_mappings = {{ neutron_sriov_physnets }}
|
|
{% endif %}
|