Expose br_name in controller and compute classes

With 700a70c parameterizing the name of the bridge to attach to, we now
need a way to control it through the node definition. This patch
exposes the parameter in the controller and compute classes that wrap
the veth defined type so that system-config can specify the bridge
name.

Change-Id: I10d0623a8b4fc0b4abfcb414673346cf944fbdfd
This commit is contained in:
Colleen Murphy 2016-02-03 14:22:26 -08:00
parent 700a70c35f
commit 42a3ffe5a0
2 changed files with 8 additions and 2 deletions

View File

@ -2,13 +2,16 @@ class infracloud::compute(
$nova_rabbit_password,
$neutron_rabbit_password,
$neutron_admin_password,
$br_name,
$controller_public_address,
$controller_management_address,
) {
### Networking ###
include ::infracloud::veth
class {'::infracloud::veth':
br_name => $br_name,
}
### Repos ###
include ::apt

View File

@ -21,6 +21,7 @@ class infracloud::controller(
$glance_ssl_cert_file_contents,
$nova_ssl_key_file_contents,
$nova_ssl_cert_file_contents,
$br_name,
$controller_management_address,
$controller_public_address = $::fqdn,
) {
@ -40,7 +41,9 @@ class infracloud::controller(
### Networking ###
include ::infracloud::veth
class { '::infracloud::veth':
br_name => $br_name,
}
### Repos ###