Commit graph

61 commits

Author SHA1 Message Date
Alfredo Cardigliano
7ffb4df9a6 Handle host pool serialization (exception for backward compatibility).
Fix recipients add
Initial work for alerts dispatching to recipients
2020-07-23 06:22:17 +02:00
Simone Mainardi
4adc0f7924 Fixes invalid pool_name method in base_pools 2020-07-22 20:32:14 +02:00
Alfredo Cardigliano
1d1a49c6bf Implement unbind_all_recipient_id 2020-07-22 18:26:17 +02:00
Alfredo Cardigliano
0d7d274d4c Add recipients to pools 2020-07-22 17:30:11 +02:00
Simone Mainardi
da709e6ccd Fixes get_pool_name 2020-07-21 19:15:11 +02:00
Simone Mainardi
ceba04f92c Fixes to associate pool ids with alerts 2020-07-21 14:59:12 +02:00
Simone Mainardi
42b7d8e7e9 Implements facility to add pool info to alerts 2020-07-21 13:09:27 +02:00
Simone Mainardi
f8645e76d0 Adds host key inside host pool member details 2020-07-20 15:19:56 +02:00
Simone Mainardi
2cc2b4bfa1 Augments host pool member information 2020-07-20 10:41:47 +02:00
Simone Mainardi
889bd554d5 Unbinds pool members when assigning them to the default pool 2020-07-20 09:34:11 +02:00
Simone Mainardi
ccd9aa6c37 Minor cleanup 2020-07-17 17:32:01 +02:00
Simone Mainardi
52c022de20 Returns bind errors in REST endpoint to add host pool members 2020-07-17 17:29:46 +02:00
Simone Mainardi
a4abaed7b3 Returns pool members as array via REST 2020-07-17 14:14:09 +02:00
Simone Mainardi
aa99b6be61 Implement REST endpoint to get host pool members 2020-07-17 12:55:31 +02:00
Simone Mainardi
831dcfff83 Fixes for unbinding host pool members 2020-07-17 11:43: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
06f191cb6d Implements timeseries dump in the new host pools lua class 2020-07-16 17:51:13 +02:00
Simone Mainardi
749942c7a5 Reworks pool change dropdowns with the new lua implementation 2020-07-16 17:38:20 +02:00
Simone Mainardi
fbd2eb829f Migrates unknown_devices.lua to use the new lua host pools class 2020-07-16 16:01:22 +02:00
Simone Mainardi
205eb8723c Reworks get_pools_data.lua to use the new host pools lua class 2020-07-16 15:44:02 +02:00
Simone Mainardi
ca6bd55132 Reworks get_pool_data.lua to use the new host pools lua class 2020-07-16 15:28:04 +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
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
Simone Mainardi
7408eca0bc Implements host pools as a Lua class (compatible with existing pools)
Implements #4131
2020-07-14 16:54:14 +02:00
Simone Mainardi
a9ccba5ec6 Implements base_pools:bind_member Lua API
Implements #4129
2020-07-13 19:22:05 +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
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
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
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
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