Restaction and asn1action – H3C Technologies H3C Intelligent Management Center User Manual
Page 500
486
Example:
actionName="addXXXXAction" actionType="1" operLevel="1" devCapability="dc1"> RestAction and Asn1Action The operation definitions include operation parameter definition and action definition. Although an so you can define multiple actions. Only the action corresponding to actionName is executed for the operation. The system dynamically generates input interface only for this action. modes, listed in Table 12 Properties supported by the RestAction element Property name Description Required Remarks Id Action ID Y A character string consisting of letters or digits; protocol Protocol Y HTTP or HTTPS. ip IP address Y Supports replaceable variable, for example, port Port number Y Supports replaceable variable, for example, uri URI used by the Y For example, /imcrs/vlan?devId=33. userName Authentication Y Supports replaceable variable, for example, userPassword Authentication Y Supports replaceable variable, for example, method Method used by Y Enumerated value: 1(GET), 2(POST), 3(PUT), or bufferSize Buffer size N The default is 8192 bytes. Timeout Timeout time (in N The default is 5000 milliseconds.
operation requires one action, the operation parameter initialization typically requires additional actions,
Common configurations support two types of actions: REST action and ASN1 action. The REST action is
executed in the REST mode; the ASN1 action is executed in the ASN1 and background communication
unique in an operation.
${ IMC_SERVER_IP }.
${ IMC_HTTP_PORT } or ${ IMC_HTTPS_PORT }.
REST operation
username
${ IMC_USER_NAME }.
password
${ IMC_USER_PWD }.
the REST
operation
4(DELETE).
milliseconds)