]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add os-availability-zone extension
authorBrian Waldon <bcwaldon@gmail.com>
Wed, 26 Jun 2013 16:43:48 +0000 (09:43 -0700)
committerBrian Waldon <bcwaldon@gmail.com>
Fri, 28 Jun 2013 14:26:34 +0000 (07:26 -0700)
commit993afc46c0fb674a89a620671a0d82f0c2daf0aa
tree0c64b017b7275d4cab103cfb0ca159dbf7c14acc
parent6f3b40c59dc46765677930016edf0ba1f7dbd1f9
Add os-availability-zone extension

* Query /os-availability-zone to get an object representing the configured
  availability zones and their state
* This implements a subset of Nova's os-availability-zone extension

Fixes bug 1195461

Change-Id: Ic0a8eb5a82ca0a4eed3b1e1cd6cf3a4665589307
cinder/api/contrib/availability_zones.py [new file with mode: 0644]
cinder/api/views/availability_zones.py [new file with mode: 0644]
cinder/tests/api/contrib/test_availability_zones.py [new file with mode: 0644]
cinder/tests/api/v1/stubs.py
cinder/tests/api/v2/stubs.py
cinder/tests/test_volume.py
cinder/volume/api.py