]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Volume manager should set filter_function and goodness_function
authorDaniel Wilson <daniel.wilson@purestorage.com>
Wed, 10 Jun 2015 21:32:49 +0000 (14:32 -0700)
committerDaniel Wilson <daniel.wilson@purestorage.com>
Thu, 11 Jun 2015 23:18:50 +0000 (16:18 -0700)
commitcbc708b13982bc11eb4956c9f3f1f96f009dafff
tree88ee4f08d4382098559885245613fa474d4a8a3d
parent6feb65dcf4690f236afcf89bfd9509462c55befe
Volume manager should set filter_function and goodness_function

If a user defines a filter_function or goodness_function in their cinder.conf
file the scheduler should use that function. This change appends those
functions to volume_stats if the driver has not specified them.

Change-Id: I76f90aa3c1bda7564185d8e130926af7d0827e0e
Closes-Bug: #1458061
cinder/tests/unit/test_volume.py
cinder/volume/manager.py