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