Commit graph

58 commits

Author SHA1 Message Date
Alfredo Cardigliano
da74202e94 Add dscp info to raw flows 2020-07-21 15:07:32 +02:00
Ronald Henderson
356bfcdedc
Added rest script for custom host data with docs and test scripts (#4186)
Co-authored-by: root <root@vortex.rwh.shop>
2020-07-21 08:43:39 +02:00
Alfredo Cardigliano
8b4f1c7e07 Add rest endpoint to get interface dscp stats 2020-07-20 17:35:03 +02:00
Alfredo Cardigliano
9fd37cccea Add rest endpoint to get host dscp stats 2020-07-20 16:35:50 +02:00
Simone Mainardi
aa99b6be61 Implement REST endpoint to get host pool members 2020-07-17 12:55:31 +02:00
Simone Mainardi
c623f21ba0 Refactors old host_pools_utils to nEdge-only host_pools_nedge 2020-07-16 18:17:19 +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
06aa7097d6 Implements REST endpoint to get host pools
Implements #4139
2020-07-14 18:04:02 +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
b62fc9de77 Implements RESTful API to get/add/edit/delete active monitoring pools 2020-07-08 18:07:40 +02:00
Simone Mainardi
2a8b8335a2 Implements RESTful API to get/add/edit/delete local network pools 2020-07-08 16:45:55 +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
46968ab42f Initial implementation of custom_data.lua host rest endpoint 2020-07-07 15:34:42 +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
aab7051810 Implements RESTful getters for interface pools and members
Implements #4109
2020-07-06 14:22:24 +02:00
Simone Mainardi
5ade224d85 Implements global host pools
Implements #4086

Refactors host pools to global

Implements host pools migration

Migration fixes

nEdge changes for host pools migration

Create README.host_pools_migration.md
2020-07-01 12:02:09 +02:00
Simone Mainardi
2d0b3f1a55 Implements REST API endpoint to get all ntopng active interfaces
Implements #4082
2020-06-25 19:28:48 +02:00
Alfredo Cardigliano
63dc081b1b Fix host key to name (fix #4049) 2020-06-16 10:37:41 +02:00
Alfredo Cardigliano
8625f2db47 Comment fix 2020-06-16 10:24:01 +02:00
Alfredo Cardigliano
d5453fe972 Fix rest/v1/get/host/l7/stats content type 2020-06-09 13:07:55 +02:00
Simone Mainardi
1d22c3c232 Adjusts naming conventions for rest/v1/get/alert/type/counters.lua 2020-05-29 18:05:35 +02:00
Simone Mainardi
f780152f89 Adjusts naming conventions for rest/v1/get/alert/severity/counters.lua 2020-05-29 18:02:29 +02:00
Simone Mainardi
6ea0531be0 Adjusts types and severities returned by rest/v1/get/alert/data.lua 2020-05-29 17:52:55 +02:00
Simone Mainardi
0d8012d9ec Adjusts naming convention for rest/v1/get/flow/l7/counters.lua 2020-05-29 17:42:31 +02:00
Alfredo Cardigliano
6eec119083 Return a standard json format for arrays 2020-05-29 12:47:22 +02:00
Alfredo Cardigliano
b56b14b534 Alert ts endpoint fixes 2020-05-29 11:20:45 +02:00
Alfredo Cardigliano
49ac0c498a Comment 2020-05-29 09:14:53 +02:00
Alfredo Cardigliano
522fc65b55 Add rest/v1/get/host/active.lua REST API (#3954) 2020-05-28 19:02:19 +02:00
Simone Mainardi
e2d5497d52 Implement endpoint to list all interfaces of an host
Implements #3955
2020-05-28 18:57:08 +02:00
Simone Mainardi
fba483b869 Implement getter for protocol constants
Implements ##3945
2020-05-28 17:13:19 +02:00
Simone Mainardi
3afb189336 Shortens category_id to cat_id in a rest json response 2020-05-28 17:01:04 +02:00
Simone Mainardi
38067e4ef8 Adds category id to the rest application consts getter
Implements #3944
2020-05-28 16:58:19 +02:00
Simone Mainardi
04945cc72f Implement getter for categories constants
Implements #3944
2020-05-28 16:51:57 +02:00
Simone Mainardi
8b85f0dd9e Implement getter for application constants
Implements #3944
2020-05-28 16:44:59 +02:00
Simone Mainardi
63628af5bd Simplifies getter for alert constants 2020-05-28 15:54:07 +02:00
Alfredo Cardigliano
1dffd35f59 Add rest/v1/get/interface/address.lua REST API (#3956) 2020-05-28 15:53:35 +02:00
Simone Mainardi
699ec1e2fb Implement getter for alert severity constants
Implements #3946
2020-05-28 15:51:39 +02:00
Alfredo Cardigliano
1674137782 Add rest/v1/get/flow/active.lua REST API (#3951) 2020-05-28 15:07:32 +02:00
Alfredo Cardigliano
192a043ae5 Remove iface_ndpi_stats.lua (use the REST API) 2020-05-28 11:21:43 +02:00
Alfredo Cardigliano
9348e51924 Add rest/v1/get/host/l7/stats.lua REST API (#3953) 2020-05-28 10:44:07 +02:00
Alfredo Cardigliano
00ca63bc71 Add rest/v1/get/interface/l7/stats.lua REST API (#3953) 2020-05-28 10:12:57 +02:00
Alfredo Cardigliano
e888188c64 Return NOT_FOUND if host not found (fix #3994) 2020-05-27 17:45:56 +02:00
Simone Mainardi
073a8c3dd1 Implement getter for alert constants
Implements #3946
2020-05-27 15:26:58 +02:00
Alfredo Cardigliano
3e5eca0ee5 Filter rest/v1/get/alert/data.lua based on epoch_begin/epoch_end/alert_type/alert_severity (#3952) 2020-05-27 12:53:28 +02:00
Alfredo Cardigliano
97046a8a97 Add rest/v1/get/alert/severity/counters.lua REST API 2020-05-27 11:05:59 +02:00
Alfredo Cardigliano
9814c91bfb Add filters to rest/v1/get/alert/type/counters.lua REST API 2020-05-27 10:53:07 +02:00
Alfredo Cardigliano
7c977a3ebc Add rest/v1/get/alert/type/counters.lua API REST (implement #3948) 2020-05-27 10:47:33 +02:00
Alfredo Cardigliano
dcaadc7a3d Add rest/v1/get/flow/l4/counters.lua rest/v1/get/flow/l7/counters.lua (implement #3947 #3950) 2020-05-26 15:13:37 +02:00
Alfredo Cardigliano
21fe9aa490 Add v1/get/alert/ts.lua REST API (implement #3943 2020-05-26 12:28:33 +02:00
Alfredo Cardigliano
09ea665c9b Improve v1/get/alert/data.lua endpoint 2020-05-26 11:11:20 +02:00