Skip to content

0.16.0

Choose a tag to compare

@dmulyalin dmulyalin released this 01 Mar 12:28
· 116 commits to master since this release

0.16.0

FEATURES

  1. Nornir Tests task - adding support for groups argument, added support to nfcli shell as well
  2. Adding configuration model to edit NorFab configuration using NFCLI shell
  3. NFCLI - adding history and commands history persistency across runs
  4. Nornir netbox get inventory task added support to pass on cache variable to control overall cache behaviour
  5. Netbox get_interfaces task uses REST API now and return interfaces extra information, such as connected endpoints
  6. NFCLI - adding new show jobs statistics and show jobs database-statistics commands to view local jobs database statistics

CHANGES

  1. Dependencies updates:

    • picle: 0.9.0 → 0.11.0 - enhanced command help and man tree output, commands history
  2. Netbox worker refactoring:

    • moving tasks out to dedicated files to shrink main worker .py file
    • moved Netbox worker related models under worker folder itself
    • get_circuit changing cache argument to None to honor global cache setting
    • get_interfaces task refactored to use REST API instead of GraphQL API
  3. Netbox get_interfaces - refactored to use rest api via pynetbox instead of GraphQL API

  4. Enhancing nornir tests markdown results report - adding groups, description, comments to test details, added total failed an success rate counters, modified table output to display failed tests first.

  5. Enhancing workers and client jobs database operations toward reducing memory usage and improving speed - switching to orjson instead of json, dropping text columns in favour of byte blobs and switching zlib compression to level 1

  6. Adding orjson lib to core dependencies

  7. Refactored Nornir worker:

  • splitting tasks into dedicated files and moving all in dedicated folder
  • moving related pydantic models under new nornir_worker folder
  1. Refactoring broker to use orjson instead of json library

BUGS

  1. NFCLI netbox get functions - adding missing pipe models
  2. Client - fixing race condition when calling destroy and dispatcher threads still using zmq socket
  3. NFCLI fixing Nornir cli and cfg tasks multiline collection of commands
  4. Nornir worker - fixing not to raise error when not able to load Nebtox inventory.

Full Changelog: 0.15.4...0.16.0