Merge "update API documentation"
This commit is contained in:
commit
0eb12a9892
@ -20,8 +20,8 @@ eventlet.monkey_patch()
|
|||||||
# Monkey patch the original current_thread to use the up-to-date _active
|
# Monkey patch the original current_thread to use the up-to-date _active
|
||||||
# global variable. See https://bugs.launchpad.net/bugs/1863021 and
|
# global variable. See https://bugs.launchpad.net/bugs/1863021 and
|
||||||
# https://github.com/eventlet/eventlet/issues/592
|
# https://github.com/eventlet/eventlet/issues/592
|
||||||
import __original_module_threading as orig_threading # noqa
|
import __original_module_threading as orig_threading # noqa
|
||||||
import threading # noqa
|
import threading # noqa
|
||||||
orig_threading.current_thread.__globals__['_active'] = threading._active
|
orig_threading.current_thread.__globals__['_active'] = threading._active
|
||||||
|
|
||||||
i18n.install('cyborg')
|
i18n.install('cyborg')
|
||||||
|
@ -59,10 +59,18 @@ Interface (CLI) can be found in this section of documentation.
|
|||||||
Using the API
|
Using the API
|
||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~~
|
||||||
|
|
||||||
All end user (and some administrative) features of Cyborg are exposed via a
|
Following the Ussuri release, every Cyborg deployment should have the
|
||||||
REST API, which can be used to build more complicated logic or automation with
|
following endpoints:
|
||||||
Cyborg. This can be consumed directly, or via various SDKs. The following
|
|
||||||
resources will help you get started with consuming the API directly.
|
/ - list of available versions
|
||||||
|
|
||||||
|
/v2 - the version 2 of the Acceleration API, it uses microversions
|
||||||
|
|
||||||
|
/v2.0 - same API as v2, except uses microversions
|
||||||
|
|
||||||
|
The follwoing guide concentrates on documenting the v2 API, please note that
|
||||||
|
the v2.0 is the first microversion of the v2 API and are also covered by this
|
||||||
|
guide.
|
||||||
|
|
||||||
* `Cyborg API Reference <https://docs.openstack.org/api-ref/accelerator/>`_:
|
* `Cyborg API Reference <https://docs.openstack.org/api-ref/accelerator/>`_:
|
||||||
The complete reference for the accelerator API, including all methods and
|
The complete reference for the accelerator API, including all methods and
|
||||||
|
Loading…
Reference in New Issue
Block a user