I just try to update my test instance of netshot in v0.19.0 and the update process works very well and the new version have some improvment very cool :)
variable in script and new script management are very cool nice dev !!!
I just have detect one potential bug on script function. When i try to make output some text in log during a script execution with cli.debug like i do before update, the script crash with this output.
my test script :
function run(cli, device) {
//DEBUT SCRIPT
cli.macro("user");
var output = cli.command("dis cu interface");
cli.debug("coucou");
}
and the error output :
[ERROR] Error while running script using driver HPE SWITCH: 'TypeError: invokeMember (debug) on onl.netfishers.netshot.device.script.CliScript$1 failed due to: Unknown identifier: debug'.
Hello,
I just try to update my test instance of netshot in v0.19.0 and the update process works very well and the new version have some improvment very cool :) variable in script and new script management are very cool nice dev !!!
I just have detect one potential bug on script function. When i try to make output some text in log during a script execution with cli.debug like i do before update, the script crash with this output.
my test script :
and the error output :
regards