Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys
- from openstack import connection
- conn = connection.Connection(auth_url="url", username="user", password="pw", project_name="name", user_domain_id="default", project_domain_id="default")
- token = conn.authorize()
- # This could be another app, the same one, etc.
- another_conn = connection.Connection(auth_url="url", token=token, auth_plugin="token")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement