Skip to content

Releases: bb-Ricardo/netbox-sync

v1.7.0: adds NetBox 4.1 support

21 Oct 13:57
Compare
Choose a tag to compare

Features:

  • adds host_platform_relation #408
  • adds compatibility for VM disk size in NetBox 4.1.0 #413
  • adds config option to define VM values as decimal #400 #413
  • adds VM IPv6 as primary IPv6 if only one candidate was found #394

Bugfixes:

  • updates requirements to resolve security issues.
  • fixes issue with unset inventory item name in redfish inventory sync #374
  • fixes issue with requests <2.32.0
  • fix issue with cached data from previous NetBox versions #415

Changes

  • pump docker python version to 3.11

Full Changelog: v1.6.0...v1.7.0

v1.6.1: adds NetBox 4.0 support

14 May 06:25
Compare
Choose a tag to compare

Bugfixes:

  • fixes issue wich changed custom fields attributes in NetBox 4.0 #387

Full Changelog: v1.6.0...v1.6.1

v1.6.0: NetBox 3.7 support and improved Redfish support

16 Feb 10:36
Compare
Choose a tag to compare

Features:

  • adds options to exclude certain VLANs from syncing #266
  • adds cluster without site relation config (multi site cluster) #301, #333
  • adds indication about synced source in tags description coming from VMware #351
  • adds pruning of unused tags VMware tags #359
  • adds warning about possible wrongly assigned VRF to an IP address #357
  • adds config options overwrite_device/vm_platform to VMware source #362
  • adds support for virtual disks in NetBox 3.7 #364
  • adds port speed and duplex to device interfaces #369

Bugfixes:

  • fixes issue with dcim/interface type if parent interface is defined #332
  • fixes issue with orphaned tag colour being reverted #340
  • fixes issue with wrongly assign 'assigned_object_type' to not associated IP address #361, #348
  • fixes issue with setting source tags on VLANs properly #349
  • fixes issue with attempt to add VLAN 4095 to NetBox
  • fixes issue with long running sync jobs and disconnected sessions
  • fixes issue with redfish and vCenter interface sync overlap #342, #330
  • fixes issue with updating redfish interface data properly #331
  • fixes issue with deleted VMware tags not removed from objects #359
  • Strip quotes from custom field labels

Changes

  • switches source_redfish 'overwrite_interface_attributes' default to 'False' #370

Thanks to @worldworm, @rizlas and @quentinlegay for the contributions and PRs.

Full Changelog: v1.5.1...v1.6.0

v1.5.1: adds support for NetBox 3.6

25 Sep 07:02
Compare
Choose a tag to compare
  • Adds support for NetBox 3.6 #347

v1.5.0: Adds additional exclude filters and fixes some long standing bugs

07 Jul 12:19
Compare
Choose a tag to compare

Features:

  • Adds config option host_nic_exclude_by_mac_list #280
  • update Dockerfile to new ubuntu image and reduced size (@rizlas) #321
  • Adds config option custom_attribute_exclude to exclude custom attribute label #317

Bugfixes:

  • Fixes DNS Reverse Lookup Not Working #306
  • Fixes issue with disable_vlan_sync and the same data was removed/added without changes #245
  • Fixes issue with IP changes without any difference #275
  • Fixes issue with empty vCenter tags #290
  • Fixes issue where color of device role "Server" always was changed back #319
  • bumps dependency 'requests' to version '2.31.0' due to security issue

Thanks to @rizlas and @muratbulat for the contributions and PRs.

v1.4.2: fixes regression bug in 1.4.1 (Kathleen Booth)

24 Apr 09:17
Compare
Choose a tag to compare

IMPORTANT:

VM role assignment is not done by default anymore. If a role assignment for a VM is desired, the vm_role_relation must be defined in the config options for this source.

Bugfixes:

  • fixes issue with assignment of default role for device. VM role assignment is optional. #305

v1.4.1: minor bug fixes (Kathleen Booth)

20 Apr 18:42
Compare
Choose a tag to compare

IMPORTANT:

Config options host_role_relation and vm_role_relation didn't work as intended. If unset or no match the default role
Server would be assigned. From now on no role assignment will take place if not explicitly enabled.

Bugfixes:

  • Issue with config options 'overwrite_device/vm_interface_name' set to False on initial syncs #287
  • VM device not set if strip_host_domain_name = True #294
  • fix issues with older python "requests" libraries #298
  • stop assigning default role "Server" to NetBox Host/VM objects if config option is undefined/does not match #299

v1.4.0: Read config from env vars and quite a few bugfixes (Kathleen Booth)

20 Mar 15:26
Compare
Choose a tag to compare

Features:

  • Adds config option 'track_vm_host' to vmware source #235
  • Adds config option to define where the cache files should be stored #254
  • Adding Dell ServiceTag as custom field from check_redfish inventory import #265
  • Adds config option to disable interface name overwrite during snyc #175
  • Enable setting ip_tenant_inheritance_order with import_inventory #281
  • Adds config option 'sync_vm_interface_mtu' to vmware source #261
  • Adss reading of ENV vars and yaml files for configuration #227
  • Adds new cli option -g to autogenerate config files #227

