Remove cells.driver configuration option
The cells.driver configuration option was deprecated and is now being removed in the Ocata cycle. Change-Id: I881a5b6c09f4061d73f6007e08515f400ff8e72c
This commit is contained in:
parent
343bf012c1
commit
11ba9d16ac
|
@ -132,12 +132,6 @@
|
||||||
# It might be used by some cell scheduling code in the future
|
# It might be used by some cell scheduling code in the future
|
||||||
# Defaults to '1.0'
|
# Defaults to '1.0'
|
||||||
#
|
#
|
||||||
# DEPRECATED
|
|
||||||
#
|
|
||||||
# [*driver*]
|
|
||||||
# Cells communication driver to use
|
|
||||||
# Defaults to undef
|
|
||||||
#
|
|
||||||
class nova::cells (
|
class nova::cells (
|
||||||
$bandwidth_update_interval = '600',
|
$bandwidth_update_interval = '600',
|
||||||
$call_timeout = '60',
|
$call_timeout = '60',
|
||||||
|
@ -166,17 +160,11 @@ class nova::cells (
|
||||||
$scheduler_weight_classes = 'nova.cells.weights.all_weighers',
|
$scheduler_weight_classes = 'nova.cells.weights.all_weighers',
|
||||||
$weight_offset = '1.0',
|
$weight_offset = '1.0',
|
||||||
$weight_scale = '1.0',
|
$weight_scale = '1.0',
|
||||||
# Deprecated
|
|
||||||
$driver = undef,
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include ::nova::deps
|
include ::nova::deps
|
||||||
include ::nova::params
|
include ::nova::params
|
||||||
|
|
||||||
if $driver {
|
|
||||||
warning('driver parameter is now deprecated, has no effect and will be removed at Ocata cycle.')
|
|
||||||
}
|
|
||||||
|
|
||||||
case $cell_type {
|
case $cell_type {
|
||||||
'parent': {
|
'parent': {
|
||||||
nova_config { 'DEFAULT/compute_api_class': value => 'nova.compute.cells_api.ComputeCellsAPI' }
|
nova_config { 'DEFAULT/compute_api_class': value => 'nova.compute.cells_api.ComputeCellsAPI' }
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- The 'driver' option in [cells] is removed in Ocata.
|
Loading…
Reference in New Issue