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

Check the targeted netbox API before import or neighbor discovery #25

Open aruhier opened 5 years ago

aruhier commented 5 years ago

Depends on https://github.com/aruhier/python-netboxapi/issues/6

Check if the Netbox API is actually usable before starting an import or a neighbor discovery. It is useless to proceed anyway, as any action to Netbox will probably fail, and the errors generated by these failures could be less cryptic.