class Client:
- def __init__(self, username=None, password=None, tenant=None, url=None, config=None):
+ def __init__(self, username=None, password=None, tenant=None, url=None, config=None, *args, **kwds):
if config:
config = Config(config)
else:
This class can receive all nova calls to the underlying testbed
"""
- def __init__ ( self, config=None) :
+ def __init__ ( self, *args, **kwds) :
# instantiate managers
- self.keystone = KeystoneClient(config=config)
- self.glance = GlanceClient(config=config)
- self.nova = NovaClient(config=config)
+ self.keystone = KeystoneClient(*args, **kwds)
+ self.glance = GlanceClient(*args, **kwds)
+ self.nova = NovaClient(*args, **kwds)
+
+ def authenticate(self):
+ return self.keystone.authenticate()