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