]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add hosts extension to Cinder.
authorJohn Griffith <john.griffith@solidfire.com>
Tue, 13 Nov 2012 19:03:50 +0000 (19:03 +0000)
committerJohn Griffith <john.griffith@solidfire.com>
Fri, 16 Nov 2012 23:43:34 +0000 (23:43 +0000)
commit71d9f1170a5fe087de5a957e46d8c9e0fe9fb574
treece817dd57ab270e9496d913482e3b4c1ac322c5a
parenta8f838177748a3bb371468ff6bc65f29ad0e1c7c
Add hosts extension to Cinder.

This adds the hosts extension to Cinder which is similar to
the extension by the same name in Nova.

This extension allows an admin user to check the status of
Cinder services on different hosts.  In addition it also
provides the capability to get host and project specific information
regarding volume count and space allocated for volumes on a specified
host.

Implements blueprint cinder-hosts-extension

Change-Id: Ic3679cfcd900baecdc2da17e42194cac99c9d422
cinder/api/openstack/volume/contrib/hosts.py [new file with mode: 0644]
cinder/db/api.py
cinder/db/sqlalchemy/api.py
cinder/tests/api/openstack/volume/contrib/test_hosts.py [new file with mode: 0644]
cinder/tests/policy.json
cinder/volume/api.py
etc/cinder/policy.json