ironic/ironic/tests/unit/api
Satoru Moriya c380e05dbf Add REST API for volume connector and volume target operation
This patch introduces following REST API endpoints to get/set volume
connector and volume target in Ironic.

- GET /v1/volume
- GET /v1/nodes/<node_uuid or name>/volume
- {GET, POST} /v1/volume/connectors
- {GET, PATCH, DELETE} /v1/volume/connectors/<volume_connector_uuid>
- GET /v1/nodes/<node_uuid or name>/volume/connectors
- {GET, POST} /v1/volume/targets
- {GET, PATCH, DELETE} /v1/volume/targets/<volume_target_uuid>
- GET /v1/nodes/<node_uuid or name>/volume/targets

This also adds CRUD notifications for volume connector and volume
target.

Co-Authored-By: Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com>
Co-Authored-By: David Lenwell <dlenwell@gmail.com>
Co-Authored-By: Hironori Shiina <shiina.hironori@jp.fujitsu.com>
Change-Id: I328a698f2109841e1e122e17fea4b345c4179161
Partial-Bug: 1526231
2017-07-03 15:51:59 +09:00
..
v1 Add REST API for volume connector and volume target operation 2017-07-03 15:51:59 +09:00
__init__.py Prepare for functional testing 2015-09-28 21:27:01 +00:00
base.py Unit test consistency: DB base and utils prefix 2017-06-20 09:36:21 +01:00
test_acl.py Add keystone policy support to Ironic 2016-08-04 12:43:20 +00:00
test_audit.py Remove unnecessary setUp function in testcase 2017-03-30 15:39:55 +08:00
test_base.py __ne__() unit tests & have special methods use (self, other) 2016-09-08 19:56:57 -07:00
test_hooks.py Add user and project domains to ironic context 2016-11-15 17:35:22 +02:00
test_middleware.py Properly allow Ironic headers in REST API 2017-05-04 15:30:45 -03:00
test_root.py Add REST API for volume connector and volume target operation 2017-07-03 15:51:59 +09:00
utils.py Add REST API for volume connector and volume target operation 2017-07-03 15:51:59 +09:00