Monty Taylor a50a784375
Merge OpenstackCloud and OperatorCloud files
Change-Id: I4db00729eb9668baac25e722ee49263609c7dbb9
2018-01-27 12:38:20 -06:00

20 lines
549 B
ReStructuredText

=====
Usage
=====
To use `openstack.cloud` in a project:
.. code-block:: python
import openstack.cloud
.. 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 <https://github.com/Infinidat/munch>`_. `Munch`
objects can be accessed using either dictionary or object notation
(e.g., ``server.id``, ``image.name`` and ``server['id']``, ``image['name']``)
.. autoclass:: openstack.cloud.OpenStackCloud
:members: