HP OneView REST API Reference

id-pools/vmac/ranges
id-pools-vmac-ranges.html[10/17/2013 10:35:17 AM]
POST https://{appl}/rest/id-pools/vmac/ranges/
Request Body:
{
"type": "Range",
"name": null,
"prefix": null,
"enabled": true,
"rangeCategory": "GENERATED",
"startAddress": "E2:13:C5:F0:00:00",
"endAddress": "E2:13:C5:FF:FF:FF",
"totalCount": 1048575,
"freeIdCount": 1048575,
"allocatedIdCount": 0,
"allocatorUri":
"/rest/id-pools/vmac/ranges/5613a502-9253-45c6-aa78-
a83635241cf8/allocator"
,
"collectorUri":
"/rest/id-pools/vmac/ranges/5613a502-9253-45c6-aa78-
a83635241cf8/collector"
,
"reservedIdCount": 0,
"freeFragmentUri":
"/rest/id-pools/vmac/ranges/5613a502-9253-45c6-aa78-
a83635241cf8/free-fragments?start=0&count=-1"
,
"allocatedFragmentUri":
"/rest/id-pools/vmac/ranges/5613a502-9253-45c6-aa78-
a83635241cf8/allocated-fragments?start=0&count=-1"
,
"uri":
"/rest/id-pools/vmac/ranges/5613a502-9253-45c6-aa78-
a83635241cf8"
,
"category": "id-range-VMAC",
"eTag": null,
"created": "2013-03-20 01:29:10.570",
"modified": "2013-03-20 01:29:10.570"
}
URI: /rest/id-pools/vmac/ranges/schema
Method API
GET Gets the JSON formatted schema for a vmac range
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 pool.
Response Codes
REST API Response Codes