Plug port on OVS agents instead of L3 agents only

This patch aims to complement [1] and define
the port configuration to OVS agents.

[1] https://review.openstack.org/#/c/616874/

Change-Id: I91cc7f9cf69148e23bf68b822368e7a18cee0aab
This commit is contained in:
Guilherme Steinmüller 2018-12-31 15:29:34 +00:00
parent dfc37f0346
commit d2d9d6f077

View File

@ -7,7 +7,7 @@ local_ip = {{ neutron_local_ip }}
{% 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) %}
{% if neutron_services['neutron-openvswitch-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 %}