Piotrek Zadroga
1cb50df248
[ #3141 ] json examples update
2024-02-23 17:14:06 +01:00
Piotrek Zadroga
4925255f45
[ #3141 ] restore delimiter escaping
2024-02-23 17:14:06 +01:00
Piotrek Zadroga
366d886f5a
[ #3141 ] provide RFC in comments
2024-02-23 17:14:06 +01:00
Piotrek Zadroga
119c973761
[ #3141 ] DNRv4 UTs edited
2024-02-23 17:14:06 +01:00
Piotrek Zadroga
dd77131622
[ #3141 ] option definition UTs fix
2024-02-23 17:14:05 +01:00
Piotrek Zadroga
cb0cc95f1a
[ #3141 ] DNRv6 UTs edited
2024-02-23 17:14:05 +01:00
Piotrek Zadroga
f5b0a059cb
[ #3141 ] unpack SvcParams from hex data
2024-02-23 17:14:05 +01:00
Piotrek Zadroga
83ccbf7075
[ #3141 ] DNRv4 config parser
2024-02-23 17:14:05 +01:00
Piotrek Zadroga
27f4241490
[ #3141 ] pack SvcParams to buffer
2024-02-23 17:14:05 +01:00
Piotrek Zadroga
e9c5070114
[ #3141 ] unpack dohpath SvcParam
2024-02-23 17:14:05 +01:00
Piotrek Zadroga
161134f0c4
[ #3141 ] unpack port SvcParam
2024-02-23 17:14:05 +01:00
Piotrek Zadroga
174664bff6
[ #3141 ] unpack alpn SvcParam
2024-02-23 17:14:05 +01:00
Piotrek Zadroga
8b991fe4d2
[ #3141 ] config parser wip
2024-02-23 17:14:05 +01:00
Piotrek Zadroga
565086fb27
[ #3141 ] added ALPN-IDs
2024-02-23 17:14:05 +01:00
Piotrek Zadroga
e1a3fc7817
[ #3141 ] config parsers boilerplate
2024-02-23 17:14:05 +01:00
Piotrek Zadroga
5618d3b0b6
[ #3141 ] make dnr options type internal
2024-02-23 17:14:05 +01:00
Tomek Mrugalski
c00314599c
[ #3141 ] List of Service Parametes (DNR) added
2024-02-23 17:14:05 +01:00
Tomek Mrugalski
796680bfd7
[ #3141 ] Doc updated for v6 DNR option
2024-02-23 17:14:05 +01:00
Tomek Mrugalski
bf76f04bc6
[ #3141 ] ARM updated
...
- Added DNR description
- added to list of supported RFCs
- Also removed one server limitation that's no longer valid
(because we have ping-check). Not related, but small enough.
2024-02-23 17:14:05 +01:00
Thomas Markwalder
d5d4643378
[ #3245 ] Minor UT change
...
modified: src/hooks/dhcp/perfmon/tests/monitored_duration_unittests.cc
2024-02-23 12:08:04 +00:00
Thomas Markwalder
03f21bde7b
[ #3245 ] Wordiing fix
...
modified: pkt_filter_lpf.cc
2024-02-23 12:08:04 +00:00
Razvan Becheriu
aa15c5af6e
[ #3245 ] addressed review
2024-02-23 12:08:04 +00:00
Thomas Markwalder
88bbd44e0d
[ #3245 ] Remove wrong doxygen use in UT
...
modified: alarm_unittests.cc
modified: monitored_duration_unittests.cc
2024-02-23 12:08:04 +00:00
Thomas Markwalder
5633edbc05
[ #3245 ] Moved Alarm into own files
...
new file: src/hooks/dhcp/perfmon/alarm.cc
new file: src/hooks/dhcp/perfmon/alarm.h
new file: src/hooks/dhcp/perfmon/tests/alarm_unittests.cc
modified: src/hooks/dhcp/perfmon/Makefile.am
modified: src/hooks/dhcp/perfmon/monitored_duration.cc
modified: src/hooks/dhcp/perfmon/monitored_duration.h
modified: src/hooks/dhcp/perfmon/tests/Makefile.am
modified: src/hooks/dhcp/perfmon/tests/monitored_duration_unittests.cc
2024-02-23 12:08:04 +00:00
Thomas Markwalder
63bdeab6d2
[ #3245 ] Fixed unused variable warning
...
src/lib/dhcp/pkt_filter_inet6.cc
PktFilterInet6::openSocket() - added errmsg to exception text as originally intended
2024-02-23 12:08:04 +00:00
Thomas Markwalder
03454345e6
[ #3245 ] Adds fundamental classes to perfmon
...
src/hooks/dhcp/perfmon/monitored_duration.cc
src/hooks/dhcp/perfmon/monitored_duration.h
New files that add DurationDataInterval, DurationKey, Alarm, and MonitoredDuration classes
src/hooks/dhcp/perfmon/monitored_duration.h
New file of unit tests for new classes
modified: Makefile.am
modified: tests/Makefile.am
2024-02-23 12:08:04 +00:00
Francis Dupont
03e76466b4
[ #2022 ] Added a comment about yhe unparking race
2024-02-23 10:54:45 +01:00
Francis Dupont
8f254fbc06
[ #2022 ] Added parking points
2024-02-23 10:54:45 +01:00
Francis Dupont
00128adbbe
[ #2022 ] Checkpoint: added methods
2024-02-23 10:54:45 +01:00
Andrei Pavel
0e8596b681
[ #3025 ] fix missing include
2024-02-22 13:18:06 +02:00
Andrei Pavel
ffaf3913e5
[ #3025 ] add ChangeLog entry
2024-02-22 10:06:33 +02:00
Andrei Pavel
8f64163863
[ #3025 ] fix distcheck
2024-02-22 10:06:33 +02:00
Andrei Pavel
ee3c643346
[ #3025 ] use admin-utils.sh based on location in upgrade scripts
2024-02-22 10:06:33 +02:00
Andrei Pavel
29510c9762
[ #3025 ] address review comments
2024-02-22 10:06:32 +02:00
Andrei Pavel
af063a3c02
[ #3025 ] appease shellcheck
...
. "${admin_utils}"
^--------------^ SC1090: Can't follow non-constant source. Use a directive to specify location.
version=$(checked_mysql_version)
^-------------------^ SC2119: Use checked_mysql_version "$@" if function's $1 should mean script's $1.
... and others that spiraled afterwards
2024-02-22 10:06:32 +02:00
Andrei Pavel
014c7274c8
[ #3025 ] simplify logic in ensureSchemaVersion
...
... and allow kea-admin path to be overridden in tests.
2024-02-22 10:06:32 +02:00
Andrei Pavel
336f65fd47
[ #3025 ] re-enable ProcessSpawnTest.isRunningSync
2024-02-22 10:06:32 +02:00
Andrei Pavel
b905f39f35
[ #3025 ] fix location detection in kea-admin
2024-02-22 10:06:32 +02:00
Andrei Pavel
5ff2e44234
[ #3025 ] add isFile
2024-02-22 10:06:32 +02:00
Andrei Pavel
e0305a6b24
[ #3025 ] document automatic db init
2024-02-22 10:06:32 +02:00
Andrei Pavel
96c218d693
[ #3025 ] add unit tests
2024-02-22 09:57:35 +02:00
Andrei Pavel
a738927ce8
[ #3025 ] sync kea-admin in db connection and fix interaction with retry
2024-02-22 09:57:35 +02:00
Andrei Pavel
9d57fe9875
[ #3025 ] add ability to wait sync in ProcessSpawn
2024-02-22 09:57:35 +02:00
Andrei Pavel
a7d471912e
[ #3025 ] add db init on startup to other managers
2024-02-22 09:57:35 +02:00
Andrei Pavel
d2b738e987
[ #3025 ] switch io service to DatabaseConnection's
2024-02-22 09:57:35 +02:00
Andrei Pavel
0046232406
[ #3025 ] minor changes to kea-admin
...
- Reword 'Database version' to 'Schema version'.
- Remove a newline that was present only when running mysql operations
and not for postgresql operations. It was more visible since now it
appeared in the kea logs.
- Remove some extraneous exits. They weren't in the way of anything, but
weren't doing anything either.
2024-02-22 09:57:35 +02:00
Andrei Pavel
253eadd878
[ #3025 ] add ability to inherit env in ProcessSpawn
2024-02-22 09:57:35 +02:00
Andrei Pavel
4a5bd3c9e0
[ #3025 ] automatic init of postgresql schema
2024-02-22 09:57:35 +02:00
Andrei Pavel
83594bd11f
[ #3025 ] convert db access params to kea-admin
2024-02-22 09:57:35 +02:00
Andrei Pavel
8e2d02205c
[ #3025 ] automatic init of mysql schema
2024-02-22 09:57:35 +02:00