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