Repository navigation
0.22.5
0.22.5
ENHANCEMENTS
- Added tri-state
preserve_descriptionhandling to NetBoxsync_vlans,sync_vrfs,sync_device_interfaces, andsync_bgp_peerings. The default preserves an existing NetBox description only when live text is empty;Truealways preserves it, whileFalsealways applies live text, including an empty string. NetBoxsync_bgp_asnnow uses the same shared description policy while retaining its existingTruedefault. - Enhanced NetBox
sync_bgp_communityto skip live community values that do not contain:, preventing well-known names such as Junosno-exportfrom being synchronized as NetBox BGP community objects. - Enhanced NetBox
sync_vrfsto handle multiple existing NetBox VRFs with the same name deterministically by logging a warning and reconciling against the matched VRF with the numerically lowest ID. - Enhanced NetBox
sync_vrfsto silently skip live parser records whoseinstance_typeis present and not equal tovrf. - Extended NetBox
get_bgp_peeringsto support thebranchargument when reading BGP sessions from a NetBox branch. - Extended NetBox
get_devices,get_connections,get_topology,get_nornir_inventory, andget_containerlab_inventorywith branch-aware reads. Nested inventory lookups propagate the branch to all supported data retrieval tasks. - Added branch support to NetBox
netbox_graphqlandrest; both validate or create the branch through the existing pynetbox branch lifecycle and send its schema ID in theX-NetBox-Branchheader. The deprecatedgraphqltask remains unchanged. - Branch-aware NetBox device, interface, circuit, BGP peering, Nornir inventory, and Containerlab inventory reads now bypass cache without changing existing cache keys or non-branch cache behavior.
- Refactored NetBox
get_circuitsto use the paginatednetbox_graphqltask with explicit circuit and cache-freshness queries, replacing its dependency on the deprecatedgraphqltask. - Added branch support to NetBox
get_circuits, including device and circuit queries, REST termination path tracing, optional interface enrichment, and circuit lookups made by Nornir and Containerlab inventory tasks.
BUGS
- Fixed NetBox
sync_device_interfacesduplex comparison by normalizing NetBox choice dictionaries to scalar values before diffing against live interface data. - Fixed NetBox
sync_device_ipmatching to prioritize an IP already assigned to the target interface before applying VRF and duplicate-address fallback rules. - Fixed NetBox BGP peering reads to pass the selected branch through
get_bgp_peerings,get_devices, and pynetbox calls duringsync_bgp_peerings.
Full Changelog: 0.22.4...0.22.5