b9cc37627113cc766e9ee85c603dcb67499431fe

The server IP resource can only list. The Resource.list method needed to be overridden because: * The url path contains the server_id. * The output is a dict of networks rather than an array. Also in this change: * ServerIP objects have sufficient information to stand on their own because they contain the server_id and network_label. * An ips(session) convenience method has been added to the Server. * The list example has been updated to pass data to path_args so the list method and format the url. The path_args parameter to list may be convenient for other classes. I didn't add it to the Resource.list method because that isn't required for this change. Change-Id: Iac77aba144d2e5b4ca4cdbf97e534d83519066ef
OpenStack Python SDK
python-openstacksdk
is a new Python library and SDK for
OpenStack clouds. It is very young, and not yet usable, but it's under
active development.
Our goal is to provide a Python library which is:
- Pleasant to use
- Well documented
- Complete (works with any OpenStack project)
Building Documentation
This documentation is written by contributors, for contributors.
The source is maintained in the doc/source/
folder using
reStructuredText
and built by Sphinx
To build the docs locally:
$ python setup.py build_sphinx
Results are in the doc/build/sphinx/html/
directory.
Requirements
- Python 2.6+, Python 3.3+
- pbr
- requests
License
Apache 2.0
Description