Skip to content

Releases: dmulyalin/salt-nornir

0.21.0

18 Jan 12:22
Compare
Choose a tag to compare

CHANGES

  1. Removed support for python 3.7
  2. Updated and tested dependencies:
  • nornir 3.3.0 -> 3.4.1
  • pydantic 2.3.0 -> 2.5.3
  • cerberus 1.3.4 -> 1.3.5
  • genie 23.7 -> 23.11
  • pyats 23.7 -> 23.11
  • ncclient 0.6.13 -> 0.6.15
  • netmiko 4.1.2 -> 4.3.0
  • nornir-netmiko 1.0.0 -> 1.0.1
  • ntc-templates 3.0.0 -> 4.1.0
  • paramiko 2.12.0 -> 3.4.0
  • pygnmi 0.8.12 -> 0.8.13
  • pynetbox 7.0.1 -> 7.3.3
  • requests 2.25.1 -> 2.31.0
  • lxml 4.9.3 -> 5.0.0
  • textfsm 1.1.2 -> 1.1.3
  • jinja2 3.1.2 -> 3.1.3
  • rich 13.5.2 -> 13.7.0
  • diskcache 5.6.1 -> 5.6.3
  1. Tested salt-nornir with Nebtox 3.7.0 release
  2. Tested salt-nornir with SALT 3006.5 release
  3. Tested salt-nornir with robotframework 7.0 release

0.20.7

04 Nov 23:48
Compare
Choose a tag to compare

BUGS

  1. Fixed robot nr.test task to return results as is instead of trying to extract 'results' key

FEATURES

  1. Added robot nr.cfg task
  2. Updated robot nr.cli task to better handle results logging report

0.20.6

28 Oct 10:29
Compare
Choose a tag to compare

BUGS

  1. Netbox get_circuits fixed handling of circuit data to copy it for each device, as previously it was the same dict assigned to different devices, often overridden with parameters.

FEATURES

  1. nr.test execution module added return_tests_suite argument to return dictionary with test results and suite keys allowing to view the content of fully rendered per-host tests suite
  2. Updated Robot nr.test function to include per-device test suites into log report, useful for troubleshooting test suite contents executed for devices. Added hosts sorting to produce consistent output details, add tests and command counters.
  3. Added and tested support for Netbox 3.6
  4. Added new Netbox utils cache_list and cache_delete to work with cached data content

CHANGES

  1. Netbox napalm_driver usage removed from netbox pillar, instead Netbox device platform name used as a Nornir host's platform unless platform defined within Netbox device config context

0.20.5

19 Sep 11:36
Compare
Choose a tag to compare

BUGS

  1. Fixed nr.test empty suite rendering when suite had comment lines in it.

0.20.4

12 Sep 08:57
Compare
Choose a tag to compare

BUGS

  1. Moved shell models away from main pydantic models, this is to fix the problem with run_print_exception import while loading proxy minion

0.20.3

27 Aug 12:13
Compare
Choose a tag to compare

CHANGES

  1. nr.netbox get_connections removed trace argument, connections now always returned containing reference to far end devices, cable portion of connection added information about peer device. Updated graphql query to retrieve required information about remote end device without using trace allows to significantly improve the time to get data from Netbox as all retrieved in a single graphql query.
  2. Tested pydantic 2.3.0, updated dependencies

BUGS

  1. nr.netbox get_circuits improved handling of not fully populated circuit when it returns empty path
  2. nr.diagram runner improved handling of FM filer by adding support for glob pattern filtering
  3. nr.diagram improved outfile handling when it points to local directory

0.20.2

22 Aug 11:15
Compare
Choose a tag to compare

BUGS

  1. nr.netbox improved handling of get_connections with trace to not retrieve data for connections that don't have remote end connected to device - incomplete path
  2. nr.netbox improved handling of get_circuits to not retrieve data for circuits that don't have remote end connected to device or provider network - incomplete path
  3. Added support for base_url and index arguments for nr.file function to fix #37

DOCUMENTATION

  1. Fixed docs to include Netbox utils functions documentation

0.20.1

20 Aug 07:48
Compare
Choose a tag to compare

BUGS

  1. Fixed nr.test execution module handling of empty test suites when initial rendering produces no content for given host.
  2. Updated runner nr.diagram set to increase netmiko read_timeout timer to 240 seconds by default to extend time collecting long output from devices
  3. Runner nr.diagram improved OS path handling for outfile argument
  4. Runner nr.diagram changed commands output results handling to skip empty and error results

0.20.0

13 Aug 12:24
Compare
Choose a tag to compare

CHANGES

  1. Removed cli argument support from nr.test execution module function as it was not used in the code anyway, instead can supply extra arguments using **kwargs
  2. Updated and tested dependencies:
  • PyYaml 5.4.1 -> 6.0.1
  • napalm 4.0.0 -> 4.1.0
  • pydantic 1.10.2 -> 2.0.3
  • nornir-netmiko 0.2.0 -> 1.0.0
  • nornir-napalm 0.3.0 -> 0.4.0
  • nornir-scrapli 2022.07.30 -> 2023.7.30
  • scrapli 2022.07.30 -> 2023.7.30
  • scrapli-community 2022.07.30 -> 2023.7.30
  • scrapli-netconf 2022.07.30 -> 2023.7.30
  • pyats 22.1 -> 23.7
  • genie 22.1 -> 23.7
  • pygnmi 0.8.9 -> 0.8.12
  • pynetbox 7.0.0 -> 7.0.1
  • lxml 4.9.2 -> 4.9.3
  • rich 12.6.0 -> 13.5.2
  • robotframework 6.0.2 -> 6.1.1
  • dnspython 2.3.0 -> 2.4.2
  • saltstack 3006.0 -> 3006.2
  1. Added Pydantic 2.0 support, pydantic 1.x will be deprecated in 0.21 release
  2. Changes to install extras:
  • prodmax replaced with prodmaxminion and prodmaxmaster to optimize set of installed packages
  • prodmin replaced with prodminminion and prodminmaster to optimize set of installed packages

FEATURES

  1. nr.test added support for salt argument for test items, which allows to control salt-nornir execution module function and parameters to use to run the test
  2. stare nr.workflow module added support for step stop_if_fail argument to stop workflow execution for given host if step fail this is to address #35 feature request
  3. Added new nr.netbox execution module function get_circuits to retrive devices' circuit details from netbox

BUGS

  1. Improoved nr.netbox get_interface handling for cases when remote connection terminates on provider network
  2. Fix nr.cli handling multiline commands file downloaded from master making sure file content splitted into multiple lines and each line sent to device one by one when split_lines set to True

0.19.4

08 Jun 12:13
Compare
Choose a tag to compare

ENHANCEMENTS

  1. nr.test added support to specify worker to render and run tests with #31
  2. nr.test added support for job_data argument for tests rendering #32