bb-Ricardo / netbox-sync

Sync objects from VMware or redfish sources to NetBox
MIT License
276 stars 62 forks source link

How to Sync specific IP Adress when VMware Object got 2 Ip adresses. #385

Open natioifhoop opened 4 months ago

natioifhoop commented 4 months ago

Hello everyone, is there a way to specify which ip address should be synced from the VM object to netbox?

192.168.1.100 10.10.10.100.

After a sync, the VM object in netbox has the IP 10.10.10.100 but it should actually take the IP address from the first network adapter.

How can I implement this?

Thanks in advance Chris

bb-Ricardo commented 4 months ago

Hi,

It should actually sync both addresses. But the subnet needs to be permitted in the config. Can you run it with -l DEBUG2 and post the part for this VM here? Then we should be able to tell what's going on.

bb-Ricardo commented 3 months ago

Hi,

any update on this?