Remove hardcoded bridge name in bonded compute NIC config

This change removes a hardcoded value for the bond name in the NIC
config for the compute node in the bond-with-vlan NIC config
templates. When this hardcoded value of "br-bond" is used, then the
Neutron bridge mappings must be set to set to datacentre:br-bond in
order for VLAN mode networking to recognize the bridge. By using the
input value for bridge_name we will ensure that the controller and
compute nodes have the same bridge name (defaults to "br-ex"), and
that the defaults will work with VLAN mode.

Change-Id: I28654ab93e3c10a8597c8b877f3f2f6b3eca887c
This commit is contained in:
Dan Sneddon 2015-08-17 14:08:08 -07:00
parent e96c087509
commit 91af5ac557
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ resources:
network_config:
-
type: ovs_bridge
name: br-bond
name: {get_input: bridge_name}
members:
-
type: ovs_bond