Below is the file 'plugins/cisco_ios.py' from this revision. You can also download the file.
from basic_snmp import ip_arp, ethernet_forwarding # see: http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094a9b.shtml def ethernet_forwarding(table_name, table_io, device): yield device.config['zone'], 1, '00:11:24:c7:dd:41', 'en1' tables = { 'ethernet_forwarding' : ethernet_forwarding, 'ip_arp' : ip_arp, } def init(): export['has_table'] = simple_has_table(tables) export['get_table'] = simple_get_table(tables) log("Cisco IOS initialised")