Netbox Sync Versions Save

Sync objects from VMware or redfish sources to NetBox

v1.6.1

4 weeks ago

Bugfixes:

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

Full Changelog: https://github.com/bb-Ricardo/netbox-sync/compare/v1.6.0...v1.6.1

v1.6.0

3 months ago

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: https://github.com/bb-Ricardo/netbox-sync/compare/v1.5.1...v1.6.0

v1.5.1

8 months ago
  • Adds support for NetBox 3.6 #347

v1.5.0

11 months ago

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

1 year ago

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

1 year ago

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

1 year ago

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

1 year ago

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

1 year ago

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

v1.2.3

2 years ago

Bugfixes:

  • Fixed requirements due to incompatibility with requests 2.24.0 #142
  • Fixes issue with creating custom attributes from vcenter source #151
  • Ignores devices with missing primary key 'name' (change NetBox uniqueness constrains) #162
  • Fixes issue with VM primary not properly resolved an causing setting VM primary over and over again #172
  • Fixes AttributeError: 'dict' object has no attribute 'get_display_name' (again) #120
  • Fixes issue with new possibility to assign an 'fhrpgroup' to an IP address #137
  • Fixes site detection when resolving interface VLANs #155

Improvements:

  • From now on docker image will be published on docker hub #168