c380e05dbf
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
55 lines
2.5 KiB
YAML
55 lines
2.5 KiB
YAML
---
|
|
features:
|
|
- |
|
|
Adds support for volume connectors and volume targets with new API
|
|
endpoints ``/v1/volume/connectors`` and ``/v1/volume/targets``. These
|
|
endpoints are available with API version 1.32 or later. These new
|
|
resources are used to connect a node to a volume. A volume connector
|
|
represents connector information of a node such as an iSCSI initiator. A
|
|
volume target provides volume information such as an iSCSI target. These
|
|
endpoints are available:
|
|
|
|
* ``GET /v1/volume/connectors`` for listing volume connectors
|
|
* ``POST /v1/volume/connectors`` for creating a volume connector
|
|
* ``GET /v1/volume/connectors/<UUID>`` for showing a volume connector
|
|
* ``PATCH /v1/volume/connectors/<UUID>`` for updating a volume connector
|
|
* ``DELETE /v1/volume/connectors/<UUID>`` for deleting a volume connector
|
|
* ``GET /v1/volume/targets`` for listing volume targets
|
|
* ``POST /v1/volume/targets`` for creating a volume target
|
|
* ``GET /v1/volume/targets/<UUID>`` for showing a volume target
|
|
* ``PATCH /v1/volume/targets/<UUID>`` for updating a volume target
|
|
* ``DELETE /v1/volume/targets/<UUID>`` for deleting a volume target
|
|
|
|
The Volume resources also can be listed as sub resources of nodes:
|
|
|
|
* ``GET /v1/nodes/<node>/volume/connectors``
|
|
* ``GET /v1/nodes/<node>/volume/targets``
|
|
|
|
Root endpoints of volume resources are also added. These endpoints provide
|
|
links to volume connectors and volume targets:
|
|
|
|
* ``GET /v1/volume``
|
|
* ``GET /v1/node/<node>/volume``
|
|
|
|
When a volume connector or a volume target is created, updated, or
|
|
deleted, these CRUD notifications can be emitted:
|
|
|
|
* ``baremetal.volumeconnector.create.start``
|
|
* ``baremetal.volumeconnector.create.end``
|
|
* ``baremetal.volumeconnector.create.error``
|
|
* ``baremetal.volumeconnector.update.start``
|
|
* ``baremetal.volumeconnector.update.end``
|
|
* ``baremetal.volumeconnector.update.error``
|
|
* ``baremetal.volumeconnector.delete.start``
|
|
* ``baremetal.volumeconnector.delete.end``
|
|
* ``baremetal.volumeconnector.delete.error``
|
|
* ``baremetal.volumetarget.create.start``
|
|
* ``baremetal.volumetarget.create.end``
|
|
* ``baremetal.volumetarget.create.error``
|
|
* ``baremetal.volumetarget.update.start``
|
|
* ``baremetal.volumetarget.update.end``
|
|
* ``baremetal.volumetarget.update.error``
|
|
* ``baremetal.volumetarget.delete.start``
|
|
* ``baremetal.volumetarget.delete.end``
|
|
* ``baremetal.volumetarget.delete.error``
|