Skip to main content

We've Moved!

Product Documentation has moved to docs.hitachivantara.com
Hitachi Vantara Knowledge

Get host port

Get an individual host port. In the case of this API call, the object ID is specific to a node and port and will show the current status of the specific port.

HTTP request syntax (URI)
GET <base_URI>/v8/storage/nodes/host-ports/{hostPortId}
Parameters
Name Type Required Values Description
hostPortId URI_PARAM Y string Specifies the host port object ID.
Return codes
Code Data Description
200 hostPort Host port successfully retrieved.
400 Error Message Missing or invalid request contents.
404 Error Message Requested resource not found.
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: Using the virtual server object ID
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v8/storage/nodes/host-ports/323a3a3a313a3a3a303a3a3a4f49445f24232140255f56
Response example
HTTP/1.1 200 OK
{
  "hostPort": {
    "isEnabled": true,
    "name": "FC 3",
    "nodeId": 1,
    "objectId": "323a3a3a313a3a3a303a3a3a4f49445f24232140255f56",
    "speed": 4,
    "status": "Up",
    "type": "NL",
    "wwn": "50:03:01:70:00:04:0E:C3"
  }
}

 

  • Was this article helpful?