summaryrefslogtreecommitdiffstats
path: root/src/hooks (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [#1654] Addressed comments, rebasingFrancis Dupont2022-09-231-0/+3
|
* [#1654] Checkpoint: did hook, doc to doFrancis Dupont2022-09-236-2/+207
|
* [#2408] Avoid creating JSON from argsMarcin Siodelski2022-09-221-55/+18
|
* [#2408] Improved logging in lease_cmdsMarcin Siodelski2022-09-226-31/+57
|
* [#2408] Addressed review comments in the HAMarcin Siodelski2022-09-225-17/+17
|
* [#2408] Improved handling rejected leasesMarcin Siodelski2022-09-224-46/+273
| | | | | The new communication state functions are now MT safe. The rejected leases have also expiration time attached.
* [#2408] Improved some HA log messages formatMarcin Siodelski2022-09-222-13/+13
|
* [#2408] Error message when HA service terminatesMarcin Siodelski2022-09-227-3/+77
|
* [#2408] HA code cleanupMarcin Siodelski2022-09-225-73/+102
|
* [#2408] Handle lease6-bulk-apply empty caseMarcin Siodelski2022-09-223-12/+230
|
* [#2408] Renamed HA parameterMarcin Siodelski2022-09-225-29/+29
| | | | The max-rejected-clients has been renamed to max-rejected-lease-updates.
* [#2408] HA interprets conflict status codeMarcin Siodelski2022-09-225-54/+235
|
* [#2408] Rename new communication state functionsMarcin Siodelski2022-09-225-61/+61
|
* [#2408] HA service tracks rejected leasesMarcin Siodelski2022-09-227-20/+196
|
* [#2408] Communication state tracks rejected leasesMarcin Siodelski2022-09-227-20/+356
|
* [#2408] Lease cmds can return CONFLICT status codeMarcin Siodelski2022-09-2210-56/+298
| | | | | | The new CONTROL_RESULT_CONFLICT returned by the lease_cmds hook library indicates that the command was processed ok, but the library was unable to apply configuration changes because of the conflicting state of the server.
* [#2507] Replace CriticalSection with mutex lock in stat_cmdsThomas Markwalder2022-09-191-2/+0
| | | | | | | | | | | | | | | src/hooks/dhcp/stat_cmds/stat_cmds.cc StatCmds::statLease4GetHandler(CalloutHandle& handle) StatCmds::statLease6GetHandler(CalloutHandle& handle) - removed MultiThreadingCriticalSection instance src/lib/dhcpsrv/memfile_lease_mgr.cc Memfile_LeaseMgr::startLeaseStatsQuery4() Memfile_LeaseMgr::startSubnetLeaseStatsQuery4) Memfile_LeaseMgr::startLeaseStatsQuery6() Memfile_LeaseMgr::startSubnetLeaseStatsQuery6() Memfile_LeaseMgr::startSubnetRangeLeaseStatsQuery6() - lock mutex when runninng in MT
* [#2551] release changesWlodek Wencel2022-08-291-1/+1
|
* [#2441] added warning message to instruct Kea MT rewuired HA+MTRazvan Becheriu2022-08-294-8/+22
|
* [#2071] fixed use of valgrindRazvan Becheriu2022-08-1012-16/+20
|
* [#2235] Removed archives from libload testsFrancis Dupont2022-08-035-10/+5
|
* [#2235] Moved [in]valid load test implementations to headerFrancis Dupont2022-07-278-8/+0
|
* [#2235] Refactored remaining hooks lib libloadtestsThomas Markwalder2022-07-276-398/+117
| | | | | | | | | | | | | | src/hooks/dhcp/flex_option/libloadtests/Makefile.am src/hooks/dhcp/flex_option/libloadtests/load_unload_unittests.cc src/hooks/dhcp/high_availability/libloadtests/Makefile.am src/hooks/dhcp/high_availability/libloadtests/load_unload_unittests.cc src/hooks/dhcp/run_script/libloadtests/Makefile.am src/hooks/dhcp/run_script/libloadtests/load_unload_unittests.cc src/lib/testutils/lib_load_test_fixture.h LibLoadTest added SetUp() and validConfigParams()
* [#2235] Addressed some changesFrancis Dupont2022-07-275-23/+20
|
* [#2235] Added library load tests to core hooksThomas Markwalder2022-07-2725-5/+713
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extended the LibLoadTest class added recently, new file: src/lib/testutils/lib_load_test_fixture.cc Added libloadest directory and tests: src/hooks/dhcp/bootp/libloadtests/.gitignore src/hooks/dhcp/bootp/libloadtests/Makefile.am src/hooks/dhcp/bootp/libloadtests/load_unload_unittests.cc src/hooks/dhcp/bootp/libloadtests/run_unittests.cc src/hooks/dhcp/lease_cmds/libloadtests/.gitignore src/hooks/dhcp/lease_cmds/libloadtests/Makefile.am src/hooks/dhcp/lease_cmds/libloadtests/load_unload_unittests.cc src/hooks/dhcp/lease_cmds/libloadtests/run_unittests.cc src/hooks/dhcp/mysql_cb/libloadtests/.gitignore src/hooks/dhcp/mysql_cb/libloadtests/Makefile.am src/hooks/dhcp/mysql_cb/libloadtests/load_unload_unittests.cc src/hooks/dhcp/mysql_cb/libloadtests/run_unittests.cc src/hooks/dhcp/pgsql_cb/libloadtests/.gitignore src/hooks/dhcp/pgsql_cb/libloadtests/Makefile.am src/hooks/dhcp/pgsql_cb/libloadtests/load_unload_unittests.cc src/hooks/dhcp/pgsql_cb/libloadtests/run_unittests.cc src/hooks/dhcp/stat_cmds/libloadtests/.gitignore src/hooks/dhcp/stat_cmds/libloadtests/Makefile.am src/hooks/dhcp/stat_cmds/libloadtests/load_unload_unittests.cc src/hooks/dhcp/stat_cmds/libloadtests/run_unittests.cc
* [#2235] Removed duplicated includeFrancis Dupont2022-07-271-1/+0
|
* [#2235] Added process name checks for hooksFrancis Dupont2022-07-2718-21/+359
|
* [#2505] release changesAndrei Pavel2022-07-252-2/+2
|
* [#2454] More Doxygen warnings fixedTomek Mrugalski2022-07-211-2/+2
|
* [#1781] spellingFrancis Dupont2022-07-201-2/+2
|
* [#1781] Additional review commentsThomas Markwalder2022-07-202-8/+28
| | | | | | | | src/hooks/dhcp/high_availability/query_filter.h Added commentary src/hooks/dhcp/high_availability/tests/query_filter_unittest.cc Added commentary
* [#1781] Addressed initial review commentsThomas Markwalder2022-07-202-4/+9
| | | | | | | | | | | doc/sphinx/arm/hooks.rst Added paragraph about hook library ordering src/hooks/dhcp/high_availability/query_filter.cc Added comment src/hooks/dhcp/high_availability/tests/query_filter_unittest.cc Test beyond enum EOF.
* [#1781] spellingFrancis Dupont2022-07-201-3/+3
|
* [#1781] Removed whitespaceThomas Markwalder2022-07-201-1/+0
|
* [#1781] HA now load balances only specific message typesThomas Markwalder2022-07-203-0/+272
| | | | | | | | | | | | | | | | | | | | | | Added a ChangeLog src/hooks/dhcp/high_availability/query_filter.* QueryFilter::isHaType(const dhcp::Pkt4Ptr& query4) QueryFilter::isHaType(const dhcp::Pkt6Ptr& query6) - new functions QueryFilter::inScope() - uses new functions to balance and scope messages of specific types src/hooks/dhcp/high_availability/tests/query_filter_unittest.cc TEST_F(QueryFilterTest, loadBalancingHaTypes4) TEST_F(QueryFilterTest, loadBalancingHaTypes4MultiThreading) TEST_F(QueryFilterTest, loadBalancingHaTypes6) TEST_F(QueryFilterTest, loadBalancingHaTypes6MultiThreading) - new tests src/lib/dhcp/dhcp6.h Uncommented v6 message types.
* [#1706] minor ordering of command listRazvan Becheriu2022-06-231-5/+9
|
* [#1706] Added restrict-commands featureFrancis Dupont2022-06-238-4/+65
|
* [#1706] Added TLS unit test from MT basic oneFrancis Dupont2022-06-233-26/+152
|
* [#1706] Added require-client-certs HA flagFrancis Dupont2022-06-233-6/+26
|
* [#1706] Added TLS server side to HAFrancis Dupont2022-06-232-2/+10
|
* [#2430] Addressed review commentsThomas Markwalder2022-06-141-2/+2
| | | | | | | | | | | | | | | src/lib/dhcpsrv/parsers/client_class_def_parser.cc ClientClassDefParser::parse() - throws if user-context is not a map src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc TEST_F(ClientClassDefParserTest, invalidUserContext) - new test src/hooks/dhcp/pgsql_cb/pgsql_cb_dhcp6.cc src/share/database/scripts/mysql/dhcpdb_create.mysql src/share/database/scripts/pgsql/dhcpdb_create.pgsql src/share/database/scripts/pgsql/upgrade_011_to_012.sh.in typos
* [#2430] PostgreSQL CB now supports class user-contextThomas Markwalder2022-06-143-49/+79
| | | | | | | | | | | | | | src/bin/admin/tests/pgsql_tests.sh.in Updated pgsql_upgrade_11_0_to_12_0() src/hooks/dhcp/pgsql_cb/pgsql_cb_dhcp4.cc src/hooks/dhcp/pgsql_cb/pgsql_cb_dhcp6.cc src/hooks/dhcp/pgsql_cb/pgsql_query_macros_dhcp.h added user_context to necessary statements, bindings src/share/database/scripts/pgsql/dhcpdb_create.pgsql src/share/database/scripts/pgsql/upgrade_011_to_012.sh.in added user_context column to class tables
* [#2430] MySQL CB now supports class user-contextThomas Markwalder2022-06-143-35/+57
| | | | | | | | | | | | | | | | | | src/share/database/scripts/mysql/dhcpdb_create.mysql src/share/database/scripts/mysql/upgrade_013_to_014.sh.in Added user_context column to class tables src/bin/admin/tests/mysql_tests.sh.in Updated upgrade test src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.cc src/hooks/dhcp/mysql_cb/mysql_cb_dhcp6.cc src/hooks/dhcp/mysql_cb/mysql_query_macros_dhcp.h read/write class user_context src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc src/lib/dhcpsrv/testutils/generic_cb_dhcp6_unittest.cc Added user_context value to class tests
* [#2299] Create subnet audit entry when network is deletedThomas Markwalder2022-06-032-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update subnets in shared-network BDEL trigger rather than relying on foreign key update action new files: src/share/database/scripts/mysql/upgrade_013_to_014.sh.in src/share/database/scripts/pgsql/upgrade_011_to_012.sh.in configure.ac added: src/share/database/scripts/mysql/upgrade_013_to_014.sh src/share/database/scripts/pgsql/upgrade_011_to_012.sh src/bin/admin/tests/mysql_tests.sh.in added 13 to 14 checks src/bin/admin/tests/pgsql_tests.sh.in added 11 to 12 checks src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp6_unittest.cc enabled disabled tests src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc GenericConfigBackendDHCPv4Test::getAllSharedNetworks4Test() - updated expected audit entry order src/lib/dhcpsrv/testutils/generic_cb_dhcp6_unittest.cc GenericConfigBackendDHCPv6Test::getAllSharedNetworks6Test() - updated expected audit entry order src/lib/mysql/mysql_constants.h Updated schema version to 14 src/lib/pgsql/pgsql_connection.h Updated schema version to 12 src/share/database/scripts/mysql/.gitignore src/share/database/scripts/mysql/Makefile.am added upgrade_013_to_014.sh src/share/database/scripts/mysql/dhcpdb_create.mysql subnet rows are now updated directly in shared-network BEFORE delete triggers (v4 and v6) src/share/database/scripts/pgsql/Makefile.am added upgrade_011_to_012.sh src/share/database/scripts/pgsql/dhcpdb_create.pgsql subnet rows are now updated directly in shared-network BEFORE delete triggers (v4 and v6)
* [#2423] release changes: spelling correctionsAndrei Pavel2022-05-238-11/+11
|
* [#562] template adapters to existing qualified namesAndrei Pavel2022-05-201-1/+1
|
* [#2227] reverted changes in CBRazvan Becheriu2022-05-192-6/+2
|
* [#2227] split suboptions in separate optionsRazvan Becheriu2022-05-192-2/+6
|
* [#2388] release changesMarcin Godzina2022-04-253-3/+3
|
* [#1548] DDNS tuning hook removedTomek Mrugalski2022-04-2117-1128/+1
|