shade/doc/source/user/examples/munch-dict-object.py
Doug Hellmann 20b2f1f0c0 reorganize docs using the new standard layout
Move the docs around a little to allow the new templated docs.o.o site
link to things like the user and install guides in the expected location.

Change-Id: I7f3b625c04aa6cd2a7ebe5f2ce4a398cf464b1cc
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-30 10:07:41 -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'])