Bugfixes:

  • Switch from 'uuid' to 'instanceUUID' to track already synced VMs #246
  • Fixed FHRP Netbox object malformed api_path #233
  • Fixes issue with redfish ps maximum_draw < 1 #244
  • Fixes parsing of meta.inventory_id in redfish source #244
  • Mitigate json decoder error with newer requests libraries #251
  • Fixes issues with long running jobs and closing connection errors #248
  • Fixes issue with IP address changes on same device #193
  • Fixes issue with moving ip addresses from device a to b if ip address is primary ip of device #224
  • Fixes issues with reassignment of IP addresses not honoured properly #224, #179
  • Fixes pruning and handling objects from unknown sources #273

Maintenance:

  • Complete refactoring of config parsing to support ini and yaml files and reading from environment as well.

Thanks to @zvfvrv for the contributions and PRs. As well to @rizlas for all the testing and patience.

v1.3.0: Improved cluster and tag support (Margaret Hamilton)

06 Sep 08:07
Compare
Choose a tag to compare

If you're upgrading from older NetBox versions be aware of the change of custom_fields.
Only _ are allowed since 3.2 and - are not permitted anymore.
example: vcsa_last-backup will turn into vcsa_last_backup

What you need to do in NetBox:

  • change description of OLD custom field
  • delete OLD custom field in NetBox
  • Sync again
  • configure table in list with new available column of new custom field in NetBox after the sync completed

Changes done since '1.3.0-beta3'

  • Fixes issue with recognizing single cluster hosts

Removed config options:

  • sync_tags was substituted with *_tag_source config options #146
  • sync_parent_tags was substituted with *_tag_source config options #146

Features:

  • Adds support for multiple cluster with the same name #119 #197
  • Adds support for proxy and client certificates (mTLS) #140
  • Adds config option to define ESXi host management interface description #154
  • Adds option to use source name as cluster group name #171
  • Adds support for several parallel instances of netbox-sync #176
  • Adds support for syncing Dummy interfaces and IP addresses #181
  • Adds config option to completely disable syncing of any VLAN information #205
  • Adds an exclude option to permitted subnets to exclude small chunks of a bit block #203
  • Adds support for inherited interface tenant to IP addresses and VLANs #199
  • Adds vendor mapping to minimize and clean the host manufacturer #145
  • Adds summary hardware info on devices #191
  • Adds config option to create custom fields based on vm/host attributes #170
  • Adds config option to define the source of tags for cluster, hosts and VM objects #146

Bugfixes:

  • Fixes issue with changed object name length in newer NetBox versions #214
  • Fixes issue with IP addresses being marked as orphan when VM is turned off #192
  • Fixes issue with parent objet detection #195
  • Fixes issue with long-running syncs and expired vCenter sessions #188
  • Fixes issue with broken installation of Vsphere SDK #160
  • Fixes issue with ipam.fhrpgroup model introduced to NetBox? #174
  • Fixes issue with changed custom field format in NetBox #186
  • Fixes issue with updated slugs on every sync #206

Maintenance:

  • Updates requirements.txt to provide newer versions of dependencies

v1.3.0-beta3: Improved cluster and tag support (Margaret Hamilton)

26 Aug 21:26
Compare
Choose a tag to compare

If you're upgrading from older NetBox versions be aware of the change of custom_fields.
Only _ are allowed since 3.2 and - are not permitted anymore.
example: vcsa_last-backup will turn into vcsa_last_backup

What you need to do in NetBox:

  • change description of OLD custom field
  • delete OLD custom field in NetBox
  • Sync again
  • configure table in list with new available column of new custom field in NetBox after the sync completed

Removed config options:

  • sync_tags was substituted with *_tag_source config options #146
  • sync_parent_tags was substituted with *_tag_source config options #146

Features:

  • Adds support for multiple cluster with the same name #119 #197
  • Adds support for proxy and client certificates (mTLS) #140
  • Adds config option to define ESXi host management interface description #154
  • Adds option to use source name as cluster group name #171
  • Adds support for several parallel instances of netbox-sync #176
  • Adds support for syncing Dummy interfaces and IP addresses #181
  • Adds config option to completely disable syncing of any VLAN information #205
  • Adds an exclude option to permitted subnets to exclude small chunks of a bit block #203
  • Adds support for inherited interface tenant to IP addresses and VLANs #199
  • Adds vendor mapping to minimize and clean the host manufacturer #145
  • Adds summary hardware info on devices #191
  • Adds config option to create custom fields based on vm/host attributes #170
  • Adds config option to define the source of tags for cluster, hosts and VM objects #146

Bugfixes:

  • Fixes issue with changed object name length in newer NetBox versions #214
  • Fixes issue with IP addresses being marked as orphan when VM is turned off #192
  • Fixes issue with parent objet detection #195
  • Fixes issue with long-running syncs and expired vCenter sessions #188
  • Fixes issue with broken installation of Vsphere SDK #160
  • Fixes issue with ipam.fhrpgroup model introduced to NetBox? #174
  • Fixes issue with changed custom field format in NetBox #186
  • Fixes issue with updated slugs on every sync #206

Maintenance:

  • Updates requirements.txt to provide newer versions of dependencies