Files
shade/doc/source/examples/service-conditionals.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

7 lines
202 B
Python

import shade
shade.simple_logging(debug=True)
cloud = shade.openstack_cloud(cloud='kiss', region_name='region1')
print(cloud.has_service('network'))
print(cloud.has_service('container-orchestration'))