summaryrefslogtreecommitdiffstats
path: root/doc/examples (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [#3141] addressed review commentsPiotrek Zadroga2024-02-232-2/+2
| | | | - Mostly further corrections in ARM docs and in comments.
* [#3141] delete excessive dnr.json examplesPiotrek Zadroga2024-02-232-163/+0
|
* [#3141] json examples updatePiotrek Zadroga2024-02-232-11/+24
|
* [#3141] provide RFC in commentsPiotrek Zadroga2024-02-234-6/+6
|
* [#3198] make data a key for option-data in codeAndrei Pavel2024-01-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* [#3074] internal opt type refactorPiotrek Zadroga2024-01-151-1/+1
|
* [#3074] option example updatePiotrek Zadroga2024-01-091-5/+3
|
* [#3074] added ChangeLog entryPiotrek Zadroga2024-01-091-1/+2
| | | | Also, some other corrections.
* [#3074] unpack reworkedPiotrek Zadroga2024-01-091-3/+5
|
* [#3074] adding UTs for option 121Piotrek Zadroga2024-01-091-1/+3
|
* [#3074] adding example of option 121Piotrek Zadroga2024-01-091-0/+29
|
* [#3019] retry db open on startupRazvan Becheriu2023-12-144-0/+12
|
* [#3095] update example for v4 option 21Piotrek Zadroga2023-10-201-1/+1
|
* [#3002] add examples for SZTP redirect optionsPiotrek Zadroga2023-09-212-2/+70
|
* [#3003] output_options alias for output-optionsRazvan Becheriu2023-09-1857-61/+61
|
* [#2904] revert alias output-options in examplesPiotrek Zadroga2023-09-1857-61/+61
| | | | This reverts commit 12b00c890122313c8a912c4252054aab99bc07ad.
* [#2904] updating alias output-options in examplesPiotrek Zadroga2023-09-1857-61/+61
|
* [#2276] clean upThomas Markwalder2023-07-062-7/+7
| | | | | | | | | | | | | | | | | | | | /doc/examples/kea4/all-keys.json /doc/examples/kea6/all-keys.json Commented out ddns-use-conflict-resolution Added ddns-conflict-resolution-mode /src/bin/dhcp4/dhcp4_parser.yy b/src/bin/dhcp4/dhcp4_parser.yy /src/bin/dhcp4/dhcp4_parser.yy b/src/bin/dhcp6/dhcp6_parser.yy Translates ddns-use-conflict-resolution to ddns-conflict-resolution-mode /src/lib/dhcpsrv/cfg_globals.cc /src/lib/dhcpsrv/cfg_globals.h Removed ddns-use-conflict-resolution /src/lib/dhcpsrv/parsers/simple_parser4.cc /src/lib/dhcpsrv/parsers/simple_parser6.cc removed ddns-use-conflict-resolution
* [#2276] Initial impl ddns-resolution-conflict-modeThomas Markwalder2023-07-064-2/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New Files: src/bin/d2/check_exists_add.cc src/bin/d2/check_exists_add.h src/bin/d2/check_exists_remove.cc src/bin/d2/check_exists_remove.h src/bin/d2/simple_add_without_dhcid.cc src/bin/d2/simple_add_without_dhcid.h src/bin/d2/simple_remove_without_dhcid.cc src/bin/d2/simple_remove_without_dhcid.h src/bin/d2/tests/check_exists_add_unittests.cc src/bin/d2/tests/check_exists_remove_unittests.cc src/bin/d2/tests/simple_add_without_dhcid_unittests.cc src/bin/d2/tests/simple_remove_without_dhcid_unittests.cc Modified: doc/examples/kea4/all-keys.json doc/examples/kea4/with-ddns.json doc/examples/kea6/all-keys.json doc/examples/kea6/with-ddns.json src/bin/d2/Makefile.am src/bin/d2/check_exists_add.cc src/bin/d2/check_exists_add.h src/bin/d2/check_exists_remove.cc src/bin/d2/check_exists_remove.h src/bin/d2/d2_update_mgr.cc src/bin/d2/simple_add_without_dhcid.cc src/bin/d2/simple_add_without_dhcid.h src/bin/d2/simple_remove_without_dhcid.cc src/bin/d2/simple_remove_without_dhcid.h src/bin/d2/tests/Makefile.am src/bin/d2/tests/check_exists_add_unittests.cc src/bin/d2/tests/check_exists_remove_unittests.cc src/bin/d2/tests/d2_process_unittests.cc src/bin/d2/tests/d2_queue_mgr_unittests.cc src/bin/d2/tests/d2_update_mgr_unittests.cc src/bin/d2/tests/nc_add_unittests.cc src/bin/d2/tests/nc_remove_unittests.cc src/bin/d2/tests/simple_add_unittests.cc src/bin/d2/tests/simple_add_without_dhcid_unittests.cc src/bin/d2/tests/simple_remove_unittests.cc src/bin/d2/tests/simple_remove_without_dhcid_unittests.cc src/bin/dhcp4/dhcp4_lexer.cc src/bin/dhcp4/dhcp4_lexer.ll src/bin/dhcp4/dhcp4_parser.cc src/bin/dhcp4/dhcp4_parser.h src/bin/dhcp4/dhcp4_parser.yy src/bin/dhcp4/json_config_parser.cc src/bin/dhcp4/location.hh src/bin/dhcp4/parser_context.h src/bin/dhcp4/tests/config_parser_unittest.cc src/bin/dhcp4/tests/d2_unittest.cc src/bin/dhcp4/tests/fqdn_unittest.cc src/bin/dhcp4/tests/get_config_unittest.cc src/bin/dhcp6/dhcp6_lexer.cc src/bin/dhcp6/dhcp6_lexer.ll src/bin/dhcp6/dhcp6_parser.cc src/bin/dhcp6/dhcp6_parser.h src/bin/dhcp6/dhcp6_parser.yy src/bin/dhcp6/dhcp6_srv.cc src/bin/dhcp6/json_config_parser.cc src/bin/dhcp6/location.hh src/bin/dhcp6/parser_context.h src/bin/dhcp6/tests/config_parser_unittest.cc src/bin/dhcp6/tests/d2_unittest.cc src/bin/dhcp6/tests/fqdn_unittest.cc src/bin/dhcp6/tests/get_config_unittest.cc src/lib/d2srv/testutils/nc_test_utils.cc src/lib/d2srv/testutils/nc_test_utils.h src/lib/dhcp_ddns/ncr_msg.cc src/lib/dhcp_ddns/ncr_msg.h src/lib/dhcp_ddns/tests/ncr_udp_unittests.cc src/lib/dhcp_ddns/tests/ncr_unittests.cc src/lib/dhcpsrv/cfg_globals.cc src/lib/dhcpsrv/cfg_globals.h src/lib/dhcpsrv/ncr_generator.cc src/lib/dhcpsrv/network.cc src/lib/dhcpsrv/network.h src/lib/dhcpsrv/parsers/base_network_parser.cc src/lib/dhcpsrv/parsers/base_network_parser.h src/lib/dhcpsrv/parsers/simple_parser4.cc src/lib/dhcpsrv/parsers/simple_parser6.cc src/lib/dhcpsrv/srv_config.cc src/lib/dhcpsrv/srv_config.h src/lib/dhcpsrv/tests/d2_udp_unittest.cc src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc src/lib/dhcpsrv/tests/ncr_generator_unittest.cc src/lib/dhcpsrv/tests/network_unittest.cc src/lib/dhcpsrv/tests/srv_config_unittest.cc
* [#2866] Updated server testsFrancis Dupont2023-06-262-4/+0
|
* [#2866] Checkpoint: updated examples and armFrancis Dupont2023-06-2643-10/+82
|
* [#2898] addressed commentsRazvan Becheriu2023-06-224-4/+4
|
* [#2898] reverted mt19937_64 to mt19937Razvan Becheriu2023-06-224-4/+4
|
* [#2898] fixed merge of stats for same pool IDsRazvan Becheriu2023-06-224-0/+20
|
* [#2898] add pool-id to yang modelsRazvan Becheriu2023-06-224-4/+16
|
* [#2832] add missing YANG nodesAndrei Pavel2023-05-164-124/+195
| | | | | | | | | | | | | | - 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.
* [#2827] reverted src/share/api and updated scriptRazvan Becheriu2023-05-111-1/+0
|
* [#2827] fixed all json examples in armRazvan Becheriu2023-05-1120-84/+80
|
* [#2536] Moving detailed examples to separate filesPiotrek Zadroga2023-05-104-13/+164
|
* [#2536] addressed review commentsPiotrek Zadroga2023-05-042-2/+154
|
* [#2749] document default HA+MTAndrei Pavel2023-04-198-24/+16
|
* [#2804] make text edits consistent across the ARMAndrei Pavel2023-04-1954-743/+735
|
* [#2804] Text edits in commentsSuzanne Goldlust2023-04-192-464/+464
|
* [#2804] Text editsSuzanne Goldlust2023-04-191-28/+28
|
* [#2804] Text editsSuzanne Goldlust2023-04-191-23/+23
|
* [#225] Fixed typo in v4 with-ddns.jsonThomas Markwalder2023-03-241-1/+1
|
* [#225] updated with-ddns.json examplesThomas Markwalder2023-03-242-0/+2
|
* [#225] Updated armThomas Markwalder2023-03-241-2/+2
| | | | | | | | doc/sphinx/arm/dhcp4-srv.rst doc/sphinx/arm/dhcp4-srv.rst updated DDNS parameter doc Added a ChangeLog entry
* [#225] Added ddsn-ttl-percent parameterThomas Markwalder2023-03-242-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | kea-dhcp4/6 both now support ddns-ttl-percent at the global, shared-network, and subnet scopes. If specified it is the percentage of the lease lifetime to send to D2. Not yet supported by CB. modified: doc/examples/kea4/all-keys.json doc/examples/kea6/all-keys.json src/bin/dhcp4/dhcp4_lexer.cc src/bin/dhcp4/dhcp4_lexer.ll src/bin/dhcp4/dhcp4_parser.cc src/bin/dhcp4/dhcp4_parser.h src/bin/dhcp4/dhcp4_parser.yy src/bin/dhcp4/json_config_parser.cc src/bin/dhcp4/location.hh src/bin/dhcp6/dhcp6_lexer.cc src/bin/dhcp6/dhcp6_lexer.ll src/bin/dhcp6/dhcp6_parser.cc src/bin/dhcp6/dhcp6_parser.h src/bin/dhcp6/dhcp6_parser.yy src/bin/dhcp6/dhcp6_srv.cc src/bin/dhcp6/json_config_parser.cc src/bin/dhcp6/location.hh src/bin/dhcp6/tests/fqdn_unittest.cc src/lib/dhcpsrv/cfg_globals.cc src/lib/dhcpsrv/cfg_globals.h src/lib/dhcpsrv/dhcpsrv_messages.cc src/lib/dhcpsrv/dhcpsrv_messages.h src/lib/dhcpsrv/dhcpsrv_messages.mes src/lib/dhcpsrv/ncr_generator.cc src/lib/dhcpsrv/ncr_generator.h src/lib/dhcpsrv/network.cc src/lib/dhcpsrv/network.h src/lib/dhcpsrv/parsers/base_network_parser.cc src/lib/dhcpsrv/parsers/base_network_parser.h src/lib/dhcpsrv/parsers/simple_parser4.cc src/lib/dhcpsrv/parsers/simple_parser6.cc src/lib/dhcpsrv/srv_config.cc src/lib/dhcpsrv/srv_config.h src/lib/dhcpsrv/tests/ncr_generator_unittest.cc src/lib/dhcpsrv/tests/network_unittest.cc src/lib/dhcpsrv/tests/srv_config_unittest.cc
* [#2785] Almost doneFrancis Dupont2023-03-241-0/+7
|
* [#2719] Addressed remaining commentsThomas Markwalder2023-03-231-1/+5
| | | | | | modified: doc/examples/kea4/all-keys.json src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc
* [#2719] Renamed parameter and added it to classesThomas Markwalder2023-03-231-3/+3
| | | | | Renamed offer-lft to offer-lifetime to match other lifetime parameters.
* [#2719] Adds offer_lft to globali and network scopesThomas Markwalder2023-03-231-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | offer-lft added to global, shared-network4, and subnet4 Can be set/fetched/parsed but does nothing yet. src/lib/dhcpsrv/parsers/simple_parser4.cc src/lib/dhcpsrv/cfg_globals.* Add offer-lft to global, shared-network4, and subnet4 values src/lib/dhcpsrv/network.* Add offer_lft_ to Network4 src/lib/dhcpsrv/parsers/base_network_parser.* BaseNetworkParser::parseOfferLft() - new function src/lib/dhcpsrv/parsers/dhcp_parsers.cc Subnet4ConfigParser::initSubnet() src/lib/dhcpsrv/parsers/shared_network_parser.cc SharedNetwork4Parser::parse() - add call to parseOfferLft() src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc TEST_F(AllocEngine4Test, discoverOfferLft) - new test, currently fails because impl is missing. src/lib/dhcpsrv/tests/cfg_shared_networks4_unittest.cc src/lib/dhcpsrv/tests/cfg_subnets4_unittest.cc src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc src/lib/dhcpsrv/tests/network_unittest.cc src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc Updated tests to account for offer-lft src/bin/dhcp4/dhcp4_lexer.ll src/bin/dhcp4/dhcp4_parser.yy src/bin/dhcp4/json_config_parser.cc Added offer-lft src/bin/dhcp4/tests/get_config_unittest.cc Regenerated tests.
* [#719] Updated doc & coFrancis Dupont2023-03-154-12/+12
|
* [#719] Reapplied patchFrancis Dupont2023-03-154-0/+44
|
* [#720] Moved to compatibility flagFrancis Dupont2023-03-131-1/+7
|
* [#2688] Add timeout units to example filesMarcin Siodelski2023-01-172-6/+8
|
* [#2688] Updated DHCP server parsersMarcin Siodelski2023-01-172-4/+22
|
* [#969] DHCPv6 allocators configurableMarcin Siodelski2023-01-071-0/+24
|
* [#969] Configure allocator for DHCPv4Marcin Siodelski2023-01-071-0/+12
|