Client parameter list parameters
A client parameter list enables the execution of a service
for multiple items in a single request. NSM service
designers use
the <clientParameterList>
element and the name
attribute
to define the name of a client parameter list when designing NSM service
templates. NSM service
designers define
parameters within that list using the <parameter name>
tag.
NSM client users specify values and the order the value should be
evaluated by using the <values>
and </values>
tags
and the order
attribute when submitting a NSM service
template.
The following sample XML shows the layout of the <clientParameterLists>
element
and associated tags that NSM service
designers specify
when creating a NSM service
template:
<clientParameterLists>
<clientParameterList name="ZONEID" description="Zone ID">
<parameter name="ZONE_NAME" description="Zone Name"/>
</clientParameterList>
<clientParameterList name="ROUTEDETAILS" description="Route Details">
<parameter name="SOURCEROUTETABLE" description="Source Route Table"/>
<parameter name="TARGETROUTETABLE" description="Target Route Table"/>
<parameter name="VIRTUALROUTERNAME" description="Virtual Route Table"/>
</clientParameterList>
</clientParameterLists>
The
following sample XML shows the use of the <value>
tag
that NSM client users specify when submitting a NSM service
template for
execution:
.
.
.
<clientParameterLists>
<clientParameterList name="ZONEID">
<parameter name="ZONE_NAME"/>
</clientParameterList>
<clientParameterList name="ROUTEDETAILS">
<parameter name="SOURCEROUTETABLE"/>
<parameter name="TARGETROUTETABLE"/>
<parameter name="VIRTUALROUTERNAME"/>
</clientParameterList>
</clientParameterLists>
<clientParameterLists>
<clientParameterList name="ZONE_NAME_ID">
<parameter name="ZONE_NAME">
<values>
<value order="1">Cisco_Zone_Name1</value>
<value order="2">Cisco_Zone_Name2</value>
.
.
.
Table 1 describes the client parameter list parameters elements and associated tags for NSM service template design and NSM service template submission.
Element/Tag | Type | Description |
---|---|---|
<clientParameterLists> |
Containing list | Contains the client parameter list and
its associated parameters. Each client parameter list and associated
parameters is encapsulated within a In the example, the |
|
Container | Contains the definition (parameter names
and descriptions) of the client parameter list. Each client parameter
list definition is encapsulated within a |
|
String | The The
example uses two instances of the |
|
String | The The example
uses two instances of the |
<parameter> |
Container | Contains one or more client parameters
to be used in the service operation. Each client parameter is encapsulated
within a |
parameter.name |
String | The The
example uses instances of the
|
parameter.description |
String | The The example uses
instances of the
|
<values> |
Containing list | Contains the list of Note: The NSM client user makes use of the
<values> and <value> tags
and <order> attribute when populating client parameter
list parameters with appropriate values. NSM client users specify
these tags and attribute when submitting a NSM service
template for
execution. One client parameter list can have many values assigned
to it. The operation that uses this client parameter list name will
get executed the same number of times as there are values assigned
to it. |
<value> |
Container | Contains the value to be supplied to the service operation. The example uses two instances of the |
value.order |
String | A number representing what order a value
should be in. This attribute is optional. It is recommended that the
order attribute be used as it will ensure that values that need to
be set in the same operation is guaranteed. For example if you have
two parameters in two The example uses two
instances of the |