Revision history [back]

click to hide/show revision 1
initial version

How can I know the openstacksdk connection is success or failture?

From openstacksdk source :, I can create a connect of connection:

 conn = connect.create_connection(settings.AUTH_URL, '', 'openstack', username, password)

But how can I know whether the conn is success? such as if I give a wrong password. or project name.