HPE Greenlake For Block Storage REST APIs
- Generate a DH-HMAC-CHAP host key usable for NVMe In-Band Authentication for Host by {hostId}
Get the list of hosts which have duplicates
Get the list of hosts
Create a host
Delete a host by {hostId}
Get the host details by {hostId}
Update Host by {hostId}
Get Host CHAP details by {hostId}
Update Host CHAP by {hostId}
Get details of a host identified by {hostId} across its associated systems
Get the volume performance history data associated with a host identified by {uid}
Get details of volumes associated with a host identified by {uid}
Bulk merge hosts into user created host
Merge hosts into user created host
Get the list of initiators
Create initiator
Delete initiator by {initiatorId}
Get the initiator details by {initiatorId}
Generate a DH-HMAC-CHAP h...
HPE Greenlake For Block Storage REST APIs. (1.1.0)
Download OpenAPI description
Overview
License
Languages
Servers
https://eu1.data.cloud.hpe.com/
https://us1.data.cloud.hpe.com/
https://jp1.data.cloud.hpe.com/
Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/block-storage/public/openapi/block-storage-public-v1alpha1/block-storage-api/
- https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/chap
- https://us1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/chap
- https://jp1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/chap
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/block-storage/public/openapi/block-storage-public-v1alpha1/block-storage-api/block-storage/v1alpha1/host-initiators/{hostId}/chap
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X PUT \
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/2b09e744496246859fde6c132b2091d3/chap \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'Response
application/json
{ "message": "Successfully submitted", "status": "SUBMITTED", "taskUri": "/rest/vega/v1/tasks/4969a568-6fed-4915-bcd5-e4566a75e00c" }
Bodyapplication/jsonrequired
type for generate CHAP key. Allowed values are INITIATOR | TARGET.
Enum"INITIATOR""TARGET"
Example: "INITIATOR"
secret (in hexadecimal characters) to be used to initialize the key. Length of secret should be one of 64 | 96 | 128 based on hmacNum. (hmacNum, Length of secret): (NONE, 64) | (SHA256, 64) | (SHA384, 96) | (SHA512, 128)
Example: "DB174528097951E0CCF41D92476FCA228E77717F1AE82AB380FCA07A2A91ABCD"
- https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/chapkey
- https://us1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/chapkey
- https://jp1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/chapkey
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/block-storage/public/openapi/block-storage-public-v1alpha1/block-storage-api/block-storage/v1alpha1/host-initiators/{hostId}/chapkey
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/2b09e744496246859fde6c132b2091d3/chapkey \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"secret": "DB174528097951E0CCF41D92476FCA228E77717F1AE82AB380FCA07A2A91ABCD",
"system": "15.212.100.100",
"type": "INITIATOR"
}'Response
application/json
{ "chapkey": "DHHC-1:00:2xdFKAl5UeDM9B2SR2/KIo53cX8a6CqzgPygeiqRq83MSNuW:" }
- https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/mapped-devices
- https://us1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/mapped-devices
- https://jp1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/mapped-devices
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/block-storage/public/openapi/block-storage-public-v1alpha1/block-storage-api/block-storage/v1alpha1/host-initiators/{hostId}/mapped-devices
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/2b09e744496246859fde6c132b2091d3/mapped-devices \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
application/json
{ "count": 0, "offset": 0, "total": 0, "items": [ { … } ] }