e0418241a3
Change-Id: I7c933d5e023c2a98a64aa90ed209f1e25d07f0d9
13 lines
309 B
Python
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)
|