Acceleration Management
Go to file
Xinran WANG 07a8e30f76 Introduce microversion
This patch aims at support microversion in Cyborg API.
The work items is the following:
1. remove old api_version_request.py to avoid the redundancy.
2. add a header in every API request and support to parse it and
route to the correct API method.
3. depracate v1 API.
4. add related UT.

For testing:

CTYPE="Content-Type: application/json"
AUTH="X-Auth-Token: $(openstack token issue -c id -f value)"

curl -s -H "$CTYPE" -H "$AUTH" -H "OpenStack-API-Version: accelerator
2.0" http://localhost/accelerator/devices

This will execute sucessfully because 2.0 microversion is supported.

curl -s -H "$CTYPE" -H "$AUTH" -H "OpenStack-API-Version: accelerator
latest" http://localhost/accelerator/devices

This will execute sucessfully because "latest" will be parsed to 2.0.

curl -s -H "$CTYPE" -H "$AUTH" -H "OpenStack-API-Version: accelerator
2.99" http://localhost/accelerator/devices

This will failed because we don't support 2.99 microversion.

Change-Id: Id9c34dc134d59b2332cefbcae5bbd7e6632e970d
2020-04-07 06:18:50 +00:00
api-ref/source Merge "Bump the openstackdocstheme extension to 1.20" 2020-01-11 19:39:42 +00:00
cyborg Introduce microversion 2020-04-07 06:18:50 +00:00
devstack Always stop cyborg-api process uwsgi container 2020-03-16 13:50:00 +00:00
doc Merge "Update contributing.rst per Ussuri goal and guidelines." 2020-04-06 12:58:14 +00:00
etc/cyborg Modify api-paste.ini v1 to v2 2019-12-20 09:41:29 +00:00
releasenotes Introduce microversion 2020-04-07 06:18:50 +00:00
setup Cyborg deployment script 2017-08-30 09:27:56 -04:00
tools/config Fix tox -egenconfig 2018-06-10 16:37:40 +08:00
.coveragerc Exclude cyborg tests dir in UT cover report 2019-10-30 09:40:37 +08:00
.gitignore Exclude cyborg tests dir in UT cover report 2019-10-30 09:40:37 +08:00
.gitreview OpenDev Migration Patch 2019-04-19 19:39:22 +00:00
.stestr.conf Exclude cyborg tests dir in UT cover report 2019-10-30 09:40:37 +08:00
.zuul.yaml Introduce bandit security linter 2020-01-05 19:49:22 -08:00
babel.cfg initial setup "correct tox.ini testr and test-requirement.txt requirement 2016-01-18 14:29:39 +08:00
bindep.txt Add bindep support 2019-08-05 14:31:35 +08:00
CONTRIBUTING.rst Update contributing.rst per Ussuri goal and guidelines. 2020-04-01 06:54:09 +00:00
HACKING.rst Add doc8 to pep8 check for cyborg project 2018-05-10 09:32:01 +07:00
LICENSE initial setup "correct tox.ini testr and test-requirement.txt requirement 2016-01-18 14:29:39 +08:00
README.rst Update README.rst for cyborg 2019-09-03 14:07:28 +08:00
requirements.txt Introduce microversion 2020-04-07 06:18:50 +00:00
setup.cfg Stop testing python2.7 2019-11-19 02:09:08 -05:00
setup.py uncap eventlet 2018-05-07 17:42:19 +03:00
test-requirements.txt Update hacking for Python3 2020-03-30 16:18:12 +02:00
tox.ini Upgrade minversion to match python3 2020-04-02 08:11:02 +08:00

Cyborg

OpenStack Acceleration as a Service

Cyborg provides a general management framework for accelerators such as FPGA, GPU, SoCs, NVMe SSDs, CCIX caches, DPDK/SPDK, pmem and so forth.

Features

  • REST API for basic accelerator life cycle management
  • Generic driver for common accelerator support