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