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:
ZhongShengping 2016-10-24 13:41:22 +08:00
parent 343bf012c1
commit 11ba9d16ac
2 changed files with 3 additions and 12 deletions

View File

@ -132,12 +132,6 @@
# It might be used by some cell scheduling code in the future
# Defaults to '1.0'
#
# DEPRECATED
#
# [*driver*]
# Cells communication driver to use
# Defaults to undef
#
class nova::cells (
$bandwidth_update_interval = '600',
$call_timeout = '60',
@ -166,17 +160,11 @@ class nova::cells (
$scheduler_weight_classes = 'nova.cells.weights.all_weighers',
$weight_offset = '1.0',
$weight_scale = '1.0',
# Deprecated
$driver = undef,
) {
include ::nova::deps
include ::nova::params
if $driver {
warning('driver parameter is now deprecated, has no effect and will be removed at Ocata cycle.')
}
case $cell_type {
'parent': {
nova_config { 'DEFAULT/compute_api_class': value => 'nova.compute.cells_api.ComputeCellsAPI' }

View File

@ -0,0 +1,3 @@
---
upgrade:
- The 'driver' option in [cells] is removed in Ocata.