Releases: dmulyalin/nornir-salt
Releases · dmulyalin/nornir-salt
0.17.0
FEATURES
- InventoryFun added new function - list_hosts_platforms - to produce a dictionary keyed by hosts' names with values of their platforms
BUGS
- DictInvenotry fixed to properly handle empty inventory data or inventory that does not have hosts.
CHANGES
- Removed Netbox connection plugin and Netbox tasks, functionality moved to salt-nornir netbox pillar and nr.netbox execution modules. The reason is, integration with Salt provided better scaling compared to calling out Netbox API from hosts tasks, where one API request sent per each host task runs on. FOr substantial number of hosts that might not be the best way of doing it. SaltStack execution modules and pillar modules however, can serve as an aggregation points, gathering or pushing data for several hosts using less number of API calls.
0.16.1
0.16.0
FEATURES
- TestsProcessor added support to build per-host tests suites and per-host commands using Jinja2 and YAML
- scrapli_netconf_call task added support for commit confirmed to transaction function
CHANGES
- Tested and updated depemdencies:
- pydantic 1.9.1 -> 1.10.2
- jmespath 1.0.0 -> 1.0.1
- nornir-scrapli 2022.1.30 -> 2022.07.30
- pygnmi 0.8.4 -> 0.8.9
- requests 2.27.1 -> 2.28.1
- scrapli 2022.1.30 -> 2022.07.30
- scrapli-community 2022.1.30 -> 2022.07.30
- scrapli-netconf 2022.1.30 -> 2022.07.30
- tabulate 0.8.9 -> 0.8.10
- lxml 4.8.0 -> 4.9.1
- jinja2 3.0.3 -> 3.1.2
0.15.0
FEATURES
- Added NetboxConnectionPlugin to interact with netbox from task plugins using pynetbox
- Added netbox_tasks plugin with these functions:
- netbox_tasks - function to call one of task plugins
- sync_device_from_netbox - to sync data from Netbox device to Nornir host data inventory
- sync_device_to_netbox - to sync Nornir Inventory devices data to Netbox
CHANGES
- Improved RetryRunner logging of connection exceptions
- Improved HostsKeepalive function handling for puresnmp, http and netbox connection plugins
- Improved netmiko_send_config result collection handling to capture not only config changes but also commit and exit config results
- Improved "\n" handling for send_config tasks to make sure escaped new line is not altered
0.14.0
0.13.2
0.13.1
FEATURES/FIXES
- ncclient_call transaction added support for edit_rpc, edit_arg and commit_arg arguments to have better control over transaction execution, for example can use edit_rpc="load_configration" to call Juniper proprietary load_confgiuration_rpc, or use commit_arg to specify validate=True argument to validate config before commit if supported by device. Enhanced handling of Juniper proprietary commit RPC to support commit_confirmed for Juniper devices #6
CHANGES
- Improved nclient_call task yangdantic model
- Enhanced ncclient_call transaction function to better handle return results
- Dependency update - PyGNMI from 0.6.9 to 0.8.4
0.13.0
BUGS
- Fixed files task index loading to check if index file exists, and return empty dictionary if it does not exists.
CHANGES
- Added textfsm == 1.1.2 dependency, 1.1.3 version was failing to install due to lack of six package
- Dependencies update:
- Ncclient from 0.6.9 to 0.6.13
- Netmiko from 3.4.1 to 4.1.1
- NAPALAM from 3.4.0 to 4.0.0
- nornir-netmiko from 0.1.0 to 0.2.0
- nornir-napalm from 0.2.0 to 0.3.0
- TTP from 0.8.4 to 0.9.*
- TTP-Templates from 0.1.* to 0.3.*
- NTC-Templates from 1.7.0 to 3.0.0
- PyATS and Genie updated to install using 'full' extras
- Improvement "any()" calls uses generators instead of lists
- netmiko_send_command_ps updated to support Netmiko 4
0.12.0
CHANGES
- Deprecated Python 3.6 support, pinned requirement for Python >=3.7,<4.0
- Updated dependency - Nornir from 3.2.0 to 3.3.0
- Updated dependency - jmespath from 0.10.0 to 1.0.0
- Updated dependency - NAPALM from 3.3.1 to 3.4.1
- Updated dependency - nornir-napalm from 0.1.2 to 0.2.0
- Updated dependency - paramiko from 2.9.2 to 2.11.0
- Updated dependency - pygnmi from 0.6.8 to 0.6.9
- Updated dependency - xmltodict from 0.12.0 to 0.13.0
- Pinned lxml dependency to version 4.8.0
- Added dependency extras - netmiko, napalm, scrapli, pyats, netconf, gnmi, restconf, dataprocessor - to simplify installation using
pip install nornir-salt[xyz]
- Updated dependency - scrapli from 2021.7.30 to 2022.1.30
BUG
- Changed FC, FB, FX, FR filters pydantic models to non strict str type, so that can give any value such as number or boolean, as they are converted to strings anyway by FFun