Remove bridge from nic1 in network bond templates
authorDan Sneddon <dsneddon@redhat.com>
Sat, 27 Jun 2015 22:01:28 +0000 (15:01 -0700)
committerDan Sneddon <dsneddon@redhat.com>
Sat, 27 Jun 2015 22:01:28 +0000 (15:01 -0700)
The bridge that is built on the bonds in the bond-with-vlans
example has an extraneous bridge on the storage and compute
templates, and an incorrect bridge on the controller template.
There is no reason to do anything on nic1, which is assumed to
be the provisioning interface, because it will be configured by
DHCP. Also, on the controller template we actually want br-ex
to contain the VLAN with the external network, rather than be
configured on the provisioning interface.

Change-Id: Ibe2343d5281f7b63a7b63b17d96d8442d0b96105

network/config/bond-with-vlans/ceph-storage.yaml
network/config/bond-with-vlans/cinder-storage.yaml
network/config/bond-with-vlans/compute.yaml
network/config/bond-with-vlans/controller.yaml
network/config/bond-with-vlans/swift-storage.yaml

index ed9fff7..cd70cbe 100644 (file)
@@ -48,16 +48,6 @@ resources:
       config:
         os_net_config:
           network_config:
-            -
-              type: ovs_bridge
-              name: br-storage
-              use_dhcp: true
-              members:
-                -
-                  type: interface
-                  name: nic1
-                  # force the MAC address of the bridge to this interface
-                  primary: true
             -
               type: ovs_bridge
               name: br-bond
index 95733fc..866112c 100644 (file)
@@ -51,16 +51,6 @@ resources:
       config:
         os_net_config:
           network_config:
-            -
-              type: ovs_bridge
-              name: br-storage
-              use_dhcp: true
-              members:
-                -
-                  type: interface
-                  name: nic1
-                  # force the MAC address of the bridge to this interface
-                  primary: true
             -
               type: ovs_bridge
               name: br-bond
index 709b3b5..5105ee1 100644 (file)
@@ -51,16 +51,6 @@ resources:
       config:
         os_net_config:
           network_config:
-            -
-              type: ovs_bridge
-              name: {get_input: bridge_name}
-              use_dhcp: true
-              members:
-                -
-                  type: interface
-                  name: nic1
-                  # force the MAC address of the bridge to this interface
-                  primary: true
             -
               type: ovs_bridge
               name: br-bond
index 16a0dec..2498376 100644 (file)
@@ -59,23 +59,13 @@ resources:
       config:
         os_net_config:
           network_config:
-            -
-              type: ovs_bridge
-              name: {get_input: bridge_name}
-              use_dhcp: true
-              members:
-                -
-                  type: interface
-                  name: nic1
-                  # force the MAC address of the bridge to this interface
-                  primary: true
             -
               type: ovs_bridge
               name: br-bond
               members:
                 -
                   type: ovs_bond
-                  name: bond1
+                  name: {get_input: bridge_name}
                   ovs_options: {get_param: BondInterfaceOvsOptions}
                   members:
                     -
index 6549ce7..f31ed0e 100644 (file)
@@ -51,16 +51,6 @@ resources:
       config:
         os_net_config:
           network_config:
-            -
-              type: ovs_bridge
-              name: br-storage
-              use_dhcp: true
-              members:
-                -
-                  type: interface
-                  name: nic1
-                  # force the MAC address of the bridge to this interface
-                  primary: true
             -
               type: ovs_bridge
               name: br-bond