Skip to content

Instantly share code, notes, and snippets.

@azweb76
Created June 29, 2017 14:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azweb76/1977df18c1e7ec892f8c97b00dc212c4 to your computer and use it in GitHub Desktop.
Save azweb76/1977df18c1e7ec892f8c97b00dc212c4 to your computer and use it in GitHub Desktop.
openstack-issue-1
prof = profile.Profile()
prof.set_region(prof.ALL, options['region'])
prof.set_version('identity', 'v3')
conn = connection.Connection(
profile=prof,
auth_url=options['auth_url'],
username=options['username'],
password=options['password'],
project_name=options['project_name'],
user_domain_name='Default',
project_domain_name='default',
tenant_name=options['project_name']
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment