Gitiles
Code Review
Sign In
gerrit.opencord.org
/
xos
/
5f7abe01abe493719499c59c547bef659a2b5b06
/
.
/
plstackapi
/
planetstack
/
api
/
auth.py
blob: e204d726fd4e5cc6a27c92c2287d912fdf61b372 [
file
] [
log
] [
blame
]
from
plstackapi
.
openstack
.
driver
import
OpenStackDriver
def
auth_check
(
auth
):
client
=
OpenStackDriver
(
username
=
auth
[
'Username'
],
password
=
auth
[
'AuthString'
],
tenant
=
auth
[
'LoginBase'
])
client
.
authenticate
()
return
client