]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add get_volume_stats in the sheepdog driver.
authorWenhao Xu <xuwenhao2008@gmail.com>
Sat, 2 Mar 2013 17:19:08 +0000 (01:19 +0800)
committerWenhao Xu <xuwenhao2008@gmail.com>
Wed, 6 Mar 2013 06:03:24 +0000 (14:03 +0800)
commit1867b89a53e3e46394e9db80e0dc82471661068c
tree0c80b754201f9bf114f6e6fe357b8b30c289d9f5
parente9978269901658f5b463f5096661afde5ce8bb58
Add get_volume_stats in the sheepdog driver.

1. Allow sheepdog driver to report capabilities to the scheduler.
2. add the initial test_sheepdog.py

Fixes Bug #1140162

Change-Id: I6fb1fb6714ab4ae9878b593e6eee0a94d95ef29f
cinder/tests/test_sheepdog.py [new file with mode: 0644]
cinder/volume/drivers/sheepdog.py