Skip to content

Instantly share code, notes, and snippets.

@seanhandley

seanhandley/clouds.yaml

Last active Jul 21, 2016
Embed
What would you like to do?
clouds:
datacentred:
auth:
username: YOUR_USERNAME
password: YOUR_PASSWORD
project_name: YOUR_PROJECT_NAME
auth_url: https://compute.datacentred.io:5000/v2.0/
import shade
cloud = shade.openstack_cloud(cloud='datacentred')
print cloud.list_flavors() # Should see lots of output
@seanhandley

This comment has been minimized.

Copy link
Owner Author

@seanhandley seanhandley commented Jul 21, 2016

Ensure that clouds.yaml is in the same directory as your python code - shade will by default look first in the current directory for the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.