This issue has 3 components
Speed
- Make sure that where possible api calls are made in bulk and cached
- Ensure filters are applied to both source and Netbox api calls to reduce load
Failure handling
- Ensure the sync script has the option to stop of failure or continue on failure and report
- Have a mechanism that allows retry of failures rather than the complete run
Reporting
- Produce a run report that has statistics and details of objects created, updated, deleted and failed per object type.
- Perhaps api statics as well so we can see the number of calls and how long they take