EMC ViPR REST API

Search (SHIFT+S)

API Reference


Get Network List

GET /vdc/varrays/{id}/networks

List transport zones in VirtualArray

idthe URN of a ViPR VirtualArray

Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN
  • SYSTEM_MONITOR

Response Body

List of Networks

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

Examples

Request
GET https://192.168.0.0:4443/vdc/varrays/urn:storageos:VirtualArray:05b2ed06-064a-4869-835e-5d2e002868fe:/networks 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"?>
<networks>
  <network>
    <id>urn:storageos:Network:37615cf0-78fe-4bcc-9fdb-511abaa56ab1:</id>
    <link href="/vdc/networks/urn:storageos:Network:37615cf0-78fe-4bcc-9fdb-511abaa56ab1:" rel="self"/>
    <name>fctz_a</name>
  </network>
  <network>
    <id>urn:storageos:Network:5f5c7936-0008-46a6-9e73-643f67444252:</id>
    <link href="/vdc/networks/urn:storageos:Network:5f5c7936-0008-46a6-9e73-643f67444252:" rel="self"/>
    <name>fctz_b</name>
  </network>
  <network>
    <id>urn:storageos:Network:6c97a5a8-fa8c-4dcb-8987-21d68fb22a0d:</id>
    <link href="/vdc/networks/urn:storageos:Network:6c97a5a8-fa8c-4dcb-8987-21d68fb22a0d:" rel="self"/>
    <name>iptz</name>
  </network>
</networks>