Files
shade/doc/source/examples/munch-dict-object.py
Monty Taylor fcaf06c3f2 Add "Multi Cloud with Shade" presentation
Check it out - when we write presentations in presentty, we can
add them to our docs!

First given at the 2017 Boston OpenStack Summit.

Change-Id: Ia46a6f32b6b374974fba7b620b202f8eadc774a1
2017-05-08 13:08:02 -04:00

8 lines
189 B
Python

import shade
shade.simple_logging(debug=True)
cloud = shade.openstack_cloud(cloud='ovh', region_name='SBG1')
image = cloud.get_image('Ubuntu 16.10')
print(image.name)
print(image['name'])