synackray / vcenter-netbox-sync

Sync objects between vCenter and Netbox via Python3
Apache License 2.0
109 stars 28 forks source link

fetch all data first and then only update changed objects #131

Open bb-Ricardo opened 4 years ago

bb-Ricardo commented 4 years ago

Is your feature request related to a problem? Please describe. Currently every object is requested separately to compare the vCenter attributes with NetBox attributes. This is very time consuming.

Describe the solution you'd like All objects should be queried at the beginning, then compared and only the changed objects should be changed in NetBox.

Currently the Sync takes 1hour and 30 Minutes for each run. This could be reduced to (wild guess) 2 minutes after an initial sync.

bb-Ricardo commented 4 years ago

related to https://github.com/bb-Ricardo/vcenter-netbox-sync/issues/5