]> 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)
committerJohn Griffith <john.griffith@solidfire.com>
Fri, 22 Mar 2013 04:04:38 +0000 (22:04 -0600)
commitd0757d1568c5e6b75aa32c43a10df6232b946c04
tree70f8f8c091cf74366f9f512bd16a5b09d6ab86de
parent36e4e85b1f669a9fed873f4a43c783947430c763
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
(cherry picked from commit c47bf9bc3835d4399185376ac07920ef903d79e8)
cinder/tests/test_nfs.py
cinder/volume/drivers/netapp/nfs.py
cinder/volume/drivers/nfs.py