Gitiles
Code Review
Sign In
gerrit.opencord.org
/
xos
/
0bf96b21ae0395e710d7b49408dd8c9d1276cf95
/
.
/
planetstack
/
core
/
api
/
auth.py
blob: 8796f1489a50f5bea79959fc658377dec95589f4 [
file
] [
log
] [
blame
]
from
openstack
.
client
import
OpenStackClient
def
auth_check
(
username
,
password
,
tenant
):
client
=
OpenStackClient
(
username
=
username
,
password
=
password
,
tenant
=
tenant
)
client
.
authenticate
()
return
client