This project luckily gained a new main developer @semx. This release was mainly done by him and I'm very thankful for that.
Upgrade Notice:
This release comes with quite a few changes and these are some points to look out for:
- the minimum rquired python version is now 3.12, so make sure your environment
- the image moves to ghcr.io/bb-ricardo/netbox-sync, with Docker Hub deprecated after this release (#571)
- tag sync needs vcf-sdk instead of vsphere-automation-sdk (#572)
- the check_redfish source now supports NetBox modules which requires NetBox >= 4.3
Features:
- add support for NetBox 4.5+ v2 API tokens (Bearer auth) by @dsvetlov in #500
- allow Clusters without sites or scopes support by @afoster in #475
- add Hetzner source by @SerhiiZahuba in #493
- option to prevent FHRP group assignment from being overwritten (#445) by @afoster in #476
- single IPv4 address as primary IPv4 fallback by @eric-eisenhart in #526
- add preserve_primary_ips option by @eric-eisenhart in #525
- add {vm,host}_interface_exclude_filter options by @eric-eisenhart in #527
- add dell serial from service tag option by @marcinpsk in #551
- vmware: add match_vm_by_serial/mac_address/ip_address options by @remote24 in #532
- introduced an option to disable physical nic updates in Netbox by @pertoft in #442
- add VMware guest hostname custom field sync by @muratbulat in #536
- vmware: add vm_exclude_disk_sync and vm_exclude_disk_sync_by_tag options by @Littlericket and @semx in #554 #450
- adds module support for check_redfish by @marcinpsk and @semx in #552 #560
- vmware: add tag_name_include_category option by @ifrantic and @semx in #518 #562
- feature: add vm_status_on_create and vm_status_preserve options by @eric-eisenhart and @semx in #528 #563
- netbox: add orphaned_device_status and orphaned_vm_status by by @berlikm and @semx in #514 #564
- feat(VMware): Create NetBox cables from ESXi CDP/LLDP neighbors by @killaexist and @semx in #535 #565
- vmware: keep IPs when guest tools report no interface at all by @semx in #567
Bugfixes:
- fix: only set the Cluster scope_type if the site_name is not None by @joachimBurket in #469
- fix: handle object and multi-object custom fields correctly by @Littlericket in #452
- fix: skip_fhrp_group_ips unbinding all interface IPs and py<3.12 import (continues #476) by @semx in #538
- fix: paginated list requests silently skipping rows by @marcinpsk in #543
- fix: stops structured values being stringified into component names by @marcinpsk in #544
- fix: stops orphan tagging redfish inventory items the source still manages by @marcinpsk in #545
- fix: crash when a VLAN group relation is unresolved by @tempalov in #530
- fix: primary IP matching for resolved IP address objects by @eric-eisenhart in #523
- fix: object/multi-object custom field handling for NetBox 4.x by @eric-eisenhart in #524
- fix: identify env sources by NBS_SOURCE__NAME only by @semx in #547
- fix: accept an API token that already carries its scheme by @semx in #549
- Fix/keep undiscovered ips by @marcinpsk in #550
- fix: keep an existing device type when the host reports a placeholder model by @semx in #556
- fix: validate permitted_subnets loudly and accept a YAML list by @semx in #558
- fix: parse reevaluated VMs once and reuse their MAC objects by @semx in #553
- fix: assign addresses with a non-unique role to every interface by @semx in #559
- CI: fix docker hub push by @rizlas in #506
- fix: do not adopt a same-named cluster another source keeps in a different site by @semx in #557
- fix check_redfish: stop syncing the live fan reading by @semx in #568
- fix: scope a cluster with the site object so NetBox accepts it by @semx in #566
- fix: skip_host_nics must skip only the physical interfaces, not the host by @semx in #555
- fix: bumped all dependencies to current available versions
Changes:
- adds a vcsim based test suite and runs it in CI by @semx in #541
- bumps idna to 3.15 and setuptools to 83.0.0 by @semx in #540
- test: cover VLAN lookup with an unresolved group dict by @semx in #548
- moves the check_redfish test source builder into a fixture by @marcinpsk in #546
- test: cover track_vm_host and name the NetBox field it fills by @semx in #561
- docs: point the image address at the GitHub Container Registry by @semx in #571
- vmware: name vcf-sdk as the tag sync dependency by @semx in #572
- docker: fix the cache directory, keep the code read-only and install only the vCenter bindings by @semx in #573
New Contributors:
- @Littlericket made their first contribution in #452
- @afoster made their first contribution in #475
- @SerhiiZahuba made their first contribution in #493
- @dsvetlov made their first contribution in #500
- @semx made their first contribution in #539
- @marcinpsk made their first contribution in #543
- @tempalov made their first contribution in #530
- @eric-eisenhart made their first contribution in #523
- @remote24 made their first contribution in #532
- @pertoft made their first contribution in #442
- @ifrantic made their first contribution in #518
- @berlikm made their first contribution in #514
- @killaexist made their first contribution in #535
Full Changelog: v1.8.1...v1.9.0