]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Implement get_volume_stats in NFS driver
authorMehdi Abaakouk <mehdi.abaakouk@enovance.com>
Fri, 8 Mar 2013 12:01:57 +0000 (13:01 +0100)
committerMehdi Abaakouk <mehdi.abaakouk@enovance.com>
Thu, 14 Mar 2013 13:24:32 +0000 (14:24 +0100)
commitc47bf9bc3835d4399185376ac07920ef903d79e8
tree71b1ae6723a53e015260ef19a549944dd3727347
parent2d84a97df28fae40a8b5b3d422a702794284beb8
Implement get_volume_stats in NFS driver

Use the already existing code (ie: _get_available_capacity) to
implement get_volume_stats in the nfs driver

Change the netapp nfs driver to use this new implementation
instead of the dumb one.

Fixes bug #1152501

Change-Id: Ie16d9628ba4b096c60966b4aa6192fbdcb9a4f20
cinder/tests/test_nfs.py
cinder/volume/drivers/netapp/nfs.py
cinder/volume/drivers/nfs.py