Skip to content

Device inventory (devices.csv)

config/devices.csv is the device list Netpilot reads on every run.

host,vendor,role,site
10.0.0.1,cisco,cisco_core,Site-A
10.0.0.2,cisco,cisco_dataswitch,Site-A
10.0.0.3,alcatel,alcatel_dataswitch,Site-B
10.0.0.4,alcatel,alcatel_poeswitch,Site-B
10.0.0.5,alcatel_wlc,wlc,Site-A
vendorNetmiko device_typeUse for
ciscocisco_iosCisco IOS / IOS-XE switches and routers
alcatelalcatel_aosAlcatel-Lucent OmniSwitches (OS6860, OS6900, etc.)
alcatel_wlcaruba_osAlcatel-Lucent WLCs (OAW-4550, OAW-4350, OAW-4250)
roleConfig folder used
cisco_coreconfig/cisco/
cisco_dataswitchconfig/cisco/
cisco_poeswitchconfig/cisco/
alcatel_coreconfig/alcatel/
alcatel_dataswitchconfig/alcatel/
alcatel_poeswitchconfig/alcatel/poe_switch/ (role override)
wlcconfig/alcatel_wlc/ or config/cisco/

Copy a few rows into config/testdata_devices.csv and run against that before a full rollout:

Terminal window
python -m src --task SNMPV3 --commands snmpv3 --devices config/testdata_devices.csv