mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Initial rework of widget datasources and transformations
This commit is contained in:
parent
a372cd230a
commit
b670ab1d59
4 changed files with 174 additions and 0 deletions
11
scripts/lua/rest/v1/datasources/interface/packet_distro.lua
Normal file
11
scripts/lua/rest/v1/datasources/interface/packet_distro.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--
|
||||
-- (C) 2013-21 - ntop.org
|
||||
--
|
||||
|
||||
local dirs = ntop.getDirs()
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/datasources/?.lua;" .. package.path
|
||||
|
||||
local packet_distro = require "interface.packet_distro"
|
||||
|
||||
packet_distro.rest_response()
|
||||
Loading…
Add table
Add a link
Reference in a new issue