
This sucks in the git history for both projects, then moves their files in place. It should not introduce any behavior changes to any of the existing openstacksdk code, nor to openstack.config and openstack.cloud - other than the name change. TODO(shade) comments have been left indicating places where further integration work should be done. It should not be assumed that these are the final places for either to live. This is just about getting them in-tree so we can work with them. The enforcer code for reasons surpassing understanding does not work with python setup.py build_sphinx but it does work with sphinx-build (what?) For now turn it off. We can turn it back on once the build sphinx job is migrated to the new PTI. Change-Id: I9523e4e281285360c61e9e0456a8e07b7ac1243c
596 B
596 B
Usage
To use openstack.cloud in a project:
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. Munch objects can be accessed using either
dictionary or object notation (e.g., server.id
,
image.name
and server['id']
,
image['name']
)
openstack.OpenStackCloud
openstack.OperatorCloud