488cc340ef
SPDKDRIVER is a virtual interface which provides common methods for specific drivers (such as: VHOSTDRIVER, NVMFDRIVER, etc.). For this reason, the Cyborg agent should invoke these drivers via py-spdk[0] to communicate with the backend SPDK-base app server. The py-spdk is management lib for SPDK applications which need to be imported into the cyborg, so we put the pyspdk lib into cyborg/ cyborg/accelerator/drivers/spdk/util/. There are some unit tests we added in cyborg/cyborg/tests/unit/accelerator/drivers/spdk/. Now We are first implementing the unit tests of test_discover_accelerator() and test_accelerator_list(), and the rest will be added later. For example: When the Cyborg agent call the NVMFDRIVER.discover_accelerator(), the return value we get is: { 'server': 'nvmf_tgt', 'bdevs': [{ "num_blocks": 131072, "name": "nvme1", "block_size": 512, ...... }] 'subsystems': [{ "core": 0, "nqn": "nqn.2018-01.org.nvmexpress.discovery", "hosts": [], ...... }] } [0] The implementation of py-spdk is subbmitted to https://review.gerrithub.io/#/c/379741/, please visit it. Change-Id: I2d0e4dc6b58e725584d22ee85961877a870c68a7
27 lines
995 B
Plaintext
27 lines
995 B
Plaintext
# The order of packages is significant, because pip processes them in the order
|
|
# of appearance. Changing the order has an impact on the overall integration
|
|
# process, which may cause wedges in the gate later.
|
|
|
|
pbr!=2.1.0,>=2.0.0 # Apache-2.0
|
|
pecan!=1.0.2,!=1.0.3,!=1.0.4,!=1.2,>=1.0.0 # BSD
|
|
WSME>=0.8 # MIT
|
|
six>=1.9.0 # MIT
|
|
eventlet!=0.18.3,!=0.20.1,<0.21.0,>=0.18.2 # MIT
|
|
oslo.i18n!=3.15.2,>=2.1.0 # Apache-2.0
|
|
oslo.config!=4.3.0,!=4.4.0,>=4.0.0 # Apache-2.0
|
|
oslo.log>=3.22.0 # Apache-2.0
|
|
oslo.context>=2.14.0 # Apache-2.0
|
|
oslo.messaging!=5.25.0,>=5.24.2 # Apache-2.0
|
|
oslo.concurrency>=3.8.0 # Apache-2.0
|
|
oslo.service>=1.10.0 # Apache-2.0
|
|
oslo.db>=4.24.0 # Apache-2.0
|
|
oslo.utils>=3.20.0 # Apache-2.0
|
|
oslo.versionedobjects>=1.17.0 # Apache-2.0
|
|
oslo.policy>=1.23.0 # Apache-2.0
|
|
SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.0.10 # MIT
|
|
alembic>=0.8.10 # MIT
|
|
stevedore>=1.20.0 # Apache-2.0
|
|
keystonemiddleware>=4.17.0 # Apache-2.0
|
|
jsonpatch!=1.20,>=1.16 # BSD
|
|
psutil>=3.2.2 # BSD
|
|
mock>=2.0.0 # BSD |