From: Ricardo Noriega Date: Mon, 26 Feb 2018 11:34:39 +0000 (-0500) Subject: Enabling extra bridge for native external network X-Git-Tag: opnfv-6.0.0~18^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=8ed6771038060ee0057dab56c5ec95d6c8b8e49f;hp=484b7f421f8c520e45aa8cf9d9d9304132a79b4a;p=apex.git 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 --- 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