2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00
Commit Graph

35305 Commits

Author SHA1 Message Date
Slawek Figiel
719c66b95c [#2815] Add a new parameter to HostMgr 2023-05-25 13:29:28 +02:00
Slawek Figiel
d5be6daac8 [#2815] Add host manager enum flags 2023-05-25 13:29:28 +02:00
Slawek Figiel
dd11411c35 [#2815] Drop inheritance 2023-05-25 13:29:28 +02:00
Marcin Siodelski
86f328ceee [#2860] Added comments to tests per review 2023-05-24 16:42:23 +02:00
Marcin Siodelski
bba6b9e89b [#2860] Added ChangeLog for #2860 2023-05-24 13:32:15 +02:00
Marcin Siodelski
990298b23c [#2860] Fix in delegated prefix permutation
The random device wasn't properly initialized for the prefix permuations.
As a result, the same set of prefixes have been handed out by the random
and FLQ allocators. This issue has been addressed and the proper unit tests
have been added.
2023-05-24 13:31:27 +02:00
Marcin Siodelski
6dcc313150 [#2858] Add the commentary in the test 2023-05-24 08:37:22 +02:00
Marcin Siodelski
3f868d37ee [#2858] Added Changelog for #2858 2023-05-24 08:37:14 +02:00
Marcin Siodelski
7235cbff7e [#2858] Client in INIT-REBOOT state without subnet
Corrected a server's behavior for the clients in the INIT-REBOOT state
when there are no subnets configured or when the subnet selection fails.
An authoritative server sends DHCPNAK in this case. A not authoritative
client ignores the requests.
2023-05-24 08:04:00 +02:00
Francis Dupont
d6612eaf21 [#2757] Finished move to upgradeExtendedInfo4 2023-05-23 16:40:28 +02:00
Francis Dupont
5afa8fe982 [#2757] Added a ChangeLog entry 2023-05-23 16:32:48 +02:00
Francis Dupont
d45405ffcf [#2757] Moved to upgradeExtendedInfo4 2023-05-23 16:23:41 +02:00
Thomas Markwalder
eaed76f8b0 [#2757] Relocated ARM text 2023-05-23 09:58:43 -04:00
Thomas Markwalder
80a289f949 [#2757] Revamped ARM on new command
modified:
    doc/sphinx/arm/hooks-lease-query.rst
2023-05-23 09:47:47 -04:00
Francis Dupont
fa2b7d5318 [#2757] Added function comments as required from review 2023-05-23 15:09:58 +02:00
Francis Dupont
b57493f3c7 [#2757] Updated doc part 2023-05-23 15:09:58 +02:00
Francis Dupont
acbfbe1498 [#2757] Rebased from #275[23] 2023-05-23 15:09:57 +02:00
Andrei Pavel
3265bac313 [#2873] null check to prevent crash in GenericLeaseMgrTest 2023-05-23 12:21:49 +03:00
Francis Dupont
56f59eef1f [#2867] Made binaddr index ascending 2023-05-22 22:05:00 +02:00
Francis Dupont
dd69550168 [#2867] Finished 2023-05-22 22:05:00 +02:00
Francis Dupont
991172fe0c [#2867] Checkpoint: first attempt for admin new tests 2023-05-22 22:05:00 +02:00
Francis Dupont
63725dc4c9 [#2867] Checkpoint: schema updated 2023-05-22 22:05:00 +02:00
Thomas Markwalder
2abec9da6a [#2835] Addressed review comment 2023-05-22 15:31:16 -04:00
Thomas Markwalder
5d89581ab7 [#2835] Updated ARM and ChangeLog 2023-05-22 15:30:54 -04:00
Thomas Markwalder
0482115cf8 [#2835] Replace preferred-lifetime as needed
src/bin/dhcp6/tests/config_parser_unittest.cc
src/bin/dhcp6/tests/get_config_unittest.cc
src/bin/dhcp6/tests/simple_parser6_unittest.cc
    Updated tests

src/lib/dhcpsrv/alloc_engine.cc
    AllocEngine::getLifetimes6() - modified to replace preferred
    lifetime with  valid-lifetime * .625 it's unspecified or
    greater than valid-lifetime

src/lib/dhcpsrv/alloc_engine_messages.mes
    ALLOC_ENGINE_V6_CALCULATED_PREFERRED_LIFETIME - new message

src/lib/dhcpsrv/parsers/simple_parser6.cc
    SimpleParser6::GLOBAL6_DEFAULTS - removed preferred-lifetime

src/lib/dhcpsrv/tests/alloc_engine6_unittest.cc
    Updated tests
2023-05-22 15:29:33 -04:00
Tomek Mrugalski
12a155bc1a [#2760] Also disabled pgsql 2023-05-19 13:41:54 +02:00
Tomek Mrugalski
de546bd712 [#2760] Disabled mysql due to access problems
- hammer is not able to configure mysql on github runners
2023-05-19 13:41:54 +02:00
Tomek Mrugalski
06e937b8c3 [#2760] Removed pgsql, retrying workflow 2023-05-19 13:41:54 +02:00
Tomek Mrugalski
ca70252689 [#2760] Disabled RADIUS in workflow
- made the list of hammer features explicit
2023-05-19 13:41:54 +02:00
Tomek Mrugalski
3c2a12a271 [#2760] Experiment with enabling many extra flags 2023-05-19 13:41:54 +02:00
Tomek Mrugalski
61c2505b96 [#2760] ChangeLog updated 2023-05-19 13:41:52 +02:00
Tomek Mrugalski
ac37655ca8 [#2760] Devel guide updated
- described github CI
 - described gitlab CI briefly
 - added a note about Jenkins
2023-05-19 13:41:01 +02:00
Tomek Mrugalski
3f55800e4d [#2760] Syntax fixed 2023-05-19 13:41:01 +02:00
Tomek Mrugalski
f90baece46 [#2760] Added compilation back, python checks enabled 2023-05-19 13:41:01 +02:00
Tomek Mrugalski
ea2cc5d207 [#2760] Check if Kea compilation is even needed 2023-05-19 13:41:01 +02:00
Tomek Mrugalski
0a6f2a1716 [#2760] enabled 2 jobs compilation 2023-05-19 13:41:01 +02:00
Tomek Mrugalski
7a58616098 [#2760] Python disabled, hammer build 2023-05-19 13:41:01 +02:00
Tomek Mrugalski
e9b0ff85f9 [#2760] Create codeql.yml 2023-05-19 13:41:01 +02:00
Andrei Pavel
3e7dcb3119 [#2786] add missing start transaction in upgrade script
Prevents this warning:
WARNING:  there is no transaction in progress
2023-05-19 12:12:33 +03:00
Andrei Pavel
a39e0c06f9 [#2786] add missing upgrade scripts to makefiles 2023-05-19 09:01:26 +03:00
Andrei Pavel
01137a1366 [#2786] fix grep: warning: stray \ before - 2023-05-19 09:00:43 +03:00
Marcin Godzina
dfed0236b8 [#2859] expanded leaseX-write ARM text 2023-05-17 17:41:16 +00:00
Francis Dupont
5319dcf978 [#2862] Regen bison files 2023-05-17 19:04:26 +02:00
Francis Dupont
cb57d0ab96 [#2862] Push before regen 2023-05-17 19:04:26 +02:00
Andrei Pavel
d5704c8cca [#2658] address review comments 2023-05-17 19:09:39 +03:00
Andrei Pavel
ea9698b5a8 [#2658] add ChangeLog entry 2023-05-17 19:09:39 +03:00
Andrei Pavel
37da13e46f [#2658] document big integer statistics 2023-05-17 19:09:38 +03:00
Andrei Pavel
4a06d2baf0 [#2658] add big integer support to statistics
Pool capacities have been promoted in code from uint64_t to uint128_t.

Bigint is modelled as an int128_t in statistics, following the precedent of
signed integer of int64_t from statistics.

- "total-nas" is extended to 128 bits as requested in the issue.
- "total-pds" has the same risk of overflowing so it has been extended
  as well.
- "total-addresses" always fits in 64 bits, but certain code forces a
  128 bit value on it. See Pool::getCapacity(), Subnet::getPoolCapacity(),
  Subnet::sumPoolCapacity(). It could have been truncated to a 64 bit value,
  but that seems like an unnecessary complication.

Because of the disparity in signedness there is some truncation that can
happen when pool capacity values are passed on to statistics. That only happens
for the last half of the value range, so for prefix ranges larger than /1.
2023-05-17 19:09:38 +03:00
Andrei Pavel
e79feea5f6 [#2658] add BigIntElement
BigIntElement is modelled as an int128_t, following the precedent of
signed integer of int64_t from IntElement.
2023-05-17 19:09:38 +03:00
Andrei Pavel
1b8ecb6f98 [#2658] add unit tests for big ints 2023-05-17 19:09:38 +03:00