Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nornir routeros plugin #11

Merged
merged 6 commits into from
Dec 11, 2023
Merged

Commits on Dec 5, 2023

  1. Add full support for json-strings for options and arguments

    - Any parameters can be passed to the nornir_cli as json-strings. This will simplify the use of the nornir_cli with jq, jc utilities and in automation pipelines
    - The command options are now available in two forms:
      - json-strings (nornir_cli nornir-netmiko init -c  -f '{inventory: {plugin:NetBoxInventory2, ...')
      - json-strings using = (nornir_cli nornir-netmiko init -c  -f 'inventory={plugin:NetBoxInventory2, ...')
    - Commands from Nornir plugins now support not only click options, but an click argument in the form of an json-string (nornir_cli nornir-netmiko netmiko_send_command --command_string disp ver '{enable: true}')
    timeforplanb123 committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    b25b212 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. Add full support for json-strings for options and arguments

    - When using options and arguments at the same time, the priority of options will be higher (For example, nornir_cli nornir-netmiko netmiko_send_command --command_string 'disp ver' '{'command_string': 'disp clock'}' will send 'disp ver' command to device). This is convenient when used in automation pipeline
    timeforplanb123 committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    7df5dfe View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. Update error messages

    - Add new json syntax for init, filter and Nornir plugin commands
    timeforplanb123 committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    98c619c View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2023

  1. Configuration menu
    Copy the full SHA
    ea8a117 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fcfea5c View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2023

  1. Configuration menu
    Copy the full SHA
    065b0a0 View commit details
    Browse the repository at this point in the history