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