Merge "Adds nosdn-noha scenario and fixes opencontrail scenario naming"
authorDan Radez <dradez@redhat.com>
Fri, 20 May 2016 20:25:18 +0000 (20:25 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Fri, 20 May 2016 20:25:18 +0000 (20:25 +0000)
build/nics-compute.yaml.jinja2
build/nics-controller.yaml.jinja2

index 12d9059..3a73bbd 100644 (file)
@@ -106,20 +106,12 @@ resources:
             {%- set nic_index = 2 %}
             {%- if 'private_network' in enabled_networks %}
             -
-              # Create a bridge which can also be used for VLAN-mode bridge mapping
-              type: ovs_bridge
-              name: br-tenant
+              type: interface
+              name: nic{{ nic_index }}{% set nic_index = nic_index + 1 %}
               use_dhcp: false
               addresses:
                 -
                   ip_netmask: {get_param: TenantIpSubnet}
-              members:
-                -
-                  type: interface
-                  name: nic{{ nic_index }}{% set nic_index = nic_index + 1 %}
-                  use_dhcp: false
-                  # force the MAC address of the bridge to this interface
-                  primary: true
             {%- endif %}
             {%- if external_net_type == "interface" %}
             -
index d135e2e..d97ee39 100644 (file)
@@ -104,20 +104,12 @@ resources:
             {%- set nic_index = 2 %}
             {%- if 'private_network' in enabled_networks %}
             -
-              # Create a bridge which can also be used for VLAN-mode bridge mapping
-              type: ovs_bridge
-              name: br-tenant
+              type: interface
+              name: nic{{ nic_index }}{% set nic_index = nic_index + 1 %}
               use_dhcp: false
               addresses:
                 -
                   ip_netmask: {get_param: TenantIpSubnet}
-              members:
-                -
-                  type: interface
-                  name: nic{{ nic_index }}{% set nic_index = nic_index + 1 %}
-                  use_dhcp: false
-                  # force the MAC address of the bridge to this interface
-                  primary: true
             {%- endif %}
             -
               type: ovs_bridge