Cisco Cisco Prime IP Express 8.3 Referencia técnica

Descargar
Página de 1286
Resource: LinkTemplate
This resource is used to manage the 
 class of Network Registrar objects.
A template to create IPv6 links and associated prefixes. The root prefix address and vpn can only be supplied as
context variables. Attributes of type AT_EXPR are evaluated as expressions to generate a link-specific value for the
corresponding link attribute. The prefix-expr attribute is a special case where the expression result defines the list of
prefix addresses and prefix templates, which combined with the link vpn, are used to create associated prefixes. All
other attributes, except the link name and description, are copied literally from the template to the newly created link.
Functions
Get LinkTemplate Object List
Gets the list of Network Registrar LinkTemplate objects.
Request:
GET /web-services/rest/resource/LinkTemplate 
LinkTemplate 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.
Response:
Returns the list of LinkTemplate 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 LinkTemplate Object By Name
Gets the Network Registrar LinkTemplate object by name.
Request:
GET /web-services/rest/resource/LinkTemplate/{objectName}
objectName
: the string representation of the LinkTemplate name property
Response:
Returns the LinkTemplate object
Content-Type: application/xml, application/json
Put LinkTemplate Object By Name
Modifies or creates the specified Network Registrar LinkTemplate object.
Request:
PUT /web-services/rest/resource/LinkTemplate/{objectName} 
Accept: application/xml, application/json 
objectName: the string representation of the LinkTemplate name property 
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'
mode.