]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
HP lefthand driver filter and evalautor function
authorAnthony Lee <anthony.mic.lee@hp.com>
Tue, 3 Mar 2015 01:49:52 +0000 (17:49 -0800)
committerKurt Martin <kurt.f.martin@hp.com>
Mon, 9 Mar 2015 15:03:21 +0000 (15:03 +0000)
commitdcca9f4aa0400580640249d4a45f563aa598868f
tree7a6e0245741a237e5012293787060f31a76c2d64
parent490f03b48a231d9dfdf4c351f8fba72982e46a70
HP lefthand driver filter and evalautor function

This patch implements the merged change in the scheduler
https://review.openstack.org/#/c/129987/ in HP lefthand driver.

1. Added filter_function and goodness_function strings

2. Added 2 stats total_volumes and capacity_utilization so they can be
used as the part of the formula in filter_function or goodness_function
string.

implements: blueprint hplefthand-driver-supplies-filtering-weighing-functions
Change-Id: I6193196ba1930f9d07865c062f12573e1570f290
cinder/tests/test_hplefthand.py
cinder/volume/drivers/san/hp/hp_lefthand_rest_proxy.py