Inline Commands for Native Command Sets
You can use inline commands for Native Command Sets.
You can only use inline commands for Native Command Sets (NCS) if Line By Line (LBL) mode is true. If the LBL is not true, Netcool Configuration Manager will remove the commands and try to send what is left to the device. To use inline commands to make configuration changes, Streaming has to be set and the sendData command will be used instead of send command.
Note: In the f5 example, streamFile.03, send was replaced by send
Data:
### Stream file
streamFile.03.sendData=$stream_input$\r
streamFile.04.wait=#
streamFile.05.sleep=5000
streamFile.08.send=save sys config\r
streamFile.11.wait=#
Inline commands
- ITNCM-Sleep
- This command will allow Netcool Configuration Manager to sleep for the specified milliseconds before doing the next command in the list.
- ITNCM-NoPrompt
- This command will cause Netcool Configuration Manager to not wait for a prompt to be returned.
- ITNCM-ChangePrompt
- This command will change the prompt that Netcool Configuration Manager is waiting for when executing commands in NCS.
- ITNCM-ResetPrompt
- This command will reset the prompt to the default value.
- ITNCM-ChangeEndOfLine
- This command will change the end of line value that follows each
command.
ITNCM-ChangeEndOfLine=\r\n
- ITNCM-ResetEndOfLine
- This command will reset the end of line values back to the default value.
- Inline case statement
- Inline case statement is a command that is added to the Native Command Sets (NCS) to handle the case where multiple responses to a command that is sent to the device are possible. The case statement is limited to one cmd at a time.