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