0.16.0
0.16.0
FEATURES
- Nornir Tests task - adding support for
groupsargument, added support to nfcli shell as well - Adding configuration model to edit NorFab configuration using NFCLI shell
- NFCLI - adding history and commands history persistency across runs
- Nornir netbox get inventory task added support to pass on
cachevariable to control overall cache behaviour - Netbox get_interfaces task uses REST API now and return interfaces extra information, such as connected endpoints
- NFCLI - adding new
show jobs statisticsandshow jobs database-statisticscommands to view local jobs database statistics
CHANGES
-
Dependencies updates:
- picle: 0.9.0 → 0.11.0 - enhanced command help and man tree output, commands history
-
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
-
Netbox get_interfaces - refactored to use rest api via pynetbox instead of GraphQL API
-
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.
-
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
-
Adding
orjsonlib to core dependencies -
Refactored Nornir worker:
- splitting tasks into dedicated files and moving all in dedicated folder
- moving related pydantic models under new nornir_worker folder
- Refactoring broker to use
orjsoninstead ofjsonlibrary
BUGS
- NFCLI netbox get functions - adding missing pipe models
- Client - fixing race condition when calling destroy and dispatcher threads still using zmq socket
- NFCLI fixing Nornir cli and cfg tasks multiline collection of commands
- Nornir worker - fixing not to raise error when not able to load Nebtox inventory.
Full Changelog: 0.15.4...0.16.0