Skip to content

Releases: dmulyalin/nornir-salt

0.17.0

04 Dec 06:09
Compare
Choose a tag to compare

FEATURES

  1. InventoryFun added new function - list_hosts_platforms - to produce a dictionary keyed by hosts' names with values of their platforms

BUGS

  1. DictInvenotry fixed to properly handle empty inventory data or inventory that does not have hosts.

CHANGES

  1. 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

20 Oct 10:36
Compare
Choose a tag to compare

FEATURES

  1. InventoryFun added new function - list_hosts_platforms - to produce a dictionary keyed by hosts' names with values of their platforms

0.16.0

03 Oct 08:27
Compare
Choose a tag to compare

FEATURES

  1. TestsProcessor added support to build per-host tests suites and per-host commands using Jinja2 and YAML
  2. scrapli_netconf_call task added support for commit confirmed to transaction function

CHANGES

  1. 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

04 Sep 05:49
Compare
Choose a tag to compare

FEATURES

  1. Added NetboxConnectionPlugin to interact with netbox from task plugins using pynetbox
  2. 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

  1. Improved RetryRunner logging of connection exceptions
  2. Improved HostsKeepalive function handling for puresnmp, http and netbox connection plugins
  3. Improved netmiko_send_config result collection handling to capture not only config changes but also commit and exit config results
  4. Improved "\n" handling for send_config tasks to make sure escaped new line is not altered

0.14.0

14 Aug 11:20
Compare
Choose a tag to compare

FEATURES

  1. Added PuseSNMPPlugin connection plugin to communicate with devices over SNMP using puresnmp library
  2. Added puresnmp_call task plugin to run SNMP tasks

0.13.2

06 Aug 07:25
Compare
Choose a tag to compare

BUGS

  1. Improved cfg_form_commands utility function \\n handling for send config tasks

CHANGES

  1. Improved netmik_send_config method to find prompt before entering enable mode, Arista was failing to enter enable mode due to is_alive method calls

0.13.1

28 Jul 12:35
Compare
Choose a tag to compare

FEATURES/FIXES

  1. 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

  1. Improved nclient_call task yangdantic model
  2. Enhanced ncclient_call transaction function to better handle return results
  3. Dependency update - PyGNMI from 0.6.9 to 0.8.4

0.13.0

17 Jul 10:56
Compare
Choose a tag to compare

BUGS

  1. Fixed files task index loading to check if index file exists, and return empty dictionary if it does not exists.

CHANGES

  1. Added textfsm == 1.1.2 dependency, 1.1.3 version was failing to install due to lack of six package
  2. 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
  1. Improvement "any()" calls uses generators instead of lists
  2. netmiko_send_command_ps updated to support Netmiko 4

0.12.0

12 Jun 03:40
Compare
Choose a tag to compare

CHANGES

  1. Deprecated Python 3.6 support, pinned requirement for Python >=3.7,<4.0
  2. Updated dependency - Nornir from 3.2.0 to 3.3.0
  3. Updated dependency - jmespath from 0.10.0 to 1.0.0
  4. Updated dependency - NAPALM from 3.3.1 to 3.4.1
  5. Updated dependency - nornir-napalm from 0.1.2 to 0.2.0
  6. Updated dependency - paramiko from 2.9.2 to 2.11.0
  7. Updated dependency - pygnmi from 0.6.8 to 0.6.9
  8. Updated dependency - xmltodict from 0.12.0 to 0.13.0
  9. Pinned lxml dependency to version 4.8.0
  10. Added dependency extras - netmiko, napalm, scrapli, pyats, netconf, gnmi, restconf, dataprocessor - to simplify installation using pip install nornir-salt[xyz]
  11. Updated dependency - scrapli from 2021.7.30 to 2022.1.30

BUG

  1. 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

0.11.1

30 May 07:59
Compare
Choose a tag to compare

BUGS

  1. Fixed pydantic model to enlist missing TestsProcessor test function alias names