Commit Graph

2190 Commits

Author SHA1 Message Date
gezimbll
378e8fd000 moving opts to each dbconn 2025-11-05 17:56:34 +01:00
arberkatellari
38a02535f0 Make Attribute Profiles storable in MySQL and Postgres 2025-11-05 17:52:03 +01:00
arberkatellari
eda80242eb Make Charger Profiles storable in MySQL and Postgres 2025-11-05 17:52:03 +01:00
arberkatellari
d78f34bdc5 Make Action Profiles storable in MySQL and Postgres 2025-11-05 17:52:03 +01:00
arberkatellari
40a8e6ae31 Make IPProfiles and IPAllocations storable in MySQL and Postgres 2025-11-05 17:52:03 +01:00
arberkatellari
1657f015fc make accounts storable in mysql 2025-11-05 17:52:03 +01:00
arberkatellari
7273384828 make accounts storable in postgres 2025-10-29 19:45:33 +01:00
arberkatellari
8af781fb75 Add tests for multiple DB conns 2025-10-20 21:13:51 +02:00
arberkatellari
a3f25d1ec5 Adjust tests and sample json files 2025-10-19 13:15:57 +02:00
arberkatellari
5f2b1f67df Add multiple DB connections functionality 2025-10-19 13:15:57 +02:00
arberkatellari
119481b3d1 Update ERs SQL functionalities 2025-10-13 09:58:45 +02:00
ionutboangiu
e05be683ae change license from GPLv3 to AGPLv3 2025-10-13 09:57:41 +02:00
ionutboangiu
331b7427e4 config: add sanity check for undefined prometheus conns
previously existed only for StatSConns, added also for CoreSConns and
CacheSConns
2025-09-18 21:18:59 +02:00
arberkatellari
7678bf181f Add ce_applications to diameter_agent config 2025-08-15 13:20:57 +02:00
arberkatellari
9fa6844fae Add FilterIDs, Weights & Blockers functionality to set/remove balance action types 2025-07-21 13:40:22 +02:00
arberkatellari
2ab652ebdd Add tests for ActionProfile modifications 2025-07-21 13:40:22 +02:00
arberkatellari
38e7c7eb39 ActionProfile modifications 2025-07-21 13:40:22 +02:00
ionutboangiu
71a1242522 prometheus: add cache statistics metrics 2025-07-21 10:27:10 +02:00
ionutboangiu
785236592b Port RADIUS DMR/CoA functionality
This commit ports the following changes from v0.11:

- 9991b29 - Implement DisconnectSession API for RADIUS Agent
- 02c8ed1 - Implement support for RADIUS CoA
- 7129d34 - Merge CoA into ReAuthorize logic
- d8ad760 - Update both ReAuthorize API signatures
- 5560608 - Dynamic templates for Radius CoA out of APIOpts
- f9d1c0f - Refactor ReAuthorize to AlterSessions
- 8388832 - Rename agents API object: SessionSv1 to AgentV1
- b580e09 - Add sanity checks for radius templates
- ca6a944 - Update client_da_addresses structure
- 98265a1 - Refactor function names and error msgs related to AlterSessions
- ee98dbe - Update AgentV1DisconnectSession api signature
- c9b6c1f - Add support for sending *dmr template via APIOpts
- 03eff44 - Cache RADIUS packets during accounting instead of auth
- 28e53ce - Add requests_cache_key field to radagent cfg
2025-07-08 08:18:30 +02:00
ionutboangiu
43930547b9 cfg: support multiple radius auth/acct listeners 2025-07-08 08:18:30 +02:00
ionutboangiu
43e1630a55 cfg: rename Listener to DNSListener 2025-07-08 08:18:30 +02:00
ionutboangiu
c42198f3c2 cfg: allow multiple dict dirs per radius client
ported from commit 47e75fab1
2025-07-08 08:18:30 +02:00
arberkatellari
7b309d388d Add action type *dynamic_resource 2025-07-02 21:46:10 +02:00
arberkatellari
e9a1b93229 Add action type *dynamic_threshold & add admins_conns to ActionS module 2025-07-02 21:46:10 +02:00
armirveliaj
f1619471e1 Add coverage tests on IPS 2025-06-27 20:46:50 +02:00
gezimbll
3f83200936 updated thresholded implementation to pass event in EeS 2025-06-27 20:45:33 +02:00
ionutboangiu
17b70d907b ips: integrate allocation logic and refactor structure 2025-06-27 20:42:41 +02:00
armirveliaj
55e023dd83 Add coverage tests on IPS 2025-06-25 19:12:19 +02:00
arberkatellari
d227dfba06 Allow cache to be created for operational data on internal dataDB 2025-06-25 19:11:44 +02:00
ionutboangiu
279ed2396f cfg: add stats/thresholds_conns to ers 2025-06-24 18:18:12 +02:00
ionutboangiu
2495b5c676 cfg: add stats/thresholds_conns to sip_agent 2025-06-24 18:18:12 +02:00
ionutboangiu
add2ee1971 cfg: add stats/thresholds_conns to dns_agent 2025-06-24 18:18:12 +02:00
ionutboangiu
b0fc13896d cfg: add stats/thresholds_conns to http_agent 2025-06-24 18:18:12 +02:00
ionutboangiu
f95273db30 cfg: add stats/thresholds_conns to radius_agent 2025-06-24 18:18:12 +02:00
ionutboangiu
d71327a00e cfg: revise conn helper funcs 2025-06-24 18:18:12 +02:00
ionutboangiu
7264957fee cfg: add stats/thresholds_conns to diameter_agent 2025-06-24 18:18:12 +02:00
ionutboangiu
725c56592c fix compilation errors related to ip opts changes 2025-06-11 10:59:22 +02:00
DanB
86347c2741 Updating IPs dynamic options 2025-06-03 17:52:01 +02:00
ionutboangiu
eb9f826ffd Rename IP to IPAllocations 2025-06-03 14:23:29 +02:00
ionutboangiu
3d76af47bc Revise IPProfile definition + tests 2025-06-03 13:10:15 +02:00
ionutboangiu
a66c472a36 sessions: rename jsoncfg obj fields to camel case 2025-06-01 14:04:28 +02:00
ionutboangiu
8645dc5c5e sessions: simplify dynopts obj cloning 2025-06-01 14:04:28 +02:00
ionutboangiu
0fb46c9160 sessions: handle errors in cfg load func 2025-06-01 14:04:28 +02:00
ionutboangiu
132a23144a add ips flags to sessions cfg 2025-06-01 14:04:28 +02:00
ionutboangiu
9ee93ed879 ips: prepend options instead of append
to ensure default options are at the end. Otherwise, they would
always match first.
2025-06-01 14:04:28 +02:00
ionutboangiu
eed6b8a51a add implementation for new ips module 2025-05-29 15:46:42 +02:00
ionutboangiu
1b4324157d return nil when cloning nil dynopts objects 2025-05-29 15:46:42 +02:00
arberkatellari
5847ceab00 Add and revise tests for offline internal DB 2025-05-13 17:07:17 +02:00
arberkatellari
5b66678313 Add offline internal DB functionality for dataDB,storDB & configDB 2025-05-13 17:07:17 +02:00
ionutboangiu
b86e5d2b14 prom: append correct subsystem to cores internal conn 2025-05-03 21:44:51 +02:00