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