openstacksdk/api_strawman/client.py
Jesse Noller e0418241a3 setting up the initial layout; move the api proposals to api_strawman
Change-Id: I7c933d5e023c2a98a64aa90ed209f1e25d07f0d9
2014-01-24 22:58:25 -06:00

13 lines
309 B
Python

class OpenStackClient(object):
def __init__(self, auth):
self._transport = auth.connect()
self._auth = auth
@property
def compute(self):
return ComputeClient(self._transport)
@property
def object_storage(self):
return ObjectStorageClient(self._transport)