2011-02-08 09:27:22 -04:00
|
|
|
Python bindings to the OpenStack Nova API
|
2014-10-13 17:26:40 +03:00
|
|
|
=========================================
|
2011-01-25 14:01:22 -06:00
|
|
|
|
2011-02-08 09:27:22 -04:00
|
|
|
This is a client for OpenStack Nova API. There's :doc:`a Python API
|
2011-02-26 05:04:40 -04:00
|
|
|
<api>` (the :mod:`novaclient` module), and a :doc:`command-line script
|
2011-02-24 13:54:10 -04:00
|
|
|
<shell>` (installed as :program:`nova`). Each implements the entire
|
2011-02-08 09:27:22 -04:00
|
|
|
OpenStack Nova API.
|
2011-01-25 14:01:22 -06:00
|
|
|
|
2012-06-25 18:53:09 -05:00
|
|
|
You'll need credentials for an OpenStack cloud that implements the
|
|
|
|
Compute API, such as TryStack, HP, or Rackspace, in order to use the nova client.
|
2011-01-25 14:01:22 -06:00
|
|
|
|
|
|
|
.. seealso::
|
|
|
|
|
2012-06-25 18:53:09 -05:00
|
|
|
You may want to read the `OpenStack Compute Developer Guide`__ -- the overview, at
|
|
|
|
least -- to get an idea of the concepts. By understanding the concepts
|
2011-01-25 14:01:22 -06:00
|
|
|
this library should make more sense.
|
|
|
|
|
2012-06-25 18:53:09 -05:00
|
|
|
__ http://docs.openstack.org/api/openstack-compute/2/content/
|
2011-01-25 14:01:22 -06:00
|
|
|
|
|
|
|
Contents:
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
2011-08-08 13:20:44 -07:00
|
|
|
|
2011-01-25 14:01:22 -06:00
|
|
|
shell
|
|
|
|
api
|
|
|
|
ref/index
|
2015-02-03 02:32:58 +02:00
|
|
|
ref/v2/index
|
2011-01-25 14:01:22 -06:00
|
|
|
|
|
|
|
Contributing
|
|
|
|
============
|
|
|
|
|
2013-09-18 08:00:08 -05:00
|
|
|
Code is hosted at `git.openstack.org`_. Submit bugs to the Nova project on
|
2012-06-22 10:16:49 -07:00
|
|
|
`Launchpad`_. Submit code to the openstack/python-novaclient project using
|
|
|
|
`Gerrit`_.
|
2011-01-25 14:01:22 -06:00
|
|
|
|
2013-09-18 08:00:08 -05:00
|
|
|
.. _git.openstack.org: https://git.openstack.org/cgit/openstack/python-novaclient
|
2012-06-22 10:16:49 -07:00
|
|
|
.. _Launchpad: https://launchpad.net/nova
|
2014-12-05 03:30:40 +00:00
|
|
|
.. _Gerrit: http://docs.openstack.org/infra/manual/developers.html#development-workflow
|
2011-01-25 14:01:22 -06:00
|
|
|
|
2014-10-13 17:26:40 +03:00
|
|
|
Testing
|
|
|
|
-------
|
|
|
|
|
|
|
|
The preferred way to run the unit tests is using ``tox``.
|
|
|
|
|
|
|
|
See `Consistent Testing Interface`_ for more details.
|
|
|
|
|
|
|
|
.. _Consistent Testing Interface: http://git.openstack.org/cgit/openstack/governance/tree/reference/project-testing-interface.rst
|
2011-01-25 14:01:22 -06:00
|
|
|
|
2015-05-23 19:22:04 -07:00
|
|
|
Deprecating commands
|
|
|
|
====================
|
|
|
|
|
|
|
|
There are times when commands need to be deprecated due to rename or removal.
|
|
|
|
The process for command deprecation is:
|
|
|
|
|
|
|
|
1. Push up a change for review which deprecates the command(s).
|
|
|
|
|
|
|
|
- The change should print a deprecation warning to stderr each time a
|
|
|
|
deprecated command is used.
|
|
|
|
- That warning message should include a rough timeline for when the command
|
|
|
|
will be removed and what should be used instead, if anything.
|
2016-10-12 18:24:01 -04:00
|
|
|
- The description in the help text for the deprecated command should mark
|
|
|
|
that it is deprecated.
|
|
|
|
- The change should include a release note with the ``deprecations`` section
|
|
|
|
filled out.
|
2015-05-23 19:22:04 -07:00
|
|
|
- The deprecation cycle is typically the first client release *after* the
|
|
|
|
next *full* Nova server release so that there is at least six months of
|
|
|
|
deprecation.
|
|
|
|
|
|
|
|
2. Once the change is approved, have a member of the `nova-release`_ team
|
|
|
|
release a new version of python-novaclient.
|
|
|
|
|
|
|
|
.. _nova-release: https://review.openstack.org/#/admin/groups/147,members
|
|
|
|
|
|
|
|
3. Example: `<https://review.openstack.org/#/c/185141/>`_
|
|
|
|
|
2015-06-17 14:19:19 -07:00
|
|
|
This change was made while the Nova 12.0.0 Liberty release was in
|
2015-05-23 19:22:04 -07:00
|
|
|
development. The current version of python-novaclient at the time was
|
|
|
|
2.25.0. Once the change was merged, python-novaclient 2.26.0 was released.
|
2015-06-17 14:19:19 -07:00
|
|
|
Since there was less than six months before 12.0.0 would be released, the
|
|
|
|
deprecation cycle ran through the 13.0.0 Nova server release.
|
2015-05-23 19:22:04 -07:00
|
|
|
|
2015-06-04 17:00:12 +09:00
|
|
|
|
|
|
|
Man Page
|
|
|
|
========
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
man/nova
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-01-25 14:01:22 -06:00
|
|
|
Indices and tables
|
|
|
|
==================
|
|
|
|
|
|
|
|
* :ref:`genindex`
|
|
|
|
* :ref:`modindex`
|
|
|
|
* :ref:`search`
|