Nornir-salt

Latest version: v0.21.1

Safety actively analyzes 630254 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 8

0.8.0

BUGS

1. ResultSerialiser improved handling of non supported types for results by converting them to string as a lastage effort
2. Fixed `ncclient_call` `transaction` (previously named `locked`) function commit-confirmed handling

FEATURES

1. Added `PyATSUnicon` connection plugin to interact with devices using Genie library
2. Added `pyats_send_commands` task plugin to send commands over CLI to devices using Genie->PyATS->Unicon libraries, supporting onnections pools and output parsing
3. Added `pyats_send_config` task plugin to send config over CLI to devices using Genie->PyATS->Unicon libraries
4. Updated `HostsKeepalive` function to support pyats connection
5. Significantly improved `transaction` handling for `ncclient_call` and `scrapli_netconf_call` task plugins by checking device capabilities and using them to decide on additional steps such as validate or commit-confirmed
6. Added task plugin `pyats_genie_api` to call any Genie device api
7. Added `InventoryFun` function to interact with nornir inventory, these are the `InventoryFun` functions available:

- create_host/create
- update_host/update
- delete_host/delete
- read_host/read
- read_inventory
- load
- list_hosts

CHANGES

1. `ncclient_call` task renamed `locked` function to `transaction`
2. `scrapli_netconf_call` task renamed `locked` function to `transaction`

0.7.0

FEATURES

1. Added `commit_final_dealy` argument for `netmiko_send_config` task plugin to use with commit confirm feature.
2. Added `napalm_send_commands` task plugin to send commands to devices using NAPALM `cli` method
3. Added `ntfsm` parser function to `DataProcessor` to parse CLi output using TextFSM ntc-templates repository
4. Extended `parse_ttp` function to source templates from `ttp_templates` based on host platform and task command
5. Added new task `sleep` to command Nornir to sleep/pause for certain time
6. Added `terse` tabulate argument to TabulateFormatterto emit same columns as `brief` but in a more dense format to occupy less lines
7. Added `batch` keyword to `netmiko_send_config` task to send config commands in batches, useful if need to push big configurations
8. Added `SaltEventProcessor` to emit SaltStack events on task execution progress.

BUGS

1. When was using err_msg with eval test function and assert in expression, if assert fails, err_msg not used as exception, updated EvalTest logic to prefer using err_msg
2. `FFun` when supplying integer as a pattern was failing, made sure to convert pattern to string for all FFun functions

CHANGES

1. TestsProcessor EvalTest - improved err_msg handling by making it always preferred even when assert used.
2. `netmiko_send_config` no longer uses nornir-netmiko netmiko_send_config task, instead interacts with Netmiko connection directly.
3. Change logging level to be debug for `DataProcessor` if it fails to import third party libraries

0.6.9

0.6.1

BUG

1. Fixed checks for lod_filter for DataProcessor for integer compare operations - le, ge, lt etc, as it was returning full results if value was string

0.6.0

BUGS

1. Fixed netmiko_send_commands and scrapli_send_commands task to ignore empty commands
2. Fixed `DataProcessor` lod_filter/key_filter glob check integers handling

FEATURES

1. Added `jmespath` function to `DataProcessor`
2. `DataProcessor` `find` function extended to support `xpath` and `jmespath` functions
3. Added connection plugin `PyGNMIPlugin` and `pygnmi_call` task plugin
4. `DataProcessor` added new filtering checks `eq, ge, gt, le ,lt, contains` for `find`, `lof_filter` and `key_filter` functions
5. Added `iplkp` function to `DataProcessor` to replace IP addresses with CSV or DNS lookup values

CHANGES

1. `http_call` updated to use more advanced logic to form target url and changed to assigns call method name to task name

0.5.1

BUGS

1. Fixed requirements

Page 6 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.