HP OneView REST API Reference

network-sets
network-sets.html[10/17/2013 10:35:34 AM]
filter Experimental This parameter is experimental for this release: While generally
functional when used in simple cases, restrictions might be noted in
the implementation description.
A general filter/query string that narrows the list of resources
returned by a multi-resource GET (read) request and DELETE
(delete) request. The default is no filter (all resources are returned).
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
NetworkSetList A paginated collection of network set resources
Response Codes
REST API Response Codes
Examples
Get the first 10 network set resources:
GET https://{appl}/rest/network-sets?start=0&count=10
Get all the network set resources in the domain:
GET https://{appl}/rest/network-sets
POST Creates a network set.
Parameter Attributes Description
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"
Request
Body
Attributes Description
NetworkSet Required
Response Description
TaskResourceV2 An object that can be used to track the progress of
the create network set operation to completion
Response Codes
REST API Response Codes
Examples
Creates an instance of network set with the name "NS1" containing 2
existing Ethernet networks:
POST https://{appl}/rest/network-sets
Request Body:
{
"name":"NS1",