]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Implement capability to extend existing volume.
authorJohn Griffith <john.griffith@solidfire.com>
Mon, 10 Jun 2013 20:26:57 +0000 (14:26 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Fri, 14 Jun 2013 05:47:39 +0000 (23:47 -0600)
commit2833754310d19584c3fc95b01a3c1eeccf1a3620
tree1ec30443a5580336fe9914bcfdd874a673637050
parent28c6255fc781ca7bfe57c42502a06570a7f0d725
Implement capability to extend existing volume.

This patch adds the core components to implement extending
the size of an existing available volume.

Volume status must be available, and the format is:
    extend <vol-id> <new-size>

where new-size must be > current size.

Adding support to drivers will be handled in follow up
patches for each of the existing drivers.

Implements blueprint: volume-resize

Change-Id: I40026083e564ea2074757e11e13cd07cdae3e6cc
cinder/api/contrib/volume_actions.py
cinder/tests/api/contrib/test_volume_actions.py
cinder/tests/policy.json
cinder/tests/test_volume.py
cinder/volume/api.py
cinder/volume/driver.py
cinder/volume/manager.py
cinder/volume/rpcapi.py
etc/cinder/policy.json