Commit Graph

2978 Commits

Author SHA1 Message Date
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
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
3059b768a9 Add action type *dynamic_attribute 2025-07-02 21:46:10 +02:00
arberkatellari
2cd8c4fe38 Add action type *dynamic_stats 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
ionutboangiu
0dee8bac04 ips: add ProfileID field to AllocatedIP definition 2025-07-02 21:44:01 +02:00
gezimbll
3f83200936 updated thresholded implementation to pass event in EeS 2025-06-27 20:45:33 +02:00
ionutboangiu
932e0dba05 ips: match a single IPAllocations object 2025-06-27 20:42:41 +02:00
ionutboangiu
17b70d907b ips: integrate allocation logic and refactor structure 2025-06-27 20:42:41 +02:00
arberkatellari
d227dfba06 Allow cache to be created for operational data on internal dataDB 2025-06-25 19:11:44 +02:00
ionutboangiu
28edf30543 send agent events to stats/thresholds w/ ProcessTime
applies only to template-based agents
2025-06-24 18:18:12 +02:00
armirveliaj
4edf0e7f83 Add coverage tests on IPS 2025-06-24 18:02:24 +02:00
armirveliaj
3a70726143 Add coverage tests on IPS 2025-06-24 18:02:24 +02:00
armirveliaj
e83cc99128 Add coverage tests on IPS 2025-06-24 18:02:24 +02:00
armirveliaj
3475ba9993 Add coverage tests on IPS 2025-06-24 18:02:24 +02:00
armirveliaj
88935dc0f5 Add coverage tests on IPS 2025-06-24 18:02:24 +02:00
DanB
86347c2741 Updating IPs dynamic options 2025-06-03 17:52:01 +02:00
ionutboangiu
0d11ac9d8a Replace Units with Address in IPUsage
Units are not needed anymore, as only one address can be allocated
at once.
2025-06-03 16:27:01 +02:00
ionutboangiu
d22727782e change IP API methods from plural to singular 2025-06-03 16:07:28 +02:00
ionutboangiu
33735613e7 Rename Pool type to IPPool for clarity 2025-06-03 14:23:29 +02:00
ionutboangiu
df10601b18 include ips cases in index admins apis 2025-06-03 14:23:29 +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
805ae5d916 integrate ips with sessions (incomplete) 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
c031366a98 remove constants of non-existent APIs
for resources and ips only
2025-06-01 14:04:28 +02:00
ionutboangiu
eed6b8a51a add implementation for new ips module 2025-05-29 15:46:42 +02:00
arberkatellari
5b66678313 Add offline internal DB functionality for dataDB,storDB & configDB 2025-05-13 17:07:17 +02:00
ionutboangiu
109ed8fe34 prometheus: replace string literals with constants 2025-05-03 21:44:51 +02:00
ionutboangiu
5e46eeb28a move action type definitions to utils 2025-05-03 21:42:36 +02:00
ionutboangiu
eeecae4576 move resources to dedicated package 2025-05-03 21:42:36 +02:00
gezimbll
1c11eb3582 add *gigawords dataconverter 2025-04-25 16:24:43 +02:00
ionutboangiu
16d131b058 move attributes to dedicated package 2025-04-22 19:33:12 +02:00
ionutboangiu
069cadd618 move routes to dedicated package 2025-04-22 19:33:12 +02:00
ionutboangiu
e117b2df30 prometheus_agent: add cores_conns config opt 2025-03-25 14:27:52 +01:00
ionutboangiu
13044ddd9d refactor matched accounts sorting 2025-03-25 14:25:00 +01:00
ionutboangiu
b00b2f07ae refactor profile sorting for chargers 2025-03-25 14:25:00 +01:00
ionutboangiu
0b26559d1f move chargers to dedicated package 2025-03-16 16:28:30 +01:00
ionutboangiu
0497016ad6 revise comments in rankings 2025-03-10 13:49:34 +01:00
ionutboangiu
a3d385dd2f revise comments in trends 2025-03-10 13:49:34 +01:00
ionutboangiu
c762de5c28 move rankings to dedicated package 2025-03-10 13:49:34 +01:00
ionutboangiu
47fb25b4ef move trends to dedicated package
reivse/add comments and order of funcs/definitions
2025-03-10 13:49:34 +01:00
ionutboangiu
2c8c9b326e remove previous prometheus integration 2025-03-09 17:27:31 +01:00
ionutboangiu
875fdb3993 implement config object for prometheus_agent 2025-03-09 17:27:31 +01:00
ionutboangiu
47fb574aef revise failing integration test
failing due to 56dfa4ee21
warning error is not returned anymore, only logged
2025-02-26 19:52:58 +01:00
ionutboangiu
56dfa4ee21 prevent data race in file watcher goroutine 2025-02-26 16:19:08 +01:00
gezimbll
8fd871b304 added log level field on stordb opts for controlling sql verbosity 2025-02-25 19:42:11 +01:00
ionutboangiu
deaf5f4918 Move config/objdp.go to utils package
and rename the file to objectdp.go
2025-02-24 13:36:32 +01:00