Commit graph

8 commits

Author SHA1 Message Date
Luca Deri
6aa141caa9 Code cleanup: removed code used very seldom such as host aggregations/contacts. This should reduce memory usage and make ntopng faster
Little progresses towards MySQL support
2015-08-08 01:13:59 +02:00
Arianna Avanzini
4b4d5a5e80 src/CommunitiesManager.cpp: add bindings to retrieve active hosts of a community
This commit adds Lua bindings to the CommunitiesManager to retrieve
a Lua table with the active hosts of a community. This also adds
binding functions to the Host and NetworkInterface class so that
it can iterate efficiently over hosts of a community.
2015-07-21 02:10:53 +02:00
Arianna Avanzini
6d6387e3be src/Lua.cpp: add possibility to get hosts info just for local hosts
This commit adds iterators to the Host class to the purpose of
allowing to get information just for local hosts. This also adds
Lua bindings to the Lua class so that scripts can access the
newly-added feature. This will help with issue #26.
2015-07-10 23:06:34 +02:00
Arianna Avanzini
ad0ea8a2ec src/FlowsManager.cpp: implement very basic SQL-like parser
This commit implements in the FlowsManager class a very basic parser
for SQL-like fixed-format strings, which allows for better flexibility.
This is a first step towards delegating to Lua scripts the construction
of the SQL statement.
2015-06-14 14:43:01 +02:00
Arianna Avanzini
41b30de775 src: add flexible interface to filter flows stats
This commit introduces FlowsManager, a class implementing a flexible
interface for filtering flows stats. This is to be complemented
with a high-level interface allowing the Lua part to filter stats,
but as of now simply replaces the current getActiveFlowsList()
interface.
2015-06-13 03:42:13 +02:00
Arianna Avanzini
7ee3b06c21 scripts/lua/host_details.lua: add missing binding for per-host alert prefs
This commit adds missing binding code which handles per-host alert
prefs refresh. This also changes Lua binding code and core ntopng
code to suit the new prefs system.
2015-05-18 11:47:00 +02:00
Luca Deri
6630297dcd Policer update 2015-05-18 01:15:55 +02:00
Luca Deri
b178cf4121 Added travis file for code testing
Added .gitignore file for ignoring selected files
Reworked src and include paths to organize the source better
Fixed bug with invalid git version caused in some settings that do not compile code extracting it from github
2015-05-01 19:40:52 +02:00
Renamed from NetworkInterfaceView.h (Browse further)