Kea merge requestshttps://gitlab.isc.org/isc-projects/kea/-/merge_requests2024-02-16T17:58:36Zhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/2211Resolve "PerfMon-Hook-Task-1 Implement skeleton of new hook library"2024-02-16T17:58:36ZThomas MarkwalderResolve "PerfMon-Hook-Task-1 Implement skeleton of new hook library"Closes #3242Closes #3242kea2.5.6Thomas MarkwalderThomas Markwalderhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/2210Resolve "PerfMon-Core-Tasks-1-and-2 Create PktEvent Class Modify PktFilters"2024-02-16T16:58:13ZThomas MarkwalderResolve "PerfMon-Core-Tasks-1-and-2 Create PktEvent Class Modify PktFilters"Closes #3230Closes #3230kea2.5.6Thomas MarkwalderThomas Markwalderhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/2207Resolve "legacy refactor 4: encode in libutil"2024-02-07T14:04:37ZThomas MarkwalderResolve "legacy refactor 4: encode in libutil"Closes #3209Closes #3209kea2.5.6Thomas MarkwalderThomas Markwalderhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/2202Resolve "multi-thread compatible Radius hooks libraries"2024-02-05T08:19:08ZFrancis DupontResolve "multi-thread compatible Radius hooks libraries"Part of #2022Part of #2022kea2.5.6Francis DupontFrancis Duponthttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/2209Resolve "bump up version in configure.ac to 2.5.6-git"2024-01-31T11:46:32ZWlodzimierz WencelResolve "bump up version in configure.ac to 2.5.6-git"Closes #3240Closes #3240kea2.5.6Wlodzimierz WencelWlodzimierz Wencelhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/2208Changes for Kea 2.5.5 release2024-01-29T14:39:12ZWlodzimierz WencelChanges for Kea 2.5.5 releaseCloses #3237Closes #3237kea2.5.5Wlodzimierz WencelWlodzimierz Wencelhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/2196Resolve "Kea might not use getopt correctly on alpine"2024-01-26T18:01:51ZAndrei Pavelandrei@isc.orgResolve "Kea might not use getopt correctly on alpine"Closes #2788.
* [x] 11ad14d306cdc502189945b9c73d39a35ae9676a make all commandLineArgs tests more strict
* [x] 3571991e8067ae8c080300dcb936e741459a1064 exhaust options before throwing error
Prior to this change, if parseArgs() ...Closes #2788.
* [x] 11ad14d306cdc502189945b9c73d39a35ae9676a make all commandLineArgs tests more strict
* [x] 3571991e8067ae8c080300dcb936e741459a1064 exhaust options before throwing error
Prior to this change, if parseArgs() was called twice during the same
program lifetime and it stumbled on an unsupported option and throwed an
exception on the first call, the previous set of arguments lived on to
be parsed by the second call. This is a situation that likely arises
only in unit tests, but let us fix it properly to at least silence the unit
test failure on alpine, which was happening because of different
implementation of getopt from musl, and which motivated looking into how
getopt behaves. To make the bug evident even in a non-alpine environment, add an
EXPECT_THROW_MSG in DStubControllerTest.commandLineArgs when parsing argv3, and
see that it outputs "unsupported option: [s]" instead of
"extraneous command line information".
* [x] 22eb99788a5280a4e120eff199bafb6d076da42e reset optarg
optarg is not reset in musl's getopt and it leaks values to other flags.
Reset it for all systems because it cannot hurt. If you remove the
optarg reset, you should see the bug in action on alpine systems in
DstubControllerTest.commandLineArgs when parsing argv2:
```
[ RUN ] DStubControllerTest.commandLineArgs
d_controller_unittests.cc:102: Failure
Expected equality of these values:
std::string(ex.what())
Which is: "unsupported option: -b cfgName"
"unsupported option: -b"
[ FAILED ] DStubControllerTest.commandLineArgs (14 ms)
```kea2.5.5Andrei Pavelandrei@isc.orgAndrei Pavelandrei@isc.orghttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/2206Resolve "bump up lib versions for 2.5.5"2024-01-26T17:03:31ZRazvan BecheriuResolve "bump up lib versions for 2.5.5"Closes #3235Closes #3235kea2.5.5Wlodzimierz WencelWlodzimierz Wencelhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/2201Resolve "[ISC-support #18162] Configuration Backend and map parameters"2024-01-26T13:50:34ZRazvan BecheriuResolve "[ISC-support #18162] Configuration Backend and map parameters"Closes #1790Closes #1790kea2.5.5Razvan BecheriuRazvan Becheriuhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/2199Resolve "vivso-suboptions not properly supported in Netconf"2024-01-26T10:58:10ZAndrei Pavelandrei@isc.orgResolve "vivso-suboptions not properly supported in Netconf"Closes #3198.
* [x] 60d98ae65d9d80867078c9e796aa92071a6fd3ca add data as key for option-data in YANG modules
Setting mandatory for keys is redundant as mentioned in RFC 7950 section
7.8.2: Any "mandatory" statements in the ...Closes #3198.
* [x] 60d98ae65d9d80867078c9e796aa92071a6fd3ca add data as key for option-data in YANG modules
Setting mandatory for keys is redundant as mentioned in RFC 7950 section
7.8.2: Any "mandatory" statements in the key leafs are ignored.
So they were removed. This now makes it consistent with how data is
declared in option-data as well.
* [x] 6d8816b26b7c5dd1f3db5eae52bee49005cb7b28 make data a key for option-data in code
- Add ability to set list element that only has keys in Translator::setItem.
- Explicitly set list elements in case they contain only keys which can
be more common now that data is a key since it is likely one can have
entries that only have code, space, and data.
- Handle no data as empty data when setting, and empty data as no data
when getting. This avoids the need to add an empty "data" element to
all options that lack it in all-options.json so that the unit tests
pass. But this goes to show that data-less entries may be encountered
in production as well, so more importantly this caters to that
scenario.
- Adjust data in kea4/all-options.json to not contain singlequotes.
There was only one occurrence of it. This is a limitation related
to unit testing only. Opened issue 3216 about it.
- Add missing tests that are not strictly related to the data key, but
they are related to option data:
- TranslatorOptionDataListTestv6.getEmpty
- TranslatorOptionDataListTestv4.get
- TranslatorOptionDataListTestv6.setEmpty
- TranslatorOptionDataListTestv4.set
- Add unit tests:
- TranslatorOptionDataListTestv4.optionsSameCodeAndSpace
- TranslatorOptionDataListTestv6.optionsSameCodeAndSpace
- Add snippet that tests setting of list element with keys only in
TranslatorTest.setItem.
* [x] e47615ea9eb43c9397d4521cccf211fdcdc30c1a bump up revisions for YANG modules
* [x] c5985b28f7c45b17e268c7e646a6ed5d7fb7d4e8 ignore errors when regenerating hashes
The script complains about hashes missing, but that is only temporary until they
are regenerated. A second call to check-hashes.sh will now properly check them
at the end.
* [x] 7c30099d647ed20491f8b8f64375456fb7485381 add ChangeLog entrykea2.5.5Andrei Pavelandrei@isc.orgAndrei Pavelandrei@isc.orghttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/2204Resolve "hammer.py prepare-system --just-configure"2024-01-26T09:15:22ZAndrei Pavelandrei@isc.orgResolve "hammer.py prepare-system --just-configure"Closes #3229.Closes #3229.kea2.5.5Andrei Pavelandrei@isc.orgAndrei Pavelandrei@isc.orghttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/2203add documentation for peer-updates in radius2024-01-25T15:25:06ZAndrei Pavelandrei@isc.orgadd documentation for peer-updates in radiusCloses #3123.
* [x] 96f6de4bc05341409fbef12ae93c0023fa31f32b add documentation for the peer-updates flag in radiusCloses #3123.
* [x] 96f6de4bc05341409fbef12ae93c0023fa31f32b add documentation for the peer-updates flag in radiuskea2.5.5Andrei Pavelandrei@isc.orgAndrei Pavelandrei@isc.orghttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/2188Resolve "Coverity scan issues"2024-01-22T15:58:15ZPiotrek ZadrogaResolve "Coverity scan issues"#huge-sorry
Closes #3119#huge-sorry
Closes #3119kea2.5.5Razvan BecheriuRazvan Becheriuhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/2194Resolve "Bulk Leasequery (BLQ) needs to be able to match PDs associated with ...2024-01-18T20:32:45ZFrancis DupontResolve "Bulk Leasequery (BLQ) needs to be able to match PDs associated with a link, even if the subnet of the PD is outside of the subnet of the link"Part of #3149 - reimplementPart of #3149 - reimplementkea2.5.5Francis DupontFrancis Duponthttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/2193Resolve "Bulk Leasequery (BLQ) needs to be able to match PDs associated with ...2024-01-17T09:09:42ZFrancis DupontResolve "Bulk Leasequery (BLQ) needs to be able to match PDs associated with a link, even if the subnet of the PD is outside of the subnet of the link"Part of #3149 (requires tests to evaluate impact)Part of #3149 (requires tests to evaluate impact)kea2.5.5Francis DupontFrancis Duponthttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/2135Resolve "Support for option 121 (classless-static-routes) is needed"2024-01-15T12:30:25ZPiotrek ZadrogaResolve "Support for option 121 (classless-static-routes) is needed"Closes #3074Closes #3074kea2.5.5Piotrek ZadrogaPiotrek Zadrogahttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/2101Resolve "Replace output_options by output-options"2024-01-11T12:34:32ZRazvan BecheriuResolve "Replace output_options by output-options"Closes #3004Closes #3004Razvan BecheriuRazvan Becheriuhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/2185Resolve "Run multiple HA relationships in hub-and-spoke configuration"2024-01-08T07:30:14ZMarcin SiodelskiResolve "Run multiple HA relationships in hub-and-spoke configuration"Closes #3178Closes #3178kea2.5.5Marcin SiodelskiMarcin Siodelskihttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/2191Resolve "extend hammer to build aarch64 packages"2024-01-03T10:49:14ZWlodzimierz WencelResolve "extend hammer to build aarch64 packages"Closes #3186Closes #3186kea2.5.5Wlodzimierz WencelWlodzimierz Wencelhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/2161Resolve "ALLOC_ENGINE_V4_ALLOC_ERROR message update"2023-12-18T19:11:46ZRazvan BecheriuResolve "ALLOC_ENGINE_V4_ALLOC_ERROR message update"Closes #3108Closes #3108kea2.5.5Razvan BecheriuRazvan Becheriu