Simplifies widgets backend

This commit is contained in:
Simone Mainardi 2021-03-02 15:06:20 +01:00
parent debf0c412b
commit 3659188002
5 changed files with 133 additions and 67 deletions

View file

@ -0,0 +1,20 @@
--
-- (C) 2021 - ntop.org
--
-- ##############################################
-- Every datasource must be keyed using one of the following keys
-- NOTE: integer IDs must be unique
local datasource_keys = {
-- Keys for interface datasources coded in datasources/interface, datasources/host, etc
interface_packet_distro = 0,
snmp_device_interfaces_status = 1,
}
-- ##############################################
return datasource_keys
-- ##############################################