Acceleration Management
Go to file
Yumeng Bao ef0b2199c1 Refactor v2 arq api
Users can make GET /v2/accelerator_requests request with parameters
instance_uuid and bind_state to arq.get_all API to retrieve specific arqs.
There are six possible request cases:

1.instance is not none,bind_state is none
/v2/accelerator_requests?instance={instance_uuid}
2.instance is not none, bind_state=resolved
/v2/accelerator_requests?instance={instance_uuid}&bind_state=resolved
3.instance is not none, bind_state=started (raise error:ARQInvalidState)
/v2/accelerator_requests?instance={instance_uuid}&bind_state=started
*Note:bind_state=started here is just an example,it can be any InvalidState
4.instance is none,bind_state is none
/v2/accelerator_requests
5.instance is none, bind_state=resolved
/v2/accelerator_requests?bind_state=resolved
6.instance is none, bind_state=started (raise error:ARQInvalidState)
/v2/accelerator_requests?bind_state=started
*Note:bind_state=started here is just an example,it can be any InvalidState

But case 5 is missing, this patch fixed this, added the missing case 5
and added unit test.

Change-Id: I783c3d0d257c16bf6c92c118f7b16f7f180f7026
2020-04-15 23:29:11 -07:00
api-ref/source Finish v2 API doc 2020-04-06 15:19:23 +00:00
cyborg Refactor v2 arq api 2020-04-15 23:29:11 -07:00
devstack Always stop cyborg-api process uwsgi container 2020-03-16 13:50:00 +00:00
doc Merge "Finish v2 API doc" 2020-04-10 02:00:16 +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 Bump openstacksdk>=0.46.0 2020-04-09 10:41:36 +00:00
setup.cfg Cleanup py27 support 2020-04-05 09:39:28 +08:00
setup.py Cleanup py27 support 2020-04-05 09:39:28 +08: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