shade/doc/source/usage.rst

542 B

Usage

To use shade in a project:

import shade

Note

API methods that return a description of an OpenStack resource (e.g., server instance, image, volume, etc.) do so using a munch.Munch object from the Munch library. Munch objects can be accessed using either dictionary or object notation (e.g., server.id, image.name and server['id'], image['name'])

shade.OpenStackCloud

shade.OperatorCloud