Skip to content
Snippets Groups Projects
Commit 1706e17a authored by liyingjun's avatar liyingjun Committed by Praveen N
Browse files

Fix template for multiple physical networks

This patch [1] adds support to config multiple physical networks for
ovs neutron plugin, but it missed to change ml2_conf.ini.j2
correspondingly.

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

Change-Id: I1937e1e5986657470add07d4bcf8587642aa45ec
Closes-bug: #1631903
parent 622c88ec
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ network_vlan_ranges = ...@@ -30,7 +30,7 @@ network_vlan_ranges =
{% if enable_ironic | bool %} {% if enable_ironic | bool %}
flat_networks = * flat_networks = *
{% else %} {% else %}
flat_networks = physnet1 flat_networks = {% for bridge in neutron_bridge_name.split(',') %}physnet{{ loop.index0 + 1 }}{% if not loop.last %},{% endif %}{% endfor %}
{% endif %} {% endif %}
[ml2_type_vxlan] [ml2_type_vxlan]
...@@ -55,7 +55,8 @@ enable_distributed_routing = True ...@@ -55,7 +55,8 @@ enable_distributed_routing = True
{% endif %} {% endif %}
[ovs] [ovs]
bridge_mappings = physnet1:{{ neutron_bridge_name }} bridge_mappings = {% for bridge in neutron_bridge_name.split(',') %}physnet{{ loop.index0 + 1 }}:{{ bridge }}{% if not loop.last %},{% endif %}{% endfor %}
ovsdb_connection = tcp:{{ api_interface_address }}:6640 ovsdb_connection = tcp:{{ api_interface_address }}:6640
{% if enable_nova_fake | bool %} {% if enable_nova_fake | bool %}
integration_bridge = br-int-{{ item }} integration_bridge = br-int-{{ item }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment