mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
feature: Support fdb table on generic devices (#6902)
* feature: support fdb table on generic devices refactored code to use snmpwalk_group refactored ajax table code to use joins and reduce extra queries add indexes for device_id and port_id, drop primary index Make all columns sortable Fix a few other small issues * Add index for vlan_id since that field can be searched by the user * fix whitespace * Rename 197.sql to 198.sql * set row count for table
This commit is contained in:
committed by
Neil Lathwood
parent
bda5a4343e
commit
e8dd72e8db
4
sql-schema/198.sql
Normal file
4
sql-schema/198.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE `ports_fdb` DROP `ports_fdb_id`;
|
||||
CREATE INDEX `ports_fdb_port_id_index` ON `ports_fdb` (`port_id`);
|
||||
CREATE INDEX `ports_fdb_device_id_index` ON `ports_fdb` (`device_id`);
|
||||
CREATE INDEX `ports_fdb_vlan_id_index` ON `ports_fdb` (`vlan_id`);
|
Reference in New Issue
Block a user