Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [#1657] addressed comments | Razvan Becheriu | 2021-02-22 | 1 | -2/+0 |
| | |||||
* | [#1657] addressed comments | Razvan Becheriu | 2021-02-22 | 4 | -24/+6 |
| | |||||
* | [#1657] addressed comments | Razvan Becheriu | 2021-02-22 | 5 | -2/+13 |
| | |||||
* | [#1657] fixed rebase | Razvan Becheriu | 2021-02-22 | 1 | -16/+0 |
| | |||||
* | [#1657] updated copyright | Razvan Becheriu | 2021-02-22 | 2 | -2/+2 |
| | |||||
* | [#1657] mask SIGCHILD when creating new threads (only main thread handles it) | Razvan Becheriu | 2021-02-22 | 5 | -10/+47 |
| | |||||
* | [#1698] MySQL upgrade 9.6: a more simpler check | Andrei Pavel | 2021-02-22 | 2 | -54/+23 |
| | | | | | use a simpler select to check for column existence rather than functions and procedures that may wind up in the database after the upgrade | ||||
* | [#1698] check cache columns in upgrade script | Andrei Pavel | 2021-02-22 | 1 | -13/+45 |
| | |||||
* | [#1698] move cache columns to 9.6 mysql upgrade | Andrei Pavel | 2021-02-22 | 5 | -23/+30 |
| | |||||
* | [#1713] bump lib versions for 1.9.5 | Razvan Becheriu | 2021-02-22 | 12 | -13/+18 |
| | |||||
* | [#1711] fix indentation | Razvan Becheriu | 2021-02-21 | 1 | -2/+1 |
| | |||||
* | [#1711] added ChangeLog | Razvan Becheriu | 2021-02-21 | 1 | -0/+6 |
| | |||||
* | [#1711] use isc::db::db_logger_mutex to protect isc::db::db_logger_stack | Razvan Becheriu | 2021-02-21 | 5 | -2/+18 |
| | |||||
* | [#899] fixed rebase | Razvan Becheriu | 2021-02-19 | 1 | -2/+1 |
| | |||||
* | [#899] Fixed dependencies (2) | Francis Dupont | 2021-02-19 | 2 | -3/+3 |
| | |||||
* | [#899] Fixed dependencies | Francis Dupont | 2021-02-19 | 3 | -2/+30 |
| | |||||
* | [#1635] Fixed Changelog (again) | Thomas Markwalder | 2021-02-19 | 1 | -2/+0 |
| | |||||
* | [#1635] More cosmetic review comments | Thomas Markwalder | 2021-02-19 | 4 | -4/+5 |
| | |||||
* | [#1635] Addressed review comments | Thomas Markwalder | 2021-02-19 | 10 | -63/+64 |
| | | | | | | | | | | | | | | | | Changes were cosmetic, no fucntional changes required. Modified: doc/sphinx/arm/dhcp4-srv.rst src/bin/dhcp4/tests/config_parser_unittest.cc src/lib/cc/simple_parser.h src/lib/dhcpsrv/alloc_engine.cc src/lib/dhcpsrv/alloc_engine.h src/lib/dhcpsrv/client_class_def.cc src/lib/dhcpsrv/client_class_def.h src/lib/dhcpsrv/parsers/shared_network_parser.cc src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc | ||||
* | [#1635] Fixed trailing whitespace in ChangeLog | Thomas Markwalder | 2021-02-19 | 1 | -0/+2 |
| | |||||
* | [#1635] Use option 51 in conjunction with class triplet | Thomas Markwalder | 2021-02-19 | 6 | -69/+131 |
| | | | | | | | | | | | | | | | | Added a ChangeLog entry doc/examples/kea4/all-keys.json doc/sphinx/arm/dhcp4-srv.rst Updated doc src/lib/dhcpsrv/alloc_engine.* AllocEngine::getValidLft() - revamped to apply use class triplet with option 51 src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc TEST_F(AllocEngine4Test, getValidLft4) - udpated to match new logic | ||||
* | [#1635] V4 Allocation now uses class values for valid lifetime | Thomas Markwalder | 2021-02-19 | 3 | -33/+185 |
| | | | | | | | | | | | | | src/lib/dhcpsrv/alloc_engine.* AllocEngine::getValidLft(ctx4) - new method which returns the appropriate value for valid-leasetime based on the context content AllocEngine::createLease4 AllocEngine::updateLease4Information() - call getValidLft() src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc TEST_F(AllocEngine4Test, getValidLft4) - new test | ||||
* | [#1635] Improved parsing unit tests | Thomas Markwalder | 2021-02-19 | 2 | -1/+66 |
| | | | | | | | | | | src/bin/dhcp4/tests/config_parser_unittest.cc TEST_F(Dhcp4ParserTest, clientClassValidLifetime) - new test src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc TEST_F(ClientClassDefParserTest, validLifetimeTests) - improved test | ||||
* | [#1635] Added valid-lifetime to v4 client class | Thomas Markwalder | 2021-02-19 | 18 | -997/+1113 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Client class definitions in kea-dhcp4 will now parse and store valid lifetime triplet (e.g. min-valid-lifetime, valid-lifetime, and max-valid-lifetime). Does nothing with it yet. src/bin/dhcp4/dhcp4_lexer.ll src/bin/dhcp4/dhcp4_parser.yy b/src/bin/dhcp4/dhcp4_parser.yy Added support for valid-lifetime triplet to client class definitions src/lib/cc/simple_parser.* SimpleParser::const Triplet<uint32_t>SimpleParser::parseIntTriplet() - was formerly dhcp::BaseNetworkParser::parseLifetime() src/lib/dhcpsrv/client_class_def.* ClientClassDef::ClientClassDef - added Triplet<uint32_t>valid_ member src/lib/dhcpsrv/parsers/base_network_parser.* Extracted BaseNetworkParser::parseLifetime - relocated to cc::SimpleParser src/lib/dhcpsrv/parsers/client_class_def_parser.cc ClientClassDefParser::parse - added call to parseIntTriplet to parse valid-lifetime src/lib/dhcpsrv/parsers/dhcp_parsers.cc src/lib/dhcpsrv/parsers/shared_network_parser.cc Replaced calls parseLifeTime() with parseIntTriplet() src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc TEST_F(ClientClassDefParserTest, validLifetimeTests) - new test | ||||
* | [#1709] add ChangeLog entry | Andrei Pavel | 2021-02-19 | 1 | -0/+8 |
| | |||||
* | [#1709] add test for "ALTER TABLE logs ADD id" | Andrei Pavel | 2021-02-19 | 2 | -4/+11 |
| | |||||
* | [#1709] mysql 9.5 -> 9.6: ALTER TABLE logs ADD id | Andrei Pavel | 2021-02-19 | 4 | -0/+60 |
| | |||||
* | [#1708] add ChangeLog entry | Andrei Pavel | 2021-02-19 | 1 | -0/+7 |
| | |||||
* | [#1708] moved rawStatement to MySqlConnectionTest | Andrei Pavel | 2021-02-19 | 3 | -57/+54 |
| | |||||
* | [#1708] skip MySqlConnectionTest UTs for Percona | Andrei Pavel | 2021-02-19 | 1 | -148/+277 |
| | | | | and introduce MySqlConnectionWithPrimaryKeyTest UTs for Percona to run | ||||
* | [#1708] MySqlConnection:rawStatement() | Andrei Pavel | 2021-02-19 | 2 | -0/+53 |
| | | | | | used to run any statement that has no placeholder question mark where you would normally bind variables | ||||
* | [#1712] document that ProcessSpawn used full path to executable | Razvan Becheriu | 2021-02-19 | 4 | -8/+9 |
| | |||||
* | [#1712] fixed compilation on freebsd | Razvan Becheriu | 2021-02-19 | 2 | -4/+4 |
| | |||||
* | [#1701] Modified ChangeLog | Marcin Siodelski | 2021-02-19 | 1 | -4/+4 |
| | | | | | Slight modifications were needed after addressing review comments in the allocation engine. | ||||
* | [#1701] Addressed alloc engine review issues | Marcin Siodelski | 2021-02-19 | 4 | -168/+93 |
| | | | | | | | Reduced the number of new log messages to avoid flooding the log with warnings. For a shared network we now only log the number of subnets from which the engine attempted to allocate a lease and the number of subnets in which no pools were available. | ||||
* | [#1701] Added ChangeLog for #1701 | Marcin Siodelski | 2021-02-19 | 1 | -0/+12 |
| | |||||
* | [#1701] Improved v6 alloc fail messages | Marcin Siodelski | 2021-02-19 | 4 | -22/+168 |
| | | | | This is the corresponding change to the previous v4 change. | ||||
* | [#1701] Improved v4 alloc failure logs | Marcin Siodelski | 2021-02-19 | 4 | -11/+156 |
| | | | | | | | | | In case of lease allocation failure, the allocation engine now logs: - which shared network the client belongs to - which subnet (if not shared network) the client belongs to - which subnets were tried - for which subnets there were allocation attempts - for which subnets there were no allocation attempts | ||||
* | [#899] removed empty line | Razvan Becheriu | 2021-02-18 | 1 | -1/+0 |
| | |||||
* | [#899] refactored unittests to use fast timer | Razvan Becheriu | 2021-02-18 | 1 | -8/+37 |
| | |||||
* | [#899] added more unittests | Razvan Becheriu | 2021-02-18 | 4 | -2/+45 |
| | |||||
* | [#899] fixed unittests | Razvan Becheriu | 2021-02-18 | 1 | -10/+13 |
| | |||||
* | [#899] waitForProcess must be a static function | Razvan Becheriu | 2021-02-18 | 5 | -40/+60 |
| | |||||
* | [#899] clear signal handle after process has finished | Razvan Becheriu | 2021-02-18 | 7 | -34/+62 |
| | |||||
* | [#899] use true/false instead of 1/0 for exported boolean values | Razvan Becheriu | 2021-02-18 | 3 | -239/+241 |
| | |||||
* | [#899] addressed comments | Razvan Becheriu | 2021-02-18 | 4 | -31/+9 |
| | |||||
* | [#899] increase timeout for some unittests | Razvan Becheriu | 2021-02-18 | 3 | -4/+4 |
| | |||||
* | [#899] fixed log messages | Razvan Becheriu | 2021-02-18 | 5 | -7/+17 |
| | |||||
* | [#899] fixed rebase | Razvan Becheriu | 2021-02-18 | 1 | -2/+7 |
| | |||||
* | [#899] use smaller timeout in unittests | Razvan Becheriu | 2021-02-18 | 1 | -6/+6 |
| |