scaleway / netbox-netprod-importer

Poll data from network devices in production and import it into netbox
GNU General Public License v3.0
101 stars 31 forks source link

Set IP roles #6

Open XioNoX opened 5 years ago

XioNoX commented 5 years ago

Netbox IPs can have a "role" set to them.

Easy one is the loopback role for lo0 interfaces and similar.

Useful for us would be to set the VRRP VIP when possible. With Juniper than maybe be be a rpc call (still looking at how this part works) to get the VRRP config. Old school but multivendor would be to use SNMP.

aruhier commented 5 years ago

Hi, Thanks again for your request. As I wrote in my documentation, I didn't want to handle the objects roles, as it seemed quite complex to guess.

Maybe I can handle VRRP and HSRP roles, but loopbacks seems harder, as I cannot really know for sure the interface's type. On Juniper, it seems easier, with lo*, however on Cisco…