hcl_console_exec
Send a single command to an HCL device console through its telnet bridge and discard stale output before reading the response.
Instructions
Send one line to a device console over HCL's telnet bridge (gated).
Supply either pipe (\\.\pipe\<topology>-device<N> or
telnet://127.0.0.1:<30001..31024>) or topology plus device;
the default endpoint for a topology is the telnet bridge HCL publishes
for that device. Output that arrived before the command is drained and
reported as discarded_stale_bytes so stale console text cannot be
mistaken for this request's answer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pipe | No | ||
| device | No | ||
| expect | No | ||
| command | Yes | ||
| topology | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||