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

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'))