Network:Get Storage Ports

Search (SHIFT+S)



Get Storage Ports

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

This call returns a list of all Storage Ports associated with the Network end points.

idthe URN of a ViPR network

Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN
  • SYSTEM_MONITOR

Response Body

StoragePortList

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/networks/urn:storageos:Network:ca06b503-4ba6-4f36-9ce7-7d67d8d04941:/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:1593ad14-32db-4a85-ad9e-81da59af75d4:</id>
            <link href="/vdc/storage-systems/urn:storageos:StorageSystem:c532fa10-1ff4-4527-b628-50372cf609af:/storage-ports/urn:storageos:StoragePort:1593ad14-32db-4a85-ad9e-81da59af75d4:" rel="self"/>
            <name>SYMMETRIX+000198700420+PORT+50:00:09:73:F0:06:91:44</name>
       </storage_port>
       <storage_port>
            <id>urn:storageos:StoragePort:58bc0c28-5e25-414d-9fe5-14143fb4b981:</id>
            <link href="/vdc/storage-systems/urn:storageos:StorageSystem:c532fa10-1ff4-4527-b628-50372cf609af:/storage-ports/urn:storageos:StoragePort:58bc0c28-5e25-414d-9fe5-14143fb4b981:" rel="self"/>
            <name>SYMMETRIX+000198700420+PORT+50:00:09:73:F0:06:91:40</name>
       </storage_port>
  </storage_ports>
Notes: