Commit graph

41 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
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
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
Simone Mainardi
7c3573186a Makes list_available_configset_ids part of base class base_pools.lua 2020-07-05 14:05:22 +02:00
Simone Mainardi
efbb84a892 Additional methods for pools and interface pools lua classes 2020-07-05 13:57:35 +02:00
Simone Mainardi
a9040f1057 Initial implementation of lua classes to handle pools and interface pools 2020-07-05 12:15:08 +02:00
Simone Mainardi
1bf3cfda07 Adds interface name to the available pool members 2020-07-03 15:13:33 +02:00
Simone Mainardi
959de4da4c Adds stubs to list available pool members and available confset ids
Addresses #4106
2020-07-03 15:02:42 +02:00