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