Parameter – H3C Technologies H3C Intelligent Management Center User Manual

Page 502

Advertising
background image

488

Property

name

Description

Require

d

Remarks

serviceName Service

name Y

It must be consistent with the serviceName field in the
background script.

actionName Action

name Y

It must be consistent with the actionName field in the
background script.

operType Operation

type

Y

Enumerated value: 1 (deploy configuration) or 2 (get
configuration)

operMode Operation

mode

N

Enumerated value: 0 (any), 1 (SNMP), or 2 (CLI). The default
is 0.

transProtocol

Transmission
protocol

N

Enumerated value: 0 (any), 1 (TFTP), 2 (FTP), or 3 (SFTP). The
default is 0.

execMode Execution

mode

N

Enumerated value: 1 (synchronous) or 2 (asynchronous). The
default is 1.

timeout

Timeout time (in
seconds)

N

The default is 300 seconds.

Example 5:

<Asn1Action id="getXXXXAction" serviceName="getXXXX" actionName="getXXXX" operType="2"

timeout="300">

<Parameter name="devId" value="$(DEVICE_ID)"/>

<Parameter name="vlanId" value="1"/>

</Asn1Action>

Parameter

The Parameter element, shown in

Table 14

is used to define parameters for operations. Each parameter

can define its own view, and whether to perform initialization, and if yes, how to perform initialization.

For the view and initialization description, see later sections.
The common configuration framework generates the dynamic interface for only the primary action

(identified by the actionName property of the Operation element). The sequence of parameters on the

interface is consistent with that defined in the registration file.

Table 14 Properties supported by the Parameter element

Property

name

Description Required

Remarks

name Parameter

name

Y

A character string consisting of letters or digits; unique in
an action.

value Parameter

value

N

Supports replaceable variable.
The system does not generate dynamic interface for the
parameter whose variable is replaced.

label

Parameter
display name

N

A resource string starting with %.
If it is null, the name value is displayed.

required

Required or not

N

The value can be true or false. The default is true (required).

Advertising