HPE Greenlake For Storage Fleet REST APIs
HPE Greenlake For Storage Fleet REST APIs (1.0.0)
- https://eu1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports
- https://us1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports
- https://jp1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/storage-fleet/public/openapi/storage-fleet-latest/v1/storage-fleet-api/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://eu1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/7CE751P312/ports \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Success
Unique Identifier of the resource Filter
Unique Identifier of the node Filter
resourceUri for detailed port object
{ "count": 0, "offset": 0, "total": 0, "items": [ { … } ] }
parameter will be set to report type requested. For api users, set parameter as ApiUser
range will define start and end time in which query has to be made.
It defines granularity in minutes.
compareBy will define top and compare metrics for which query has to be made. Allowed values: readIops, writeIops, totalIops, readThroughput, writeThroughput, totalThroughput, readLatency, writeLatency, totalLatency, readIosize, writeIosize, totalIosize, totalQlen, avgBusy
groupBy will define comma separated groupBy parameters. By default, groupBy will be set to nsp. If groupBy is used along with filter query parameter, only following combination are allowed:
filter: port_type eq hostthen groupBy should beport_typefilter: port_type eq peerthen groupBy should beport_typefilter: nsp eq 0:3:1then groupBy should benspfilter: port_type eq host and nsp eq 0:3:1then groupBy should beport_type, nspfilter: port_type eq peer and nsp eq 0:3:1then groupBy should beport_type, nsp
metricType will define comma separated metrics
- https://eu1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports-performance
- https://us1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports-performance
- https://jp1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports-performance
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/storage-fleet/public/openapi/storage-fleet-latest/v1/storage-fleet-api/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports-performance
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://eu1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/7CE751P312/ports-performance \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "count": 0, "offset": 0, "total": 0, "items": [ { … } ] }
- https://eu1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}
- https://us1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}
- https://jp1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/storage-fleet/public/openapi/storage-fleet-latest/v1/storage-fleet-api/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://eu1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/7CE751P312/ports/d0fcfe2ff572f44e5beb0a9712c76d5d \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "associatedLinks": [ { … }, { … } ], "cardType": { "default": "string", "key": "string" }, "class": 0, "class2": "string", "commonResourceAttributes": { "cloudState": "CONNECTED", "errCode": "E01", "errMessage": "This storage system is not actively monitored in the cloud portal. Data Services Cloud Console proactively disabled monitoring and management of storage system with serial number {systemId} for sending excessive cloud events or for not responding to requests." }, "config": "valid", "configMode": "string", "connectionType": "string", "customerId": "string", "devices": [ { … } ], "displayname": "string", "domain": "string", "enclosureCardId": 0, "enclosureCardPciId": 0, "enclosureCardPciUid": "string", "enclosureCardUid": "string", "enclosureId": 0, "enclosureUid": "string", "failoverStatus": "string", "fcData": { "nodeWwn": "string", "portWwn": "string" }, "fileData": { "failoverIps": "string", "ipDisabled": true, "linkState": "string", "prefixLength": 0, "vlanId": 0 }, "fwVersion": "12.2.396.1", "generation": 0, "hostVirtualPorts": [ { … } ], "id": "9d765763116c20a508e8996f2a10821d", "interruptCoalesce": "string", "ipData": { "autoneg": true, "delimitedMacAddress": "string", "duplex": "string", "gatewayAddress": "string", "gatewayAddressV6": "string", "ipAddress": "string", "ipAddressV6": "string", "macAddress": "string", "mtu": "string", "subnetMask": "string", "subnetMaskV6": "string" }, "iscsiData": { "delimitedMacAddress": "string", "ethernetFlowControl": "string", "gatewayAddress": "string", "gatewayAddressV6": "string", "ipAddress": "string", "ipAddressV6": "string", "iscsiName": "string", "isnsPrimaryAddress": "string", "isnsTcpPort": 0, "macAddress": "string", "mtu": "string", "peerEnabled": true, "sendTargetGroupTag": 0, "subnetMask": "string", "subnetMaskV6": "string", "supportsVlan": true, "targetPortalGroupTag": 0 }, "label": "IP0", "manufacturing": { "assemblyRev": "002*", "checkSum": "--", "hpeModelName": "HPE 3PAR 600 2S Node", "manufacturer": "XYRATEX", "model": "0974244-06", "saleablePartNumber": "0974244-06", "saleableSerialNumber": "4UW0002941", "serialNumber": "PMW0974244G4T88", "sparePartNumber": "P04031-001" }, "mode": "string", "modeChange": "string", "name": "string", "nodeCardId": "string", "nodeId": "e9d353bf98fc1a6bdb90b824e3ca14b5", "nvmeData": { "delimitedMacAddress": "string", "eth": "string", "ethernetFlowControl": "string", "gatewayAddress": "string", "gatewayAddressV6": "FE80::1", "ipAddress": "string", "ipAddressV6": "2001:db8:abcd:12:ffff:ffff:ffff:ff16", "macAddress": "string", "mode": "string", "mtu": "string", "nqn": "string", "pcidev": "string", "prefixLength": 0, "prefixLengthV6": 13, "protocol": "string", "rate": "string", "state": "string", "transport": { … }, "vlanCount": 0, "vlans": [ … ] }, "partner": { "nodeWwnOrName": "string", "portWwnOrIp": "string", "position": { … } }, "portSfp": { "fwVersion": "string", "manufacturing": { … }, "qualified": true, "rxLossPin": { … }, "rxPowerLow": true, "speed": 0, "state": { … }, "supportDdm": true, "txDisablePin": { … }, "txFaultPin": { … } }, "portType": "string", "position": { "node": 0, "port": 0, "slot": 0 }, "protocol": "string", "resourceUri": "/storage-fleet/v1/devtype4-storage-systems/7CE751P312/ports/220fcd48857f63c0f354c6723ec5d5cb", "revision": "string", "smartSan": "string", "speedActual": "string", "speedConfigured": "string", "speedMax": "string", "speedMin": "string", "state": { "detailed": [ … ], "overall": "STATE_NORMAL" }, "stateDescription": [ "string" ], "systemId": "7CE751P312", "tgtModeWriteOpt": "string", "type": "string", "uniqueWwn": "string", "vcn": "string", "virtualPorts": [ { … } ], "vlans": [ { … } ] }
- https://eu1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}
- https://us1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}
- https://jp1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/storage-fleet/public/openapi/storage-fleet-latest/v1/storage-fleet-api/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://eu1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/7CE751P312/ports/d0fcfe2ff572f44e5beb0a9712c76d5d \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'{ "message": "Successfully submitted", "status": "SUBMITTED", "taskUri": "/rest/vega/v1/tasks/4969a568-6fed-4915-bcd5-e4566a75e00c" }
- https://eu1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/clear
- https://us1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/clear
- https://jp1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/clear
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/storage-fleet/public/openapi/storage-fleet-latest/v1/storage-fleet-api/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/clear
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://eu1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/7CE751P312/ports/d0fcfe2ff572f44e5beb0a9712c76d5d/clear \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'{ "message": "Successfully submitted", "status": "SUBMITTED", "taskUri": "/rest/vega/v1/tasks/4969a568-6fed-4915-bcd5-e4566a75e00c" }
Make the iSCSI port peer enabled. This is supported from OS version 10.4.0.
Flow Control setting of the port. Applicable for HPE Alletra Storage MP B10000 10.5.0 OS version and above. Ethernet Pause (EthPause) pauses transmission of all traffic on a physical Ethernet link. Data center bridging (DCB) is an enhancement to the Ethernet-pause protocol, that enables 0-drop packet delivery for certain traffic classes.
- https://eu1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/edit-iscsi
- https://us1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/edit-iscsi
- https://jp1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/edit-iscsi
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/storage-fleet/public/openapi/storage-fleet-latest/v1/storage-fleet-api/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/edit-iscsi
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X PUT \
https://eu1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/7CE751P312/ports/d0fcfe2ff572f44e5beb0a9712c76d5d/edit-iscsi \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'{ "message": "Successfully submitted", "status": "SUBMITTED", "taskUri": "/rest/vega/v1/tasks/4969a568-6fed-4915-bcd5-e4566a75e00c" }
Gateway address to edit to for IPv4 address
- https://eu1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/edit-rcip
- https://us1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/edit-rcip
- https://jp1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/edit-rcip
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/storage-fleet/public/openapi/storage-fleet-latest/v1/storage-fleet-api/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/edit-rcip
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X PUT \
https://eu1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/7CE751P312/ports/d0fcfe2ff572f44e5beb0a9712c76d5d/edit-rcip \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'{ "message": "Successfully submitted", "status": "SUBMITTED", "taskUri": "/rest/vega/v1/tasks/4969a568-6fed-4915-bcd5-e4566a75e00c" }
Configuration of Port. Possible Values: Disk, Host, RCFC, Peer
- https://eu1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/fc
- https://us1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/fc
- https://jp1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/fc
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/storage-fleet/public/openapi/storage-fleet-latest/v1/storage-fleet-api/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/fc
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X PUT \
https://eu1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/7CE751P312/ports/d0fcfe2ff572f44e5beb0a9712c76d5d/fc \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'{ "message": "Successfully submitted", "status": "SUBMITTED", "taskUri": "/rest/vega/v1/tasks/4969a568-6fed-4915-bcd5-e4566a75e00c" }
- https://eu1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/initialize
- https://us1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/initialize
- https://jp1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/initialize
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/storage-fleet/public/openapi/storage-fleet-latest/v1/storage-fleet-api/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/initialize
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://eu1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/7CE751P312/ports/d0fcfe2ff572f44e5beb0a9712c76d5d/initialize \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "message": "Successfully submitted", "status": "SUBMITTED", "taskUri": "/rest/vega/v1/tasks/4969a568-6fed-4915-bcd5-e4566a75e00c" }
- https://eu1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/ping-iscsi
- https://us1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/ping-iscsi
- https://jp1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/ping-iscsi
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/storage-fleet/public/openapi/storage-fleet-latest/v1/storage-fleet-api/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/ping-iscsi
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://eu1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/7CE751P312/ports/d0fcfe2ff572f44e5beb0a9712c76d5d/ping-iscsi \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'{ "message": "Successfully submitted", "status": "SUBMITTED", "taskUri": "/rest/vega/v1/tasks/4969a568-6fed-4915-bcd5-e4566a75e00c" }
- https://eu1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/ping-rcip
- https://us1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/ping-rcip
- https://jp1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/ping-rcip
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/storage-fleet/public/openapi/storage-fleet-latest/v1/storage-fleet-api/storage-fleet/v1/devtype4-storage-systems/{systemId}/ports/{id}/ping-rcip
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://eu1.data.cloud.hpe.com/storage-fleet/v1/devtype4-storage-systems/7CE751P312/ports/d0fcfe2ff572f44e5beb0a9712c76d5d/ping-rcip \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'{ "message": "Successfully submitted", "status": "SUBMITTED", "taskUri": "/rest/vega/v1/tasks/4969a568-6fed-4915-bcd5-e4566a75e00c" }