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

Option to specify secret for IOS-devices #50

Closed MaxVonk closed 3 years ago

MaxVonk commented 3 years ago

Hi,

It would be nice to be able to specify the secret for IOS devices in the command line.

I.e, netbox-netprod-importer imp -u admin -P Password -S Secret123 -f devices.yml

I have not been able to import any of my ios devices due to the log keeps saying "Failed to enter enable mode. Please ensure you pass the 'secret' argument to ConnectHandler."

I've specified the secret in configuration.py.