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

35074 Commits

Author SHA1 Message Date
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
Razvan Becheriu
5ae6b2ce2f [#2786] fixed UTs when backends are disabled 2023-05-11 17:45:13 +03:00
Razvan Becheriu
d084261419 [#2827] addressed comments 2023-05-11 14:01:29 +03:00
Razvan Becheriu
c056162c99 [#2827] reverted src/share/api and updated script 2023-05-11 11:31:16 +03:00
Razvan Becheriu
7002405f62 [#2827] process api.rst also 2023-05-11 11:30:02 +03:00
Razvan Becheriu
50abca6f3f [#2827] fixed all json examples in arm 2023-05-11 11:30:02 +03:00
Razvan Becheriu
96a63eb754 [#2786] fixed linker error 2023-05-10 16:29:02 +03:00
Piotrek Zadroga
6276986ea4 [#2536] Update UTs with all existing example configs 2023-05-10 09:06:31 +00:00
Piotrek Zadroga
f624ab14c4 [#2536] Moving detailed examples to separate files 2023-05-10 09:06:31 +00:00
Razvan Becheriu
26f2494e73 [#2786] added ChangeLog entry 2023-05-09 20:30:38 +03:00
Razvan Becheriu
82c33e04b1 [#2786] addressed comments 2023-05-09 14:26:04 +03:00
Andrei Pavel
50eee8ebac [#2786] changes to are-scripts-in-sync.py CI script 2023-05-09 14:26:04 +03:00
Razvan Becheriu
fa5492d4b7 [#2786] 255 bytes client_id and 130 bytes duid 2023-05-09 14:26:04 +03:00
Piotrek Zadroga
dd12d7cb09 [#2838] fixing Sphinx error in ARM 2023-05-09 09:46:57 +02:00