Cisco Cisco Prime IP Express 8.3 Technische Referenzen

Seite von 1286
Resource: CCMSubnet
This resource is used to manage the 
 class of Network Registrar objects.
Specifies a subnet in the address space that usually corresponds to a DHCP scope or a configured subnet on a router
interface.
Functions
Get CCMSubnet Object List
Gets the list of Network Registrar CCMSubnet objects.
Request:
GET /web-services/rest/resource/CCMSubnet 
Query Parameters 
  vpnId: the VPN identifier for the address, if applicable 
CCMSubnet 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 CCMSubnet 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 CCMSubnet Object By Name
Gets the Network Registrar CCMSubnet object by name.
Request:
GET /web-services/rest/resource/CCMSubnet/{objectName}
objectName
: the string representation of the CCMSubnet address property. Use the '-' character
in place of the '/' character, if present in the name.
Response:
Returns the CCMSubnet object
Content-Type: application/xml, application/json
Put CCMSubnet Object By Name
Modifies or creates the specified Network Registrar CCMSubnet object.
Request:
PUT /web-services/rest/resource/CCMSubnet/{objectName} 
Accept: application/xml, application/json 
objectName: the string representation of the CCMSubnet address property. Use the '-' character
in place of the '/' character, if present in the name. 
Query Parameters 
  action: extra action to perform; value can be 'push' 
When connected to a regional server, the optional push action will push the object to the
specified local clusters after changes are made. If the input object is null, or identical to the
currently saved object, only the push action will be performed. 
Action Parameters 
  localCluster: the cluster or pair name; use repeated parameters or a comma-separated list to
specify a multiple entries 
  mode: the sync mode; value can be 'ensure', 'replace', or 'exact' 
At least one local cluster or pair must be specified. By default, changes will be made in 'replace'