Commit graph

3171 commits

Author SHA1 Message Date
Simone Mainardi
ca6bd55132 Reworks get_pool_data.lua to use the new host pools lua class 2020-07-16 15:28:04 +02:00
gabryon99
a54f67756c removed semi-colon from too-many-flows notification 2020-07-16 11:56:12 +02:00
gabryon99
da7278065d moved update notification and too many flow notification 2020-07-16 11:56:12 +02:00
Simone Mainardi
ccb5ce3c9c Simplifies get_pool_by_member 2020-07-15 16:23:40 +02:00
Simone Mainardi
31715e65d2 Implements REST endpoint to check host pool members before bind
Implements #4138
2020-07-15 16:02:08 +02:00
Simone Mainardi
1405107c13 Implements in-memory host pools bind checks 2020-07-15 15:32:42 +02:00
Simone Mainardi
4e886711cf Refactors pools members bind checks (eases host pools checks) 2020-07-15 15:11:58 +02:00
gabryon99
e71f1a3e45 removed hard coded string in alert notification 2020-07-15 15:01:07 +02:00
gabryon99
125818ae05 removed validation for notifications 2020-07-15 15:01:07 +02:00
Simone Mainardi
eb5c15ed88 Optimizes bind_member 2020-07-15 11:56:31 +02:00
Simone Mainardi
6638f66543 Implements REST endpoint to bind host pool members
Implements #4136
2020-07-15 11:45:13 +02:00
Simone Mainardi
2e3ec4d49e Implements deletion of historical data in pools/host_pools.lua 2020-07-15 10:05:25 +02:00
gabryon99
48dc7e1a93 notification for geoip, contribution and alert notification api in js 2020-07-15 10:00:04 +02:00
Simone Mainardi
7408eca0bc Implements host pools as a Lua class (compatible with existing pools)
Implements #4131
2020-07-14 16:54:14 +02:00
Luca Deri
0fb01440b0 Implemented flow entropy 2020-07-14 12:49:47 +02:00
Simone Mainardi
a9ccba5ec6 Implements base_pools:bind_member Lua API
Implements #4129
2020-07-13 19:22:05 +02:00
Simone Mainardi
6f9a995a99 Fixes alert drilldown links 2020-07-13 18:35:33 +02:00
Simone Mainardi
92c88c7924 Migrates interface user scripts to the new interface pools configuration 2020-07-10 19:32:03 +02:00
Simone Mainardi
cf400216e2 Implements caching of member-to-confiset_id as Lua pool class member 2020-07-10 19:22:47 +02:00
Simone Mainardi
bd4921df55 Migrates local network user scripts to the new host pools configuration 2020-07-10 18:45:19 +02:00
Simone Mainardi
ecdf9e22cd Improves configuration lock/unlock logic 2020-07-10 16:39:55 +02:00
Simone Mainardi
a6ffb62bf2 Implements unbind of configsets across all pools instances 2020-07-10 16:32:49 +02:00
Simone Mainardi
09c69edb22 Major rework of user_scripts.lua to use new pools 2020-07-10 13:01:29 +02:00
Simone Mainardi
9a8b77e0d7 Allows RESTful api custom_data.lua to accept fields without alias 2020-07-10 10:20:28 +02:00
Simone Mainardi
2230673eb3 Reworks user scripts UI with new host pools 2020-07-09 19:12:20 +02:00
Simone Mainardi
d848b64862 Adds configset name to pools getter 2020-07-09 12:11:21 +02:00
Simone Mainardi
a35a4f86fd Fix for active monitoring pool names 2020-07-09 12:03:07 +02:00
gabryon99
efc3bd3775 added local network, snmp, active monitoring pools gui 2020-07-09 11:16:05 +02:00
Simone Mainardi
b62fc9de77 Implements RESTful API to get/add/edit/delete active monitoring pools 2020-07-08 18:07:40 +02:00
Simone Mainardi
44535d99a7 Implements lua class active_monitoring_pools.lua to handle active monitoring pools 2020-07-08 17:52:14 +02:00
Simone Mainardi
a96a1b8037 Optimization of snmp_device_pools.lua 2020-07-08 17:17:57 +02:00
Simone Mainardi
71cb0dbbc9 Implements lua class snmp_device_pools.lua to handle SNMP device pools 2020-07-08 17:01:22 +02:00
Simone Mainardi
83e2b10953 Implements pools_rest_utils.lua with common RESTful API functions 2020-07-08 16:34:09 +02:00
Simone Mainardi
53e440c0f7 Allows pool members to be created/edited with zero members 2020-07-08 15:19:21 +02:00
Simone Mainardi
d05c191cc7 Implements lua class local_network_pools.lua to handle network pools 2020-07-08 14:42:48 +02:00
gabryon99
2aea87d8b8 highlight timeframe selection in if_stats.lua 2020-07-08 11:16:28 +02:00
gabryon99
9f05bde6b5 add interface pool page 2020-07-08 11:03:21 +02:00
Simone Mainardi
46968ab42f Initial implementation of custom_data.lua host rest endpoint 2020-07-07 15:34:42 +02:00
Simone Mainardi
d862404802 Returns pool details in base_pools:get_pool 2020-07-07 11:13:58 +02:00
Simone Mainardi
69c7cd7acd Implements get_member_details to get interface pool member details 2020-07-07 11:06:20 +02:00
Simone Mainardi
53fe63f6b3 Adds member details to interface_pools.lua 2020-07-06 18:23:13 +02:00
Luca Deri
643e78f8d5 Implements most of #4113
- Removed unused google assistant scripts
- Cleaned up existing REST calls using _POST["payload"]

The _GET["parameter"] element is still present and it will be removed soon
2020-07-06 18:06:40 +02:00
Simone Mainardi
a74028878a Returns pool lists as a lua array 2020-07-06 17:29:41 +02:00
Simone Mainardi
4c1ae3056a Implements locks to prevent races when adding/editing/deleting pools 2020-07-06 16:52:03 +02:00
Simone Mainardi
aab7051810 Implements RESTful getters for interface pools and members
Implements #4109
2020-07-06 14:22:24 +02:00
Simone Mainardi
62c35e82ec Implements RESTful delete of interface pools and members
Implements #4108
2020-07-06 13:06:01 +02:00
Simone Mainardi
519fec5f94 Implements RESTful edit of interface pools and members
Implements #4107
2020-07-06 12:57:01 +02:00
Simone Mainardi
ca1a011c2b Implements RESTful addition of interface pools and members 2020-07-06 12:38:39 +02:00
Simone Mainardi
1ef13ca9ea Implements consistency checks for the addition/edit of pools and members 2020-07-06 12:00:27 +02:00
Simone Mainardi
d09b105a9c Improves hierarchy of lua classes for pools and interface pools 2020-07-05 18:43:24 +02:00