mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* feature: FDB TABLES for ios and timos * Fixed coding style issues * renamed fdb.sql to 191.sql * fixed travisCI issue * FDB table discovery working on IOS * Fixed bug: failing to insert fdb entries into database * Fix phpcbf issue * moved sql schema * rename sql schema * Add (tentative) FDB support for HP Comware switches * build schema * schema changes * run build schema....... * FBD Table discovery working on HP ComWare * FBD Table discovery working on HP ComWare * Add FDB support for HP Comware * Discovery regex fix, tested and works for cisco 3750, 2960, 6509 * Use vlan_id instead of raw vlan. Remove Nokia implementation as vlans are not being discovered for it at the moment. * Use vlan_id instead of vlan. * Add debug messages, comware support * Sorry.. phpunit isnt working for me * Use a file structure instead of if statement per OS * Make inserts to vlan table if entry does not exist. * Rename sql schema file * Use existing context name Improve output and database synchronization Remove chromephp and if ios rename sqlfile add comware back update schema * Delete TIMETRA-CHASSIS-MIB * Delete TIMETRA-FILTER-MIB * change index to bigint to be safe
3 lines
293 B
SQL
3 lines
293 B
SQL
CREATE TABLE `ports_fdb` ( `ports_fdb_id` BIGINT(20) PRIMARY KEY NOT NULL AUTO_INCREMENT, `port_id` INT(11) unsigned NOT NULL, `mac_address` VARCHAR(32) NOT NULL, `vlan_id` INT(11) unsigned NOT NULL, `device_id` INT(11) unsigned NOT NULL);
|
|
ALTER TABLE `ports_fdb` ADD INDEX ( `mac_address` );
|