summaryrefslogtreecommitdiffstats
path: root/deploy/post/keystoneauth.py
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/post/keystoneauth.py')
-rw-r--r--deploy/post/keystoneauth.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/deploy/post/keystoneauth.py b/deploy/post/keystoneauth.py
index 664a794b..fb321d3f 100644
--- a/deploy/post/keystoneauth.py
+++ b/deploy/post/keystoneauth.py
@@ -64,3 +64,9 @@ class Keystoneauth(object):
return reduce(parse_credential,
[(k, v) for (k, v) in raws.iteritems() if k in maps],
defaultdict(dict))
+
+
+class ClientBase(Keystoneauth):
+ def __init__(self, klass, version, openrc):
+ super(ClientBase, self).__init__(openrc)
+ self.client = klass(version, session=self.session)