addCommand
The addCommand operation handles configuration related to Command model.
Data Parameters
Parameter | Required | Type | Description | ||
---|---|---|---|---|---|
commandInput | True | string | A mandatory utf-8 string, maximum of 1024 characters, specifying the input command that needs to be executed on the device. Field level constraints: cannot be blank or empty, length must be between 0 and 1024 (inclusive). (Note: Additional constraints might exist) |
||
commandOutput | False | string | A utf-8 string specifying the output of the command executed. | ||
timeOut | False | integer | An optional long numeric value specifying the time in milliseconds. It specifies the maximum time within which the command executes. | ||
type | True | string | A UTF8 string, all letters lower-case, that represents the class-type. This corresponds to the class name. |
Example
- name: Execute 'addCommand' operation
ftd_configuration:
operation: "addCommand"
data:
commandInput: "{{ command_input }}"
commandOutput: "{{ command_output }}"
timeOut: "{{ time_out }}"
type: "{{ type }}"