Cisco Cisco Prime IP Express 8.3 Technical References

Page of 1286
Resource: Lease6
This resource is used to manage the 
 class of Network Registrar objects.
A DHCPv6 lease.
Functions
Get Lease6 Object List
Gets the list of Network Registrar Lease6 objects.
Request:
GET /web-services/rest/resource/Lease6 
Query Parameters 
  vpnId: the VPN identifier for the address, if applicable 
Lease6 string properties may be specified as query parameters to filter the return list. Filter
values can specify a regular expression or exact match. Use an empty string to test for unset
values. If the vpnId parameter is not specified, the default VPN will be used for the request.
Response:
Returns the list of Lease6 objects
Content-Type: application/xml, application/json
If the list exceeds the maximum return list size, the next link is provided to get the next set of
objects.
Get Lease6 Object By Name
Gets the Network Registrar Lease6 object by name.
Request:
GET /web-services/rest/resource/Lease6/{objectName}
objectName
: the string representation of the Lease6 ip6Address property. Use the '-' character in
place of the '/' character, if present in the name.
Response:
Returns the Lease6 object
Content-Type: application/xml, application/json
Get Next Available Lease6 Object
Creates a Network Registrar Lease6 object with the next available address.
Request:
POST /web-services/rest/resource/Lease6
Accept: application/x-www-form-urlencoded 
Action Parameters 
  clientId: the client DUID 
  address: the parent prefix or link address 
  vpnId: the VPN identifier for the address, if applicable 
  clientClass: the client class required for the address, if applicable 
  prefix: the parent prefix name (if specified, address parameters are ignored) 
  length: the length to be allocated for prefix-delegation (PD) prefixes; when unset or 0, the
server will determine the length 
  hostName: the client host name; when set, DNS entries will be created for the assigned address 
  domainName: the domain name for the client host name 
The clientId parameter and parent criteria are required for this action.
Response:
Returns the location of the new Lease6 object
Content: none