Gitiles
Code Review
Sign In
gerrit.opencord.org
/
xos
/
6242394543072d72322bcf4d5d1a54934d8fd3b8
/
.
/
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