Get host ports
Returns a list of the systems host ports, on all nodes.
HTTP request syntax (URI)
GET <base_URI>/v8/storage/nodes/host-ports
Return codes
Code | Data | Description |
200 | hostPorts | List of host ports successfully retrieved. |
500 | Error message | Error associated with the storage system. |
Any HTTP status code other than 200 indicates that the API did not complete successfully.
Request example
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v8/storage/nodes/host-ports
Response example
HTTP/1.1 200 OK { "hostPorts": [ { "isEnabled": true, "name": "FC 1", "nodeId": 1, "objectId": "303a3a3a313a3a3a303a3a3a4f49445f24232140255f56", "speed": 4, "status": "Up", "type": "NL", "wwn": "50:03:01:70:00:04:0E:C1" }, { "isEnabled": true, "name": "FC 2", "nodeId": 1, "objectId": "313a3a3a313a3a3a303a3a3a4f49445f24232140255f56", "speed": 4, "status": "DOWN", "type": "NL", "wwn": "50:03:01:70:00:04:0E:C2" }, { "isEnabled": true, "name": "FC 3", "nodeId": 1, "objectId": "323a3a3a313a3a3a303a3a3a4f49445f24232140255f56", "speed": 4, "status": "Up", "type": "NL", "wwn": "50:03:01:70:00:04:0E:C3" }, { "isEnabled": true, "name": "FC 4", "nodeId": 1, "objectId": "333a3a3a313a3a3a303a3a3a4f49445f24232140255f56", "speed": 4, "status": "DOWN", "type": "NL", "wwn": "50:03:01:70:00:04:0E:C4" } ] }