If you have a non-vlan external network in a
separate interface, you will need to create an
extra bridge to hook up the interface. This patch
will allow the user to create:
- br-isolated: for all the vlan networks
- br-ex: for the native external network
JIRA: APEX-572
Change-Id: Ie76e2345ce75c77f2925c47451427ae41b6957d1
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
-
{%- if not nets['external'][0]['enabled'] or nets['tenant']['nic_mapping'][role]['vlan'] is number or nets['storage']['nic_mapping'][role]['vlan'] is number or nets['api']['nic_mapping'][role]['vlan'] is number or nets['external'][0]['nic_mapping'][role]['vlan'] is number %}
type: ovs_bridge
+ {%- if nets['external'][0]['enabled'] and nets['external'][0]['nic_mapping'][role]['vlan'] == 'native' %}
+ name: br-isolated
+ {%- else %}
name: {get_input: bridge_name}
+ {%- endif %}
members:
-
type: interface