diff options
| author | Amey Bhide <abhide@vmware.com> | 2015-05-27 12:31:59 -0700 |
|---|---|---|
| committer | Amey Bhide <abhide@vmware.com> | 2015-05-30 11:26:14 -0700 |
| commit | 5361652d8f0a90b5a2ef296a9fb718ac3d397ea9 (patch) | |
| tree | 5f4934bbc92b4f86eab54072e967f50a81e0e693 /openstackclient/volume/client.py | |
| parent | 211c14c638b9bf393932be42d4f04a4dd12a84bc (diff) | |
| download | python-openstackclient-5361652d8f0a90b5a2ef296a9fb718ac3d397ea9.tar.gz | |
Add support for volume v2 API
Added following commands for volume V2 API:
volume show
volume delete
volume type show
volume type delete
snapshot show
snapshot delete
backup show
backup delete
Implements: blueprint volume-v2
Change-Id: I68bd303c194f304ad15f899d335b72a8bf3ebe10
Diffstat (limited to 'openstackclient/volume/client.py')
| -rw-r--r-- | openstackclient/volume/client.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openstackclient/volume/client.py b/openstackclient/volume/client.py index a7b64def..1038c407 100644 --- a/openstackclient/volume/client.py +++ b/openstackclient/volume/client.py @@ -23,7 +23,8 @@ DEFAULT_VOLUME_API_VERSION = '1' API_VERSION_OPTION = 'os_volume_api_version' API_NAME = "volume" API_VERSIONS = { - "1": "cinderclient.v1.client.Client" + "1": "cinderclient.v1.client.Client", + "2": "cinderclient.v2.client.Client" } |
