BUGS
1. Netbox Pillar. Fixed handling of GraphQL queries that have significant number of filters, with previous behaviour query was encoded in parameters and was causing request to fail due to maximum parameters size was exceeded, this fix moves query content into reuqest body.
2. Netbox Pillar. Fixed handling of unsupported connections for get_connection function. This function only supports (for now) consoleports, consoleserverport and interface type of terminations, made sure that all other termination types are filtered out.
3. Netbox Pillar. Fixed `fetch_username` and `fetch_password` handling for actual secret values that are not a path to the secret in `nb://xyz` format, made sure to ignore them.
CHANGES
1. Netbox Pillar. Enhanced handling of hosts encoded in a config context of minion_id device by retrieving all devices details in one query as opposed to previously devices have been retrieved one by one, added tests to test this behaviour.
2. Netbox Pillar. On big number of hosts to retrieve from Netbox, minion was timing out, introduced multi-trheading support to speed up the process of retrieving data from Netbox. Adding new parameters `data_retrieval_num_workers` and `data_retrieval_timeout`.
3. Netbox Utils. Refactored nb_graphql function to support aliases
4. Netbox Pillar. Refactored ``get_connection``s functions to use GraphQL aliases to request termination points data in single query, as a result instead of 4 queries 2 queries required to retrieve data from Netbox
5. Netbox Pillar. Refactored ``get_interfaces`` function to retireve interfaces, ip adresses and inventory items in a single query using aliases, instead of 2 need to send 1 query now.
6. Netbox Pillar. ENhanced the process of rtetrieving hosts by host filters by packing all filters in a single query using GraphQL alises, now nomatter how many filters defined, all devices retrieved in a single query, while previously it was done one filter by one filter.
7. Dependencies updated and tested:
- netmiko 4.1.1 -> 4.1.2
- paramiko 2.11.0 -> 2.12.0
- pynetbox 6.6.2 -> 7.0.0
- tabulate 0.8.10 -> 0.9.0
- lxml 4.9.1 -> 4.9.2
- rich 12.5.1 -> 12.6.0
FEATURES
1. Execution Module nr.netbox ``query`` function added support for ``queries`` and ``query_string`` arguments