2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00
Commit Graph

35387 Commits

Author SHA1 Message Date
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
Andrei Pavel
a86340aaaa [#2658] add support for big ints 2023-05-17 19:09:38 +03:00
Andrei Pavel
09cff348af [#2832] fix YANG hashes 2023-05-16 16:29:52 +03:00
Andrei Pavel
9daa81fb28 [#2832] address review comments 2023-05-16 15:38:54 +03:00
Andrei Pavel
8f02cb1159 [#2832] add ChangeLog entry 2023-05-16 15:38:53 +03:00
Andrei Pavel
49a0405743 [#2832] add libyang-cpp and sysrepo-cpp flags to distcheck 2023-05-16 15:38:17 +03:00
Andrei Pavel
d977d9430d [#2832] remove LIBYANG_VERSION and SYSREPO_VERSION
They were not used and they were not properly expanded in
config.h anyway. They showed up as:

  /* libyang version */
  #define LIBYANG_VERSION "${LIBYANG_VERSION}"

  /* sysrepo version */
  #define SYSREPO_VERSION "${SYSREPO_VERSION}"
2023-05-16 15:38:17 +03:00
Andrei Pavel
2181cef68d [#2832] add missing YANG nodes
- allocator
- ddns-ttl-percent
- exclude-first-last-24,
- ignore-dhcp-server-Identifier
- offer-lifetime
- pd-allocator
- read-timeout
- tcp-user-timeout
- write-timeout

Removed obsolete YANG nodes: contact-points, keyspace.
2023-05-16 15:38:17 +03:00
Andrei Pavel
14bcae7fac [#2822] add check-for-json-errors-in-doc.sh to CI 2023-05-13 18:02:05 +03:00
Razvan Becheriu
b554368e0c [#2822] fixed check tool and documentation 2023-05-13 16:41:20 +03:00
Andrei Pavel
b0eb127d5c [#2822] flex_option doc example for setting subnet mask 2023-05-13 16:41:09 +03:00
Andrei Pavel
19f1217521 [#2817] use unsigned int for ifindex throughout
which is what if_nametoindex returns
2023-05-13 15:06:35 +03:00
Marcin Siodelski
5a660f5b79 [#2843] Fix in random allocator return values 2023-05-12 14:45:35 +02:00
Marcin Siodelski
01ded4bedb [#2843] Addressed review comment
Used IPV6_ZERO_ADDRESS() instead of :: in the candidate addresss
initialization.
2023-05-12 13:02:03 +02:00
Marcin Siodelski
64b902366f [#2843] Fix in initializing subnet states 2023-05-12 13:02:03 +02:00
Marcin Siodelski
69d982b752 [#2843] Added more test cases 2023-05-12 13:02:03 +02:00
Marcin Siodelski
2a950ab7bc [#2843] Added Changelog for #2843 2023-05-12 13:02:03 +02:00
Marcin Siodelski
9d8d99a980 [#2843] Use different allocators in shared net
Fixed a bug in the allocation engine which could result in a failure to
allocate available addresses from a subnet that used an FLQ allocator, or
returning a zero lease.
2023-05-12 13:02:03 +02:00
Razvan Becheriu
02dc9b82e3 [#2786] addressed review comments 2023-05-12 12:46:14 +03:00