HP OneView REST API Reference

server-profiles
server-profiles.html[10/17/2013 10:35:14 AM]
networks,
network sets and fc networks along with
the ports that the
networks are available on.
Response Codes
REST API Response Codes
Examples
The following example retrieves all networks, fc networks
and network sets associated with a single server:
GET
https://{appl}/rest/server-profiles/available-networks?
serverHardwareUri={uri}
The following example retrieves all networks, fc networks
and
network sets associated with a server hardware type
and enclosure group:
GET
https://{appl}/rest/server-profiles/available-networks?
serverHardwareTypeUri=serverHardwareTypeUri&
enclosureGroupUri=enclosureGroupUri
URI: /rest/server-profiles/available-networks/schema
Method API
GET Generate the NetworkInfo JSON formatted schema
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
JsonSchema The json schema of the NetworkInfo object
Response Codes
REST API Response Codes
Examples
GET
https://{appl}/rest/server-profiles/available-networks/
schema
URI: /rest/server-profiles/available-servers
Method API
GET This API is used to retrieve the list of the servers that are available for the server profile assignment.
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