Skip to content

v1.3.0

Latest
Compare
Choose a tag to compare
@timeforplanb123 timeforplanb123 released this 11 Dec 07:35
· 3 commits to master since this release

What's Changed

  • updates by @timeforplanb123 in #8:
    • now the nornir_cli commands (init, filter, Nornir plugin commands) accept any arguments as json strings. Combined with jq, jc utilities, this feature can be very useful in scripts and automation pipelines
    • some Nornir plugins accept any arguments only as **kwargs. Now such arguments can be passed as json strings
  • update_error_messages by @timeforplanb123 in #9:
    • added new syntax to init, filter and Nornir plugin error messages
  • update_docs by @timeforplanb123 in #10:
    • examples and a description of the new json string feature have been added to the documentation
  • add_nornir_routeros_plugin by @timeforplanb123 in #11:
    • starting from new nornir_cli version 1.3.0, you can pass any additional arguments as a json string to Nornir plugin commands. This feature allows you to run any Nornir plugin command without an unique set of parameters. So, now the nornir-routeros plugin can be run like this - $ nornir_cli nornir-routeros init -c "/home/user/config.yaml" routeros_command '{"path":"/", "command":"ping", "address": "1.1.1.1", "count":4}'