vcenter-netbox-sync
vcenter-netbox-sync copied to clipboard
Invalid main ip
Environment
- Python version: Example: 3.6.8
- NetBox version: Example: 2.8.6
- vCenter version: Example: 6.5.0
- vCenter NetBox Sync version: last
I have many servers with a docker (the docker has its own network), the host has a standard ip, when synchronizing, the tool puts the primary ip from the docker and not the main one.
Steps to Reproduce
Expected Behavior
Observed Behavior
At the moment the script simply takes the first ip it finds and sets it as primary. I added a feature request so that this ip could manually be changed without being overwritten: Make updating primary ip optional #102. Additionally there is a feature request to ignore docker networks: Don't sync ip-address of virtual networks (docker/k8s and so on) #112
If you want to disable the Script from overwriting a primary ip so that you can change them manually. This are the changes I made to accomplish this: Make updating primary ip optional