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