Send the network parameters to infracloud controller

Also send the default values for west, to be sure
that settings are properly applied.

Change-Id: Ie332bf2b9970be02311bf76888c28d25249abf61
This commit is contained in:
Yolanda Robla 2016-02-24 23:52:38 +01:00
parent a3620649c2
commit 656bc517e9
2 changed files with 13 additions and 0 deletions

View File

@ -1187,6 +1187,13 @@ node 'controller00.hpuswest.ic.openstack.org' {
controller_public_address => $::fqdn,
openstackci_password => hiera('openstackci_infracloud_password'),
openstackjenkins_password => hiera('openstackjenkins_infracloud_password'),
neutron_subnet_cidr => '15.184.52.0/22',
neutron_subnet_gateway => '15.184.52.1',
neutron_subnet_allocation_pools => [
'start=15.184.53.2,end=15.184.53.254',
'start=15.184.54.2,end=15.184.54.254',
'start=15.184.55.2,end=15.184.55.254'
]
}
}

View File

@ -21,6 +21,9 @@ class openstack_project::infracloud::controller (
$openstackci_email = 'infra-root@openstack.org',
$openstackjenkins_password,
$openstackjenkins_email = 'infra-root@openstack.org',
$neutron_subnet_cidr,
$neutron_subnet_gateway,
$neutron_subnet_allocation_pools,
) {
class { '::infracloud::controller':
keystone_rabbit_password => $keystone_rabbit_password,
@ -41,6 +44,9 @@ class openstack_project::infracloud::controller (
br_name => $br_name,
controller_management_address => $controller_management_address,
controller_public_address => $controller_public_address,
neutron_subnet_cidr => $neutron_subnet_cidr,
neutron_subnet_gateway => $neutron_subnet_gateway,
neutron_subnet_allocation_pools => $neutron_subnet_allocation_pools,
}
keystone_domain { 'infra':