HP OneView REST API Reference

interconnects
interconnects.html[10/17/2013 10:35:37 AM]
REST API Response Codes
Examples
Resets the statistics on the interconnect that matches ID 9b8f7ec0-52b3-475e-84f4-c4eac51c2c20:
PUT https://{appl}/rest/interconnects/9b8f7ec0-52b3-475e-84f4-c4eac51c2c20/statistics/reset
URI: /rest/interconnects/{id}/statistics/{portName}
Method API
GET Gets the statistics for the specified port name on an interconnect.
Request
Header
Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the current release, this must be set to "X-
API-Version:3"
Response Description
PortStatistics A port statistics resource
Response Codes
REST API Response Codes
Examples
Get the port statistics for downlink port 1 on the
interconnect that matches ID 9b8f7ec0-52b3-475e-84f4-c4eac51c2c20:
GET https://{appl}/rest/interconnects/9b8f7ec0-52b3-475e-84f4-c4eac51c2c20/statistics/d1
Get the port statistics for uplink port X2 on the
interconnect that matches ID 9b8f7ec0-52b3-475e-84f4-c4eac51c2c20:
GET https://{appl}/rest/interconnects/9b8f7ec0-52b3-475e-84f4-c4eac51c2c20/statistics/x2
URI: /rest/interconnects/{id}/statistics/{portName}/subport/{subPortNumber}
Method API
GET Gets the subport statistics on an interconnect.
Request
Header
Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the current release, this must be set to "X-
API-Version:3"
Response Description
SubportStatistics A subport statistics resource
Response Codes
REST API Response Codes
Examples
Get the subport statistics for subport 1 on downlink port 2 on the
interconnect that mataches ID 9b8f7ec0-52b3-475e-84f4-c4eac51c2c20:
GET https://{appl}/rest/interconnects/9b8f7ec0-52b3-475e-84f4-c4eac51c2c20/statistics/d2/subport/1
URI: /rest/interconnects/{interconnectsId}/nameServers
Method API
GET Gets the named servers for an interconnect.
Request
Header
Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the current release, this must be set to "X-
API-Version:3"
Response Description
NameServer Array of name server resources for the interconnect