compute: move neutron config in compute instead of network
Close bug #222 Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
@@ -34,6 +34,10 @@ describe 'cloud::compute::controller' do
|
||||
verbose => true,
|
||||
debug => true,
|
||||
use_syslog => true,
|
||||
neutron_protocol => 'http',
|
||||
neutron_endpoint => '10.0.0.1',
|
||||
neutron_region_name => 'MyRegion',
|
||||
neutron_password => 'secrete',
|
||||
log_facility => 'LOG_LOCAL0' }"
|
||||
end
|
||||
|
||||
@@ -64,6 +68,15 @@ describe 'cloud::compute::controller' do
|
||||
should contain_nova_config('DEFAULT/resume_guests_state_on_host_boot').with('value' => true)
|
||||
end
|
||||
|
||||
it 'configure neutron on compute node' do
|
||||
should contain_class('nova::network::neutron').with(
|
||||
:neutron_admin_password => 'secrete',
|
||||
:neutron_admin_auth_url => 'http://10.0.0.1:35357/v2.0',
|
||||
:neutron_region_name => 'MyRegion',
|
||||
:neutron_url => 'http://10.0.0.1:9696'
|
||||
)
|
||||
end
|
||||
|
||||
it 'checks if Nova DB is populated' do
|
||||
should contain_exec('nova_db_sync').with(
|
||||
:command => '/usr/bin/nova-manage db sync',
|
||||
|
||||
Reference in New Issue
Block a user