summaryrefslogtreecommitdiff
path: root/openstackclient/common
diff options
context:
space:
mode:
authorSteve Martinelli <stevemar@ca.ibm.com>2013-02-01 01:12:05 -0600
committerSteve Martinelli <stevemar@ca.ibm.com>2013-02-08 10:22:01 -0600
commit7072b4f802ff5567f0781f89f360c5be43a7977e (patch)
treef765982727c38dc0905abf3fde668724b255a6ff /openstackclient/common
parentf432131fe7228e05d2873e93f97b7281c756eb01 (diff)
downloadpython-openstackclient-7072b4f802ff5567f0781f89f360c5be43a7977e.tar.gz
Add Cinder API V1 Support
made the changes suggested by dtroyer added client modified setup.py entry points updated pip required added support for create/delete/list volume types openstack list type openstack create type typeName openstack delete type typeNameOrId Change-Id: I43655de151582e37f14dc9550151a66db7a009ab
Diffstat (limited to 'openstackclient/common')
-rw-r--r--openstackclient/common/clientmanager.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/openstackclient/common/clientmanager.py b/openstackclient/common/clientmanager.py
index 830ecde7..a1b838a2 100644
--- a/openstackclient/common/clientmanager.py
+++ b/openstackclient/common/clientmanager.py
@@ -20,6 +20,7 @@ import logging
from openstackclient.compute import client as compute_client
from openstackclient.identity import client as identity_client
from openstackclient.image import client as image_client
+from openstackclient.volume import client as volume_client
LOG = logging.getLogger(__name__)
@@ -43,6 +44,7 @@ class ClientManager(object):
compute = ClientCache(compute_client.make_client)
identity = ClientCache(identity_client.make_client)
image = ClientCache(image_client.make_client)
+ volume = ClientCache(volume_client.make_client)
def __init__(self, token=None, url=None, auth_url=None, tenant_name=None,
tenant_id=None, username=None, password=None,