Storage System:Get All Storage Ports

Search (SHIFT+S)



Get All Storage Ports

GET /vdc/storage-systems/{id}/storage-ports

Get all storage ports for the registered storage system with the passed id.

idthe URN of a ViPR storage system.

Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN
  • SYSTEM_MONITOR

Response Body

A reference to a StoragePortList specifying the id and self link for each port.

Field Description Type Notes
<storage_ports>
<storage_port>     0-* Elements
<name> The name of the resource String
<id> ViPR ID of the related object URI
<link> A hyperlink to the related object
</storage_port>      
</storage_ports>

Examples

Request
GET https://192.168.0.0:4443/vdc/storage-systems/urn:storageos:StorageSystem:a1895790-5977-4115-a9f5-b70d033da537:/storage-ports HTTP/1.1  

Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK 
Content-Type: application/xml 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<storage_ports>
  <storage_port>
    <id>urn:storageos:StoragePort:6221fd35-d274-4171-8cb5-1179cf8d2b05:</id>
    <link href="/vdc/storage-systems/urn:storageos:StorageSystem:a1895790-5977-4115-a9f5-b70d033da537:/storage-ports/urn:storageos:StoragePort:6221fd35-d274-4171-8cb5-1179cf8d2b05:" rel="self"/>
    <name>ISILON+6805ca00ad4426b77a51381b1ff2f2af5a41+PORT+lglw6132</name>
  </storage_port>
</storage_ports>
Notes: