synackray / vcenter-netbox-sync

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

Feature request: exclude certain machines with special prefix #108

Open fupsi42 opened 4 years ago

fupsi42 commented 4 years ago

Is your feature request related to a problem? Please describe. We have replicated machines which have the addition "_REPL" in their name. These should not be listed in Netbox. Furthermore there are warnings when calling the script because the replicas have the same MAC address as the original.

Describe the solution you'd like The possibility to specify prefixes to be excluded

Describe alternatives you've considered n/a

bb-Ricardo commented 3 years ago

I went down a rabbit hole and finally can see the light at the end of the tunnel again. This took way longer then expected (as usual).

Here you go: https://github.com/bb-Ricardo/netbox-sync

please test as much as you can: Debug logs are very welcome.