Use oslo module for configuration

Oslo module has the control_exchange and rpc_response_timeout parameters,
so use oslo module (oslo::messaging::default) to configure them.

Change-Id: Ia751ae4ffeea784c9ac0ec6925169155a3f72553
This commit is contained in:
ZhongShengping 2016-05-07 13:17:17 +08:00
parent 1ead3cfa3d
commit ccfdc7ecdf

View File

@ -410,15 +410,18 @@ class neutron (
'DEFAULT/allow_pagination': value => $allow_pagination;
'DEFAULT/allow_sorting': value => $allow_sorting;
'DEFAULT/allow_overlapping_ips': value => $allow_overlapping_ips;
'DEFAULT/control_exchange': value => $control_exchange;
'DEFAULT/api_extensions_path': value => $api_extensions_path;
'DEFAULT/state_path': value => $state_path;
'DEFAULT/rpc_response_timeout': value => $rpc_response_timeout;
'DEFAULT/global_physnet_mtu': value => pick($network_device_mtu, $global_physnet_mtu);
'agent/root_helper': value => $root_helper;
'agent/report_interval': value => $report_interval;
}
oslo::messaging::default { 'neutron_config':
rpc_response_timeout => $rpc_response_timeout,
control_exchange => $control_exchange
}
oslo::concurrency { 'neutron_config': lock_path => $lock_path }
oslo::messaging::notifications { 'neutron_config':