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

36562 Commits

Author SHA1 Message Date
Razvan Becheriu
2cbf76f496 [#3301] updated yang modules 2024-05-23 21:24:13 +03:00
Razvan Becheriu
c2f9cc6051 [#2960] removed useless try catch 2024-05-23 17:08:44 +03:00
Razvan Becheriu
66eacf5904 [#2960] removed more code 2024-05-23 17:08:44 +03:00
Razvan Becheriu
f4a474ce37 [#2960] addressed comments 2024-05-23 17:08:43 +03:00
Razvan Becheriu
121496604e [#2960] clean up processCommand 2024-05-23 17:08:16 +03:00
Razvan Becheriu
6d10d6424e [#2960] removed deprecated libreload command 2024-05-23 17:08:16 +03:00
Tomek Mrugalski
6f66da2371 [#3340] Changes after review:
- prefix IPv6 Lease => IPv6 prefix lease
 - removed extra comma
 - added a note that subnet-id is optional
2024-05-23 15:44:53 +02:00
Tomek Mrugalski
03b53127ae [#3340] ChangeLog updated 2024-05-23 15:44:52 +02:00
Tomek Mrugalski
c3fc260417 [#3340] rst syntax fixed 2024-05-23 15:44:25 +02:00
Tomek Mrugalski
9e45480322 [#3340] ARM for lease6-del updated 2024-05-23 15:44:25 +02:00
Tomek Mrugalski
d0a23dd20e [#3340] Error message corrected 2024-05-23 15:44:25 +02:00
Slawek Figiel
424dc60d8e [#2773] Move a paragraph 2024-05-23 14:18:15 +02:00
Andrei Pavel
561539d4c5 [#2773] Apply 2 suggestions to 2 files 2024-05-23 14:18:15 +02:00
Slawek Figiel
be86521a42 [#2773] Update Hammer queries 2024-05-23 14:18:15 +02:00
Slawek Figiel
11e65cd321 [#2773] Update Changelog 2024-05-23 14:18:15 +02:00
Slawek Figiel
808f97e13d [#2773] Update DB creation for Postgres 15+ 2024-05-23 14:17:45 +02:00
Marcin Godzina
7e36a43ec1 [#3290] docs - ha-scopes warning 2024-05-23 11:19:52 +00:00
Razvan Becheriu
53f571b5ad [#2959] addressed comments 2024-05-22 22:15:00 +03:00
Razvan Becheriu
6671e30bc6 [#2959] addressed comments 2024-05-22 21:54:28 +03:00
Razvan Becheriu
23f7d80c41 [#2959] removed deprecated parameter reservation-mode 2024-05-22 21:37:12 +03:00
Razvan Becheriu
47d6f71be6 [#2958] added ChangeLog entry 2024-05-22 19:48:02 +03:00
Razvan Becheriu
ef732b43b5 [#2958] add upgrade script 2024-05-22 19:05:30 +03:00
Razvan Becheriu
d149028d61 [#2958] removed deprecated dhcp-ddns parameters 2024-05-22 19:04:53 +03:00
Slawek Figiel
f40b537fdd [#3021] Add link to the code-signing keys 2024-05-22 17:20:33 +02:00
Slawek Figiel
09b7ce4445 [#3021] Update Changelog 2024-05-22 17:20:33 +02:00
Slawek Figiel
5ecc3cbf36 [#3021] Add docs section 2024-05-22 17:20:08 +02:00
Marcin Siodelski
8176c26763 [#3252] Fix typos in the ARM 2024-05-22 15:39:51 +02:00
Marcin Siodelski
41c8135f71 [#3252] Added changelog for #3252 2024-05-22 15:39:47 +02:00
Marcin Siodelski
281f34b083 [#3252] hub-and-spoke/radius incompatibility
The subnet reselect in RADIUS is incompatible with the hub-and-spoke.
Added suitable notes in the ARM.
2024-05-22 15:38:53 +02:00
Thomas Markwalder
38838d7647 [#3396] Addressed review comment
mysql_tests.sh.in - cleaned up upgrade test functions
2024-05-22 07:34:26 -04:00
Thomas Markwalder
5753d7c03d [#3396] Add script to Makefile.am
modified:   src/share/database/scripts/mysql/Makefile.am
2024-05-21 16:28:13 -04:00
Thomas Markwalder
fef41fcf0e [#3396] Moved column alters to new schema 22
configure.ac
    Added mysql/upgrade_019_to_020.sh

src/bin/admin/tests/mysql_tests.sh.in
    Updated, adjusted for version check

src/lib/mysql/mysql_constants.h
    Bumped schema version to 22

src/share/database/scripts/mysql/.gitignore
    upgrade_019_to_020.sh

src/share/database/scripts/mysql/dhcpdb_create.mysql
    Moved expire column statements into version 22 update section

src/share/database/scripts/mysql/upgrade_020_to_021.sh.in
    Removed expire column updates

src/share/database/scripts/mysql/upgrade_020_to_021.sh.in
    New file, modifies expire columns
2024-05-21 13:58:34 -04:00
Thomas Markwalder
1cab163b88 [#3396] Modify leaseX expire columns to accept null
src/share/database/scripts/mysql/dhcpdb_create.mysql
    Change expire column in lease4 and lease6 to accept NULL

src/share/database/scripts/mysql/upgrade_018_to_019.sh.in
    Change expire column in lease6 to accept NULL

src/share/database/scripts/mysql/upgrade_020_to_021.sh.in
    Change expire column in lease4 and lease6 to accept NULL

Added ChangeLog entry
2024-05-21 13:58:34 -04:00
Andrei Pavel
42bd2b5867 [#3256] address review 2024-05-20 23:28:51 +03:00
Andrei Pavel
f5eb6598f7 [#3256] add ChangeLog entry 2024-05-20 23:28:50 +03:00
Andrei Pavel
3e4deddd5f [#3256] fix common warnings across compilers
```
io_service_thread_pool_unittests.cc:24:12: warning: unused variable 'TEST_TIMEOUT' [-Wunused-const-variable]
mysql_connection_unittest.cc:217:75: warning: declaration of ‘out_bindings’ shadows a previous local [-Wshadow]
mysql_host_data_source.cc:171:6: warning: extra ';' after member function definition [-Wextra-semi]
mysql_host_data_source.cc:202:6: warning: extra ';' after member function definition [-Wextra-semi]
mysql_host_data_source.cc:220:6: warning: extra ';' after member function definition [-Wextra-semi]
mysql_host_data_source.cc:254:6: warning: extra ';' after member function definition [-Wextra-semi]
mysql_host_data_source.cc:422:6: warning: extra ';' after member function definition [-Wextra-semi]
mysql_host_data_source.cc:554:6: warning: extra ';' after member function definition [-Wextra-semi]
mysql_host_data_source.cc:579:30: warning: useless cast to type ‘isc::dhcp::SubnetID’ {aka ‘unsigned int’} [-Wuseless-cast]
mysql_host_data_source.cc:586:30: warning: useless cast to type ‘isc::dhcp::SubnetID’ {aka ‘unsigned int’} [-Wuseless-cast]
mysql_host_data_source.cc:674:6: warning: extra ';' after member function definition [-Wextra-semi]
mysql_host_data_source.cc:714:6: warning: extra ';' after member function definition [-Wextra-semi]
mysql_host_data_source.cc:1313:18: warning: 'processFetchedData' overrides a member function but is not marked 'override' [-Wsuggest-override]
mysql_host_data_source.cc:1353:37: warning: 'createBindForReceive' overrides a member function but is not marked 'override' [-Wsuggest-override]
mysql_host_data_source.cc:1371:6: warning: extra ';' after member function definition [-Wextra-semi]
mysql_host_data_source.cc:1456:6: warning: extra ';' after member function definition [-Wextra-semi]
mysql_host_data_source.cc:1487:6: warning: extra ';' after member function definition [-Wextra-semi]
mysql_host_data_source.cc:1508:18: warning: 'processFetchedData' overrides a member function but is not marked 'override' [-Wsuggest-override]
mysql_host_data_source.cc:1542:37: warning: 'createBindForReceive' overrides a member function but is not marked 'override' [-Wsuggest-override]
mysql_host_data_source.cc:1583:6: warning: extra ';' after member function definition [-Wextra-semi]
mysql_host_data_source.cc:1803:25: warning: unused variable 'OPTION_ID_COL' [-Wunused-const-variable]
mysql_host_data_source.cc:1804:25: warning: unused variable 'CODE_COL' [-Wunused-const-variable]
mysql_host_data_source.cc:1805:25: warning: unused variable 'VALUE_COL' [-Wunused-const-variable]
mysql_host_data_source.cc:1806:25: warning: unused variable 'FORMATTED_VALUE_COL' [-Wunused-const-variable]
mysql_host_data_source.cc:1807:25: warning: unused variable 'SPACE_COL' [-Wunused-const-variable]
mysql_host_data_source.cc:1808:25: warning: unused variable 'PERSISTENT_COL' [-Wunused-const-variable]
mysql_host_data_source.cc:1809:25: warning: unused variable 'CANCELLED_COL' [-Wunused-const-variable]
mysql_host_data_source.cc:1810:25: warning: unused variable 'USER_CONTEXT_COL' [-Wunused-const-variable]
mysql_host_data_source.cc:1811:25: warning: unused variable 'DHCP_SUBNET_ID_COL' [-Wunused-const-variable]
mysql_host_data_source.cc:1812:25: warning: unused variable 'HOST_ID_COL' [-Wunused-const-variable]
mysql_host_data_source.cc:3222:24: warning: useless cast to type ‘char*’ [-Wuseless-cast]
mysql_host_data_source.cc:3385:24: warning: useless cast to type ‘char*’ [-Wuseless-cast]
mysql_host_data_source.cc:3426:24: warning: useless cast to type ‘char*’ [-Wuseless-cast]
mysql_lease_mgr.cc:89:14: warning: unused variable 'HOSTNAME_MAX_LEN' [-Wunused-const-variable]
mysql_lease_mgr.cc:95:14: warning: unused variable 'ADDRESS6_TEXT_MAX_LEN' [-Wunused-const-variable]
mysql_lease_mgr.cc:98:14: warning: unused variable 'USER_CONTEXT_MAX_LEN' [-Wunused-const-variable]
mysql_lease_mgr.cc:544:29: warning: useless cast to type ‘isc::db::my_bool*’ {aka ‘bool*’} [-Wuseless-cast]
mysql_lease_mgr.cc:1929:10: warning: 'start' overrides a member function but is not marked 'override' [-Wsuggest-override]
mysql_lease_mgr.cc:2010:30: warning: useless cast to type ‘isc::dhcp::SubnetID’ {aka ‘unsigned int’} [-Wuseless-cast]
mysql_lease_mgr.cc:2020:10: warning: 'getNextRow' overrides a member function but is not marked 'override' [-Wsuggest-override]
mysql_lease_mgr.cc:3427:13: warning: useless cast to type ‘uint64_t’ {aka ‘long unsigned int’} [-Wuseless-cast]
mysql_lease_mgr.cc:4114:23: warning: variable length arrays are a C99 feature [-Wvla-extension]
mysql_lease_mgr.cc:4226:23: warning: variable length arrays are a C99 feature [-Wvla-extension]
option_opaque_data_tuples_unittest.cc:533:32: warning: zero size arrays are an extension [-Wzero-length-array]
option_opaque_data_tuples_unittest.cc:552:32: warning: zero size arrays are an extension [-Wzero-length-array]
option_opaque_data_tuples_unittest.cc:572:32: warning: zero size arrays are an extension [-Wzero-length-array]
tcp_connection.cc:28:14: warning: unused variable 'MAX_LOGGED_MESSAGE_SIZE' [-Wunused-const-variable]
test_control.cc:1826:23: warning: useless cast to type ‘class isc::asiolink::IOAddress’ [-Wuseless-cast]
test_control.cc:1830:24: warning: useless cast to type ‘class isc::asiolink::IOAddress’ [-Wuseless-cast]
test_control.cc:1871:34: warning: useless cast to type ‘class isc::asiolink::IOAddress’ [-Wuseless-cast]
test_control.cc:1873:30: warning: useless cast to type ‘class isc::asiolink::IOAddress’ [-Wuseless-cast]
../../../src/lib/http/http_message_parser_base.h:26:45: warning: extra ‘;’ after in-class function definition [-Wextra-semi]
../../../src/lib/http/http_message_parser_base.h:174:18: warning: ‘virtual void isc::http::HttpMessageParserBase::defineEvents()’ can be marked override [-Wsuggest-override]
../../../src/lib/http/http_message_parser_base.h:177:18: warning: ‘virtual void isc::http::HttpMessageParserBase::verifyEvents()’ can be marked override [-Wsuggest-override]
../../../src/lib/http/http_message_parser_base.h:180:18: warning: ‘virtual void isc::http::HttpMessageParserBase::defineStates()’ can be marked override [-Wsuggest-override]
../../../src/lib/http/http_message_parser_base.h:233:18: warning: ‘virtual void isc::http::HttpMessageParserBase::onModelFailure(const string&)’ can be marked override [-Wsuggest-override]
```
2024-05-20 23:28:17 +03:00
Andrei Pavel
bceff40010 [#3256] fix Wtype-limits warnings
```
data.cc:905:21: warning: comparison is always true due to limited range of data type [-Wtype-limits]
data.cc:905:48: warning: comparison is always false due to limited range of data type [-Wtype-limits]
http_message_parser_base.cc:266:15: warning: comparison is always true due to limited range of data type [-Wtype-limits]
http_message_parser_base.cc:271:17: warning: comparison is always true due to limited range of data type [-Wtype-limits]
```
2024-05-20 23:28:17 +03:00
Andrei Pavel
05362b115f [#3256] attempt to fix nonsense Wstringop-overread
```
warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
```

and Wsign-compare in the same file:

```
test_control.cc:116:35: warning: comparison of integers of different signs: 'uint64_t' (aka 'unsigned long') and 'int' [-Wsign-compare]                                                                                                                         338ms
test_control.cc:491:43: warning: comparison of integers of different signs: 'size_type' (aka 'unsigned long') and 'const int' [-Wsign-compare]
test_control.cc:529:50: warning: comparison of integers of different signs: 'size_type' (aka 'unsigned long') and 'const int' [-Wsign-compare]
```
2024-05-20 23:28:17 +03:00
Andrei Pavel
934d8276fa [#3256] check result of mysql_options
... and throw exception if result is unfortunate.

... and check exceptions thrown in unit tests because it is important
now to distinguish that the old exceptions are thrown instead of the new.
2024-05-20 23:28:17 +03:00
Andrei Pavel
6e708a1e07 [#3256] convert mysql_ssl_set to mysql_options 2024-05-20 23:28:16 +03:00
Razvan Becheriu
0fcf61ea21 [#3223] add ChangeLog entry 2024-05-20 21:50:17 +03:00
Razvan Becheriu
91306673eb [#3223] removed dead code in v4 2024-05-20 18:36:29 +00:00
Razvan Becheriu
27aaeb08c2 [#3223] fixed status-get when no lease manager is available 2024-05-20 18:36:29 +00:00
Marcin Godzina
4500ae99b4 [#3418] remove os check before Postgres ddb grant 2024-05-20 14:15:40 +00:00
Andrei Pavel
0186cbb31e [#3019] remove limitation on db retry from doc 2024-05-17 12:07:47 +03:00
Andrei Pavel
c85bdf4df2 [#3393] ignore error in libyang tests
... and add bison and flex to ubuntu for completion
2024-05-17 08:47:55 +03:00
Suzanne Goldlust
7730a1d60d Resolve "Editorial review of the ARM prior to 2.6 release" 2024-05-16 20:09:54 +00:00
Marcin Godzina
3f7db23b61 [#3382] change to mariadb in ubuntu 24 2024-05-16 06:03:15 +00:00
Francis Dupont
ffd879d930 [#2961] Improved ChangeLog entry 2024-05-13 21:43:18 +02:00
Francis Dupont
50c50a3132 [#2961] Chased last auto-gen ids 2024-05-13 18:25:09 +02:00