summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Noriega <rnoriega@redhat.com>2018-02-26 06:34:39 -0500
committerRicardo Noriega <rnoriega@redhat.com>2018-03-12 15:25:31 +0000
commit8ed6771038060ee0057dab56c5ec95d6c8b8e49f (patch)
treee018265cc09fc26520f16ac3a4221c20b8fccacc
parent484b7f421f8c520e45aa8cf9d9d9304132a79b4a (diff)
Enabling extra bridge for native external network
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>
-rw-r--r--build/nics-template.yaml.jinja24
1 files changed, 4 insertions, 0 deletions
diff --git a/build/nics-template.yaml.jinja2 b/build/nics-template.yaml.jinja2
index 93d3dc14..b1069d2c 100644
--- a/build/nics-template.yaml.jinja2
+++ b/build/nics-template.yaml.jinja2
@@ -87,7 +87,11 @@ resources:
-
{%- 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