Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Kea
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastian Schrader
Kea
Commits
90825001
Commit
90825001
authored
Dec 14, 2016
by
Andrei Pavel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected typos
parent
039622a4
Changes
302
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
302 changed files
with
765 additions
and
761 deletions
+765
-761
doc/devel/contribute.dox
doc/devel/contribute.dox
+1
-1
doc/examples/kea4/backends.json
doc/examples/kea4/backends.json
+3
-3
doc/examples/kea6/backends.json
doc/examples/kea6/backends.json
+3
-3
doc/guide/admin.xml
doc/guide/admin.xml
+4
-4
doc/guide/classify.xml
doc/guide/classify.xml
+1
-1
doc/guide/ctrl-channel.xml
doc/guide/ctrl-channel.xml
+1
-1
doc/guide/ddns.xml
doc/guide/ddns.xml
+1
-1
doc/guide/dhcp4-srv.xml
doc/guide/dhcp4-srv.xml
+1
-1
doc/guide/dhcp6-srv.xml
doc/guide/dhcp6-srv.xml
+2
-2
doc/guide/hooks.xml
doc/guide/hooks.xml
+3
-3
doc/guide/logging.xml
doc/guide/logging.xml
+2
-2
ext/coroutine/coroutine.h
ext/coroutine/coroutine.h
+5
-5
src/bin/admin/tests/cql_tests.sh.in
src/bin/admin/tests/cql_tests.sh.in
+1
-1
src/bin/admin/tests/mysql_tests.sh.in
src/bin/admin/tests/mysql_tests.sh.in
+4
-4
src/bin/admin/tests/pgsql_tests.sh.in
src/bin/admin/tests/pgsql_tests.sh.in
+3
-3
src/bin/d2/d2_cfg_mgr.cc
src/bin/d2/d2_cfg_mgr.cc
+1
-1
src/bin/d2/d2_config.cc
src/bin/d2/d2_config.cc
+1
-1
src/bin/d2/d2_config.h
src/bin/d2/d2_config.h
+3
-3
src/bin/d2/d2_process.cc
src/bin/d2/d2_process.cc
+1
-1
src/bin/d2/d2_process.h
src/bin/d2/d2_process.h
+2
-2
src/bin/d2/d2_queue_mgr.cc
src/bin/d2/d2_queue_mgr.cc
+1
-1
src/bin/d2/d2_update_message.cc
src/bin/d2/d2_update_message.cc
+1
-1
src/bin/d2/d2_update_message.h
src/bin/d2/d2_update_message.h
+1
-1
src/bin/d2/dns_client.cc
src/bin/d2/dns_client.cc
+1
-1
src/bin/d2/dns_client.h
src/bin/d2/dns_client.h
+1
-1
src/bin/d2/nc_remove.h
src/bin/d2/nc_remove.h
+3
-3
src/bin/d2/nc_trans.h
src/bin/d2/nc_trans.h
+2
-2
src/bin/d2/tests/d2_cfg_mgr_unittests.cc
src/bin/d2/tests/d2_cfg_mgr_unittests.cc
+4
-4
src/bin/d2/tests/d2_controller_unittests.cc
src/bin/d2/tests/d2_controller_unittests.cc
+3
-3
src/bin/d2/tests/d2_queue_mgr_unittests.cc
src/bin/d2/tests/d2_queue_mgr_unittests.cc
+2
-2
src/bin/d2/tests/d2_update_message_unittests.cc
src/bin/d2/tests/d2_update_message_unittests.cc
+7
-7
src/bin/d2/tests/dns_client_unittests.cc
src/bin/d2/tests/dns_client_unittests.cc
+2
-2
src/bin/d2/tests/nc_add_unittests.cc
src/bin/d2/tests/nc_add_unittests.cc
+2
-2
src/bin/d2/tests/nc_remove_unittests.cc
src/bin/d2/tests/nc_remove_unittests.cc
+3
-3
src/bin/d2/tests/nc_test_utils.cc
src/bin/d2/tests/nc_test_utils.cc
+1
-1
src/bin/d2/tests/nc_test_utils.h
src/bin/d2/tests/nc_test_utils.h
+1
-1
src/bin/d2/tests/nc_trans_unittests.cc
src/bin/d2/tests/nc_trans_unittests.cc
+6
-6
src/bin/dhcp4/ctrl_dhcp4_srv.h
src/bin/dhcp4/ctrl_dhcp4_srv.h
+1
-1
src/bin/dhcp4/dhcp4_srv.cc
src/bin/dhcp4/dhcp4_srv.cc
+5
-5
src/bin/dhcp4/json_config_parser.cc
src/bin/dhcp4/json_config_parser.cc
+1
-1
src/bin/dhcp4/tests/classify_unittest.cc
src/bin/dhcp4/tests/classify_unittest.cc
+1
-1
src/bin/dhcp4/tests/config_parser_unittest.cc
src/bin/dhcp4/tests/config_parser_unittest.cc
+4
-4
src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc
src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc
+1
-1
src/bin/dhcp4/tests/decline_unittest.cc
src/bin/dhcp4/tests/decline_unittest.cc
+2
-2
src/bin/dhcp4/tests/dhcp4_client.cc
src/bin/dhcp4/tests/dhcp4_client.cc
+1
-1
src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
+3
-3
src/bin/dhcp4/tests/dhcp4_test_utils.cc
src/bin/dhcp4/tests/dhcp4_test_utils.cc
+1
-1
src/bin/dhcp4/tests/dhcp4_test_utils.h
src/bin/dhcp4/tests/dhcp4_test_utils.h
+1
-1
src/bin/dhcp4/tests/dora_unittest.cc
src/bin/dhcp4/tests/dora_unittest.cc
+5
-5
src/bin/dhcp4/tests/fqdn_unittest.cc
src/bin/dhcp4/tests/fqdn_unittest.cc
+3
-3
src/bin/dhcp4/tests/host_options_unittest.cc
src/bin/dhcp4/tests/host_options_unittest.cc
+6
-6
src/bin/dhcp4/tests/inform_unittest.cc
src/bin/dhcp4/tests/inform_unittest.cc
+1
-1
src/bin/dhcp4/tests/kea_controller_unittest.cc
src/bin/dhcp4/tests/kea_controller_unittest.cc
+3
-3
src/bin/dhcp4/tests/marker_file.h.in
src/bin/dhcp4/tests/marker_file.h.in
+1
-1
src/bin/dhcp4/tests/out_of_range_unittest.cc
src/bin/dhcp4/tests/out_of_range_unittest.cc
+12
-12
src/bin/dhcp4/tests/release_unittest.cc
src/bin/dhcp4/tests/release_unittest.cc
+1
-1
src/bin/dhcp6/ctrl_dhcp6_srv.h
src/bin/dhcp6/ctrl_dhcp6_srv.h
+1
-1
src/bin/dhcp6/dhcp6_srv.cc
src/bin/dhcp6/dhcp6_srv.cc
+4
-4
src/bin/dhcp6/dhcp6_srv.h
src/bin/dhcp6/dhcp6_srv.h
+3
-3
src/bin/dhcp6/json_config_parser.cc
src/bin/dhcp6/json_config_parser.cc
+1
-1
src/bin/dhcp6/main.cc
src/bin/dhcp6/main.cc
+3
-2
src/bin/dhcp6/tests/config_parser_unittest.cc
src/bin/dhcp6/tests/config_parser_unittest.cc
+4
-4
src/bin/dhcp6/tests/confirm_unittest.cc
src/bin/dhcp6/tests/confirm_unittest.cc
+1
-1
src/bin/dhcp6/tests/decline_unittest.cc
src/bin/dhcp6/tests/decline_unittest.cc
+1
-1
src/bin/dhcp6/tests/dhcp6_test_utils.cc
src/bin/dhcp6/tests/dhcp6_test_utils.cc
+1
-1
src/bin/dhcp6/tests/dhcp6_test_utils.h
src/bin/dhcp6/tests/dhcp6_test_utils.h
+1
-1
src/bin/dhcp6/tests/fqdn_unittest.cc
src/bin/dhcp6/tests/fqdn_unittest.cc
+5
-5
src/bin/dhcp6/tests/host_unittest.cc
src/bin/dhcp6/tests/host_unittest.cc
+5
-5
src/bin/dhcp6/tests/infrequest_unittest.cc
src/bin/dhcp6/tests/infrequest_unittest.cc
+1
-1
src/bin/dhcp6/tests/kea_controller_unittest.cc
src/bin/dhcp6/tests/kea_controller_unittest.cc
+4
-4
src/bin/dhcp6/tests/marker_file.h.in
src/bin/dhcp6/tests/marker_file.h.in
+1
-1
src/bin/dhcp6/tests/sarr_unittest.cc
src/bin/dhcp6/tests/sarr_unittest.cc
+1
-1
src/bin/keactrl/keactrl.in
src/bin/keactrl/keactrl.in
+1
-1
src/bin/lfc/lfc_controller.cc
src/bin/lfc/lfc_controller.cc
+1
-1
src/bin/lfc/lfc_controller.h
src/bin/lfc/lfc_controller.h
+1
-1
src/bin/lfc/tests/lfc_controller_unittests.cc
src/bin/lfc/tests/lfc_controller_unittests.cc
+2
-2
src/bin/perfdhcp/command_options.cc
src/bin/perfdhcp/command_options.cc
+3
-3
src/bin/perfdhcp/perf_pkt6.h
src/bin/perfdhcp/perf_pkt6.h
+1
-1
src/bin/perfdhcp/test_control.h
src/bin/perfdhcp/test_control.h
+2
-2
src/bin/perfdhcp/tests/command_options_helper.h
src/bin/perfdhcp/tests/command_options_helper.h
+2
-2
src/bin/perfdhcp/tests/perf_pkt4_unittest.cc
src/bin/perfdhcp/tests/perf_pkt4_unittest.cc
+2
-2
src/bin/perfdhcp/tests/perf_pkt6_unittest.cc
src/bin/perfdhcp/tests/perf_pkt6_unittest.cc
+1
-1
src/bin/perfdhcp/tests/rate_control_unittest.cc
src/bin/perfdhcp/tests/rate_control_unittest.cc
+3
-3
src/bin/perfdhcp/tests/test_control_unittest.cc
src/bin/perfdhcp/tests/test_control_unittest.cc
+1
-1
src/bin/sockcreator/tests/sockcreator_tests.cc
src/bin/sockcreator/tests/sockcreator_tests.cc
+3
-3
src/hooks/dhcp/user_chk/pkt_send_co.cc
src/hooks/dhcp/user_chk/pkt_send_co.cc
+1
-1
src/hooks/dhcp/user_chk/tests/user_file_unittests.cc
src/hooks/dhcp/user_chk/tests/user_file_unittests.cc
+4
-4
src/hooks/dhcp/user_chk/tests/user_registry_unittests.cc
src/hooks/dhcp/user_chk/tests/user_registry_unittests.cc
+1
-1
src/hooks/dhcp/user_chk/tests/userid_unittests.cc
src/hooks/dhcp/user_chk/tests/userid_unittests.cc
+6
-6
src/hooks/dhcp/user_chk/user.cc
src/hooks/dhcp/user_chk/user.cc
+1
-1
src/hooks/dhcp/user_chk/user_file.h
src/hooks/dhcp/user_chk/user_file.h
+1
-1
src/hooks/dhcp/user_chk/user_registry.cc
src/hooks/dhcp/user_chk/user_registry.cc
+1
-1
src/lib/asiodns/README
src/lib/asiodns/README
+3
-3
src/lib/asiolink/asio_wrapper.h
src/lib/asiolink/asio_wrapper.h
+2
-2
src/lib/asiolink/io_address.h
src/lib/asiolink/io_address.h
+3
-3
src/lib/asiolink/tests/tcp_socket_unittest.cc
src/lib/asiolink/tests/tcp_socket_unittest.cc
+3
-3
src/lib/cc/command_interpreter.h
src/lib/cc/command_interpreter.h
+1
-1
src/lib/cc/data.cc
src/lib/cc/data.cc
+1
-1
src/lib/cc/data.h
src/lib/cc/data.h
+3
-3
src/lib/cc/tests/data_file_unittests.cc
src/lib/cc/tests/data_file_unittests.cc
+1
-1
src/lib/config/command_mgr.h
src/lib/config/command_mgr.h
+2
-2
src/lib/dhcp/docsis3_option_defs.h
src/lib/dhcp/docsis3_option_defs.h
+1
-1
src/lib/dhcp/iface_mgr.cc
src/lib/dhcp/iface_mgr.cc
+4
-4
src/lib/dhcp/iface_mgr.h
src/lib/dhcp/iface_mgr.h
+8
-8
src/lib/dhcp/iface_mgr_error_handler.h
src/lib/dhcp/iface_mgr_error_handler.h
+1
-1
src/lib/dhcp/libdhcp++.h
src/lib/dhcp/libdhcp++.h
+2
-2
src/lib/dhcp/opaque_data_tuple.h
src/lib/dhcp/opaque_data_tuple.h
+2
-2
src/lib/dhcp/option4_client_fqdn.cc
src/lib/dhcp/option4_client_fqdn.cc
+8
-8
src/lib/dhcp/option6_client_fqdn.cc
src/lib/dhcp/option6_client_fqdn.cc
+4
-4
src/lib/dhcp/option6_iaprefix.h
src/lib/dhcp/option6_iaprefix.h
+1
-1
src/lib/dhcp/option_custom.cc
src/lib/dhcp/option_custom.cc
+2
-2
src/lib/dhcp/option_data_types.h
src/lib/dhcp/option_data_types.h
+1
-1
src/lib/dhcp/option_definition.cc
src/lib/dhcp/option_definition.cc
+1
-1
src/lib/dhcp/option_definition.h
src/lib/dhcp/option_definition.h
+1
-1
src/lib/dhcp/option_space_container.h
src/lib/dhcp/option_space_container.h
+1
-1
src/lib/dhcp/option_string.h
src/lib/dhcp/option_string.h
+1
-1
src/lib/dhcp/option_vendor_class.cc
src/lib/dhcp/option_vendor_class.cc
+1
-1
src/lib/dhcp/option_vendor_class.h
src/lib/dhcp/option_vendor_class.h
+1
-1
src/lib/dhcp/pkt6.cc
src/lib/dhcp/pkt6.cc
+1
-1
src/lib/dhcp/pkt_filter_bpf.cc
src/lib/dhcp/pkt_filter_bpf.cc
+7
-7
src/lib/dhcp/pkt_filter_bpf.h
src/lib/dhcp/pkt_filter_bpf.h
+2
-2
src/lib/dhcp/pkt_filter_inet.h
src/lib/dhcp/pkt_filter_inet.h
+4
-4
src/lib/dhcp/pkt_filter_inet6.h
src/lib/dhcp/pkt_filter_inet6.h
+3
-3
src/lib/dhcp/pkt_filter_lpf.cc
src/lib/dhcp/pkt_filter_lpf.cc
+4
-4
src/lib/dhcp/pkt_filter_lpf.h
src/lib/dhcp/pkt_filter_lpf.h
+1
-1
src/lib/dhcp/protocol_util.h
src/lib/dhcp/protocol_util.h
+1
-1
src/lib/dhcp/std_option_defs.h
src/lib/dhcp/std_option_defs.h
+3
-3
src/lib/dhcp/tests/duid_factory_unittest.cc
src/lib/dhcp/tests/duid_factory_unittest.cc
+1
-1
src/lib/dhcp/tests/iface_mgr_test_config.h
src/lib/dhcp/tests/iface_mgr_test_config.h
+1
-1
src/lib/dhcp/tests/iface_mgr_unittest.cc
src/lib/dhcp/tests/iface_mgr_unittest.cc
+14
-14
src/lib/dhcp/tests/libdhcp++_unittest.cc
src/lib/dhcp/tests/libdhcp++_unittest.cc
+3
-3
src/lib/dhcp/tests/opaque_data_tuple_unittest.cc
src/lib/dhcp/tests/opaque_data_tuple_unittest.cc
+1
-1
src/lib/dhcp/tests/option6_ia_unittest.cc
src/lib/dhcp/tests/option6_ia_unittest.cc
+1
-1
src/lib/dhcp/tests/option_definition_unittest.cc
src/lib/dhcp/tests/option_definition_unittest.cc
+2
-2
src/lib/dhcp/tests/option_int_unittest.cc
src/lib/dhcp/tests/option_int_unittest.cc
+1
-1
src/lib/dhcp/tests/option_space_unittest.cc
src/lib/dhcp/tests/option_space_unittest.cc
+1
-1
src/lib/dhcp/tests/option_unittest.cc
src/lib/dhcp/tests/option_unittest.cc
+1
-1
src/lib/dhcp/tests/pkt4_unittest.cc
src/lib/dhcp/tests/pkt4_unittest.cc
+5
-5
src/lib/dhcp/tests/pkt6_unittest.cc
src/lib/dhcp/tests/pkt6_unittest.cc
+3
-3
src/lib/dhcp/tests/pkt_captures4.cc
src/lib/dhcp/tests/pkt_captures4.cc
+1
-1
src/lib/dhcp/tests/pkt_captures6.cc
src/lib/dhcp/tests/pkt_captures6.cc
+2
-2
src/lib/dhcp/tests/pkt_filter_test_stub.h
src/lib/dhcp/tests/pkt_filter_test_stub.h
+2
-2
src/lib/dhcp/tests/pkt_filter_test_utils.h
src/lib/dhcp/tests/pkt_filter_test_utils.h
+1
-1
src/lib/dhcp/tests/pkt_filter_unittest.cc
src/lib/dhcp/tests/pkt_filter_unittest.cc
+1
-1
src/lib/dhcp_ddns/ncr_io.cc
src/lib/dhcp_ddns/ncr_io.cc
+3
-3
src/lib/dhcp_ddns/ncr_io.h
src/lib/dhcp_ddns/ncr_io.h
+2
-2
src/lib/dhcp_ddns/ncr_msg.h
src/lib/dhcp_ddns/ncr_msg.h
+3
-3
src/lib/dhcp_ddns/ncr_udp.cc
src/lib/dhcp_ddns/ncr_udp.cc
+1
-1
src/lib/dhcp_ddns/tests/ncr_udp_unittests.cc
src/lib/dhcp_ddns/tests/ncr_udp_unittests.cc
+3
-3
src/lib/dhcpsrv/alloc_engine.cc
src/lib/dhcpsrv/alloc_engine.cc
+4
-4
src/lib/dhcpsrv/alloc_engine.h
src/lib/dhcpsrv/alloc_engine.h
+18
-16
src/lib/dhcpsrv/base_host_data_source.h
src/lib/dhcpsrv/base_host_data_source.h
+6
-6
src/lib/dhcpsrv/cfg_expiration.cc
src/lib/dhcpsrv/cfg_expiration.cc
+1
-1
src/lib/dhcpsrv/cfg_expiration.h
src/lib/dhcpsrv/cfg_expiration.h
+1
-1
src/lib/dhcpsrv/cfg_hosts.h
src/lib/dhcpsrv/cfg_hosts.h
+8
-8
src/lib/dhcpsrv/cfg_iface.h
src/lib/dhcpsrv/cfg_iface.h
+4
-4
src/lib/dhcpsrv/cfg_mac_source.h
src/lib/dhcpsrv/cfg_mac_source.h
+1
-1
src/lib/dhcpsrv/cfg_option_def.cc
src/lib/dhcpsrv/cfg_option_def.cc
+1
-1
src/lib/dhcpsrv/cfg_option_def.h
src/lib/dhcpsrv/cfg_option_def.h
+1
-1
src/lib/dhcpsrv/cfg_subnets4.cc
src/lib/dhcpsrv/cfg_subnets4.cc
+1
-1
src/lib/dhcpsrv/cfg_subnets4.h
src/lib/dhcpsrv/cfg_subnets4.h
+1
-1
src/lib/dhcpsrv/cfg_subnets6.h
src/lib/dhcpsrv/cfg_subnets6.h
+1
-1
src/lib/dhcpsrv/cfgmgr.h
src/lib/dhcpsrv/cfgmgr.h
+1
-1
src/lib/dhcpsrv/cql_lease_mgr.h
src/lib/dhcpsrv/cql_lease_mgr.h
+2
-2
src/lib/dhcpsrv/d2_client_cfg.h
src/lib/dhcpsrv/d2_client_cfg.h
+4
-4
src/lib/dhcpsrv/d2_client_mgr.h
src/lib/dhcpsrv/d2_client_mgr.h
+4
-4
src/lib/dhcpsrv/daemon.h
src/lib/dhcpsrv/daemon.h
+2
-2
src/lib/dhcpsrv/host.h
src/lib/dhcpsrv/host.h
+2
-2
src/lib/dhcpsrv/host_container.h
src/lib/dhcpsrv/host_container.h
+1
-1
src/lib/dhcpsrv/host_mgr.h
src/lib/dhcpsrv/host_mgr.h
+4
-4
src/lib/dhcpsrv/lease.h
src/lib/dhcpsrv/lease.h
+4
-4
src/lib/dhcpsrv/lease_file_loader.h
src/lib/dhcpsrv/lease_file_loader.h
+2
-2
src/lib/dhcpsrv/lease_file_stats.h
src/lib/dhcpsrv/lease_file_stats.h
+2
-2
src/lib/dhcpsrv/logging_info.cc
src/lib/dhcpsrv/logging_info.cc
+1
-1
src/lib/dhcpsrv/memfile_lease_mgr.cc
src/lib/dhcpsrv/memfile_lease_mgr.cc
+6
-6
src/lib/dhcpsrv/memfile_lease_mgr.h
src/lib/dhcpsrv/memfile_lease_mgr.h
+1
-1
src/lib/dhcpsrv/memfile_lease_storage.h
src/lib/dhcpsrv/memfile_lease_storage.h
+1
-1
src/lib/dhcpsrv/mysql_connection.cc
src/lib/dhcpsrv/mysql_connection.cc
+1
-1
src/lib/dhcpsrv/mysql_host_data_source.cc
src/lib/dhcpsrv/mysql_host_data_source.cc
+3
-3
src/lib/dhcpsrv/mysql_host_data_source.h
src/lib/dhcpsrv/mysql_host_data_source.h
+5
-5
src/lib/dhcpsrv/mysql_lease_mgr.cc
src/lib/dhcpsrv/mysql_lease_mgr.cc
+8
-8
src/lib/dhcpsrv/mysql_lease_mgr.h
src/lib/dhcpsrv/mysql_lease_mgr.h
+5
-5
src/lib/dhcpsrv/parsers/client_class_def_parser.h
src/lib/dhcpsrv/parsers/client_class_def_parser.h
+4
-4
src/lib/dhcpsrv/parsers/dbaccess_parser.cc
src/lib/dhcpsrv/parsers/dbaccess_parser.cc
+2
-2
src/lib/dhcpsrv/parsers/dhcp_parsers.cc
src/lib/dhcpsrv/parsers/dhcp_parsers.cc
+4
-4
src/lib/dhcpsrv/parsers/dhcp_parsers.h
src/lib/dhcpsrv/parsers/dhcp_parsers.h
+14
-14
src/lib/dhcpsrv/parsers/host_reservation_parser.cc
src/lib/dhcpsrv/parsers/host_reservation_parser.cc
+1
-1
src/lib/dhcpsrv/parsers/host_reservation_parser.h
src/lib/dhcpsrv/parsers/host_reservation_parser.h
+1
-1
src/lib/dhcpsrv/pgsql_connection.cc
src/lib/dhcpsrv/pgsql_connection.cc
+6
-6
src/lib/dhcpsrv/pgsql_connection.h
src/lib/dhcpsrv/pgsql_connection.h
+1
-1
src/lib/dhcpsrv/pgsql_exchange.cc
src/lib/dhcpsrv/pgsql_exchange.cc
+6
-6
src/lib/dhcpsrv/pgsql_host_data_source.cc
src/lib/dhcpsrv/pgsql_host_data_source.cc
+8
-8
src/lib/dhcpsrv/pgsql_host_data_source.h
src/lib/dhcpsrv/pgsql_host_data_source.h
+7
-7
src/lib/dhcpsrv/pgsql_lease_mgr.cc
src/lib/dhcpsrv/pgsql_lease_mgr.cc
+8
-6
src/lib/dhcpsrv/pgsql_lease_mgr.h
src/lib/dhcpsrv/pgsql_lease_mgr.h
+2
-2
src/lib/dhcpsrv/pool.cc
src/lib/dhcpsrv/pool.cc
+1
-1
src/lib/dhcpsrv/srv_config.h
src/lib/dhcpsrv/srv_config.h
+4
-4
src/lib/dhcpsrv/subnet.h
src/lib/dhcpsrv/subnet.h
+5
-5
src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc
src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc
+3
-4
src/lib/dhcpsrv/tests/alloc_engine6_unittest.cc
src/lib/dhcpsrv/tests/alloc_engine6_unittest.cc
+2
-2
src/lib/dhcpsrv/tests/alloc_engine_expiration_unittest.cc
src/lib/dhcpsrv/tests/alloc_engine_expiration_unittest.cc
+13
-13
src/lib/dhcpsrv/tests/alloc_engine_hooks_unittest.cc
src/lib/dhcpsrv/tests/alloc_engine_hooks_unittest.cc
+4
-4
src/lib/dhcpsrv/tests/alloc_engine_utils.h
src/lib/dhcpsrv/tests/alloc_engine_utils.h
+1
-1
src/lib/dhcpsrv/tests/callout_handle_store_unittest.cc
src/lib/dhcpsrv/tests/callout_handle_store_unittest.cc
+1
-1
src/lib/dhcpsrv/tests/cfg_expiration_unittest.cc
src/lib/dhcpsrv/tests/cfg_expiration_unittest.cc
+4
-4
src/lib/dhcpsrv/tests/cfg_host_operations_unittest.cc
src/lib/dhcpsrv/tests/cfg_host_operations_unittest.cc
+2
-2
src/lib/dhcpsrv/tests/cfg_iface_unittest.cc
src/lib/dhcpsrv/tests/cfg_iface_unittest.cc
+1
-1
src/lib/dhcpsrv/tests/cfg_option_unittest.cc
src/lib/dhcpsrv/tests/cfg_option_unittest.cc
+1
-1
src/lib/dhcpsrv/tests/cfg_rsoo_unittest.cc
src/lib/dhcpsrv/tests/cfg_rsoo_unittest.cc
+1
-1
src/lib/dhcpsrv/tests/cfg_subnets6_unittest.cc
src/lib/dhcpsrv/tests/cfg_subnets6_unittest.cc
+1
-1
src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc
src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc
+6
-6
src/lib/dhcpsrv/tests/client_class_def_unittest.cc
src/lib/dhcpsrv/tests/client_class_def_unittest.cc
+3
-3
src/lib/dhcpsrv/tests/d2_client_unittest.cc
src/lib/dhcpsrv/tests/d2_client_unittest.cc
+8
-8
src/lib/dhcpsrv/tests/d2_udp_unittest.cc
src/lib/dhcpsrv/tests/d2_udp_unittest.cc
+5
-5
src/lib/dhcpsrv/tests/daemon_unittest.cc
src/lib/dhcpsrv/tests/daemon_unittest.cc
+1
-1
src/lib/dhcpsrv/tests/dhcp4o6_ipc_unittest.cc
src/lib/dhcpsrv/tests/dhcp4o6_ipc_unittest.cc
+5
-5
src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
+4
-4
src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc
src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc
+3
-3
src/lib/dhcpsrv/tests/generic_host_data_source_unittest.h
src/lib/dhcpsrv/tests/generic_host_data_source_unittest.h
+2
-2
src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.cc
src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.cc
+3
-3
src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.h
src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.h
+2
-2
src/lib/dhcpsrv/tests/host_mgr_unittest.cc
src/lib/dhcpsrv/tests/host_mgr_unittest.cc
+2
-2
src/lib/dhcpsrv/tests/host_reservation_parser_unittest.cc
src/lib/dhcpsrv/tests/host_reservation_parser_unittest.cc
+6
-6
src/lib/dhcpsrv/tests/host_unittest.cc
src/lib/dhcpsrv/tests/host_unittest.cc
+2
-2
src/lib/dhcpsrv/tests/lease_file_loader_unittest.cc
src/lib/dhcpsrv/tests/lease_file_loader_unittest.cc
+1
-1
src/lib/dhcpsrv/tests/lease_unittest.cc
src/lib/dhcpsrv/tests/lease_unittest.cc
+2
-2
src/lib/dhcpsrv/tests/logging_info_unittest.cc
src/lib/dhcpsrv/tests/logging_info_unittest.cc
+1
-1
src/lib/dhcpsrv/tests/logging_unittest.cc
src/lib/dhcpsrv/tests/logging_unittest.cc
+2
-2
src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
+2
-2
src/lib/dhcpsrv/tests/ncr_generator_unittest.cc
src/lib/dhcpsrv/tests/ncr_generator_unittest.cc
+2
-2
src/lib/dhcpsrv/tests/pgsql_exchange_unittest.cc
src/lib/dhcpsrv/tests/pgsql_exchange_unittest.cc
+4
-4
src/lib/dhcpsrv/tests/subnet_unittest.cc
src/lib/dhcpsrv/tests/subnet_unittest.cc
+7
-7
src/lib/dhcpsrv/tests/timer_mgr_unittest.cc
src/lib/dhcpsrv/tests/timer_mgr_unittest.cc
+2
-2
src/lib/dhcpsrv/testutils/config_result_check.cc
src/lib/dhcpsrv/testutils/config_result_check.cc
+1
-1
src/lib/dhcpsrv/testutils/config_result_check.h
src/lib/dhcpsrv/testutils/config_result_check.h
+1
-1
src/lib/dhcpsrv/timer_mgr.cc
src/lib/dhcpsrv/timer_mgr.cc
+1
-1
src/lib/dhcpsrv/writable_host_data_source.h
src/lib/dhcpsrv/writable_host_data_source.h
+5
-5
src/lib/dns/labelsequence.cc
src/lib/dns/labelsequence.cc
+1
-1
src/lib/dns/messagerenderer.h
src/lib/dns/messagerenderer.h
+3
-3
src/lib/dns/rdatafields.cc
src/lib/dns/rdatafields.cc
+1
-1
src/lib/dns/rrcollator.h
src/lib/dns/rrcollator.h
+2
-2
src/lib/dns/rrset_collection_base.h
src/lib/dns/rrset_collection_base.h
+1
-1
src/lib/dns/serial.h
src/lib/dns/serial.h
+1
-1
src/lib/dns/tests/master_loader_unittest.cc
src/lib/dns/tests/master_loader_unittest.cc
+2
-2
src/lib/dns/tests/name_unittest.cc
src/lib/dns/tests/name_unittest.cc
+1
-1
src/lib/dns/tests/rdata_nsec3_unittest.cc
src/lib/dns/tests/rdata_nsec3_unittest.cc
+1
-1
src/lib/dns/tests/rdata_nsec3param_like_unittest.cc
src/lib/dns/tests/rdata_nsec3param_like_unittest.cc
+1
-1
src/lib/dns/tests/rdata_nsec_unittest.cc
src/lib/dns/tests/rdata_nsec_unittest.cc
+1
-1
src/lib/dns/tests/rdata_pimpl_holder_unittest.cc
src/lib/dns/tests/rdata_pimpl_holder_unittest.cc
+1
-1
src/lib/dns/tests/rdata_soa_unittest.cc
src/lib/dns/tests/rdata_soa_unittest.cc
+1
-1
src/lib/dns/tests/rdata_srv_unittest.cc
src/lib/dns/tests/rdata_srv_unittest.cc
+1
-1
src/lib/dns/tests/rdata_tsig_unittest.cc
src/lib/dns/tests/rdata_tsig_unittest.cc
+3
-3
src/lib/dns/tests/testdata/rdata_nsec3_fromWire2.spec
src/lib/dns/tests/testdata/rdata_nsec3_fromWire2.spec
+1
-1
src/lib/dns/tests/testdata/rdata_nsec3param_fromWire2.spec
src/lib/dns/tests/testdata/rdata_nsec3param_fromWire2.spec
+1
-1
src/lib/dns/tsig.h
src/lib/dns/tsig.h
+1
-1
src/lib/eval/eval_context.h
src/lib/eval/eval_context.h
+2
-2
src/lib/eval/parser.yy
src/lib/eval/parser.yy
+1
-1
src/lib/eval/tests/context_unittest.cc
src/lib/eval/tests/context_unittest.cc
+6
-6
src/lib/eval/tests/token_unittest.cc
src/lib/eval/tests/token_unittest.cc
+5
-5
src/lib/eval/token.h
src/lib/eval/token.h
+4
-4
src/lib/exceptions/exceptions.h
src/lib/exceptions/exceptions.h
+3
-3
src/lib/hooks/callout_manager.cc
src/lib/hooks/callout_manager.cc
+1
-1
src/lib/hooks/library_handle.h
src/lib/hooks/library_handle.h
+2
-2
src/lib/hooks/library_manager_collection.h
src/lib/hooks/library_manager_collection.h
+1
-1
src/lib/hooks/tests/hooks_manager_unittest.cc
src/lib/hooks/tests/hooks_manager_unittest.cc
+1
-1
src/lib/hooks/tests/library_manager_unittest.cc
src/lib/hooks/tests/library_manager_unittest.cc
+1
-1
src/lib/log/interprocess/tests/run_unittests.cc
src/lib/log/interprocess/tests/run_unittests.cc
+1
-1
src/lib/log/log_messages.cc
src/lib/log/log_messages.cc
+1
-1
src/lib/log/message_initializer.h
src/lib/log/message_initializer.h
+1
-1
src/lib/log/tests/logger_example.cc
src/lib/log/tests/logger_example.cc
+1
-1
src/lib/log/tests/logger_manager_unittest.cc
src/lib/log/tests/logger_manager_unittest.cc
+1
-1
src/lib/process/d_cfg_mgr.h
src/lib/process/d_cfg_mgr.h
+1
-1
src/lib/process/d_controller.h
src/lib/process/d_controller.h
+2
-2
src/lib/process/io_service_signal.h
src/lib/process/io_service_signal.h
+4
-4
src/lib/process/tests/d_controller_unittests.cc
src/lib/process/tests/d_controller_unittests.cc
+3
-3
src/lib/process/tests/io_service_signal_unittests.cc
src/lib/process/tests/io_service_signal_unittests.cc
+5
-5
src/lib/process/testutils/d_test_stubs.cc
src/lib/process/testutils/d_test_stubs.cc
+1
-1
src/lib/process/testutils/d_test_stubs.h
src/lib/process/testutils/d_test_stubs.h
+2
-2
src/lib/stats/stats_mgr.cc
src/lib/stats/stats_mgr.cc
+3
-3
src/lib/stats/stats_mgr.h
src/lib/stats/stats_mgr.h
+2
-2
src/lib/stats/tests/observation_unittest.cc
src/lib/stats/tests/observation_unittest.cc
+2
-2
src/lib/stats/tests/stats_mgr_unittest.cc
src/lib/stats/tests/stats_mgr_unittest.cc
+1
-1
src/lib/testutils/dhcp_test_lib.sh.in
src/lib/testutils/dhcp_test_lib.sh.in
+6
-6
src/lib/util/csv_file.h
src/lib/util/csv_file.h
+1
-1
src/lib/util/range_utilities.h
src/lib/util/range_utilities.h
+1
-1
src/lib/util/state_model.cc
src/lib/util/state_model.cc
+2
-2
src/lib/util/state_model.h
src/lib/util/state_model.h
+3
-3
src/lib/util/stopwatch_impl.h
src/lib/util/stopwatch_impl.h
+1
-1
src/lib/util/tests/csv_file_unittest.cc
src/lib/util/tests/csv_file_unittest.cc
+1
-1
src/lib/util/tests/process_spawn_unittest.cc
src/lib/util/tests/process_spawn_unittest.cc
+1
-1
src/lib/util/tests/staged_value_unittest.cc
src/lib/util/tests/staged_value_unittest.cc
+1
-1
src/lib/util/tests/stopwatch_unittest.cc
src/lib/util/tests/stopwatch_unittest.cc
+1
-1
src/lib/util/tests/strutil_unittest.cc
src/lib/util/tests/strutil_unittest.cc
+1
-1
src/lib/util/tests/versioned_csv_file_unittest.cc
src/lib/util/tests/versioned_csv_file_unittest.cc
+5
-5
src/lib/util/threads/tests/run_unittests.cc
src/lib/util/threads/tests/run_unittests.cc
+1
-1
src/lib/util/versioned_csv_file.h
src/lib/util/versioned_csv_file.h
+2
-2
src/lib/util/watch_socket.cc
src/lib/util/watch_socket.cc
+2
-2
src/share/database/scripts/mysql/dhcpdb_create.mysql
src/share/database/scripts/mysql/dhcpdb_create.mysql
+1
-1
src/share/database/scripts/mysql/upgrade_4.1_to_5.0.sh.in
src/share/database/scripts/mysql/upgrade_4.1_to_5.0.sh.in
+1
-1
src/share/database/scripts/pgsql/dhcpdb_create.pgsql
src/share/database/scripts/pgsql/dhcpdb_create.pgsql
+1
-1
src/share/database/scripts/pgsql/upgrade_2.0_to_3.0.sh.in
src/share/database/scripts/pgsql/upgrade_2.0_to_3.0.sh.in
+1
-1
tools/system_messages.cc
tools/system_messages.cc
+2
-2
No files found.
doc/devel/contribute.dox
View file @
90825001
...
...
@@ -37,7 +37,7 @@ that your code compiles. This may seem obvious, but there's more to
it. You have surely checked that it compiles on your system, but Kea
is portable software. Besides Linux, it is compiled and used on
relatively uncommon systems like OpenBSD. Will your code
compile and work there? What about endianess? It is likely that you used
compile and work there? What about endian
n
ess? It is likely that you used
a regular x86 architecture machine to write your patch, but the software
is expected to run on many other architectures. You may take a look at
system specific build notes (http://kea.isc.org/wiki/Install).
...
...
doc/examples/kea4/backends.json
View file @
90825001
...
...
@@ -26,7 +26,7 @@
#
2
.
MySQL
backend.
Leases
will
be
stored
in
MySQL
database.
Make
sure
it
#
is
up
,
running
and
properly
initialized.
See
kea-admin
documentation
#
for
details
on
how
to
intialize
the
database.
The
only
strictly
required
#
for
details
on
how
to
in
i
tialize
the
database.
The
only
strictly
required
#
parameters
are
type
and
name.
If
other
parameters
are
not
specified
,
#
Kea
will
assume
the
database
is
avaiable
on
localhost
,
that
user
and
#
password
is
not
necessary
to
connect
and
that
timeout
is
5
seconds.
...
...
@@ -42,7 +42,7 @@
#
3
.
PostgreSQL
backend.
Leases
will
be
stored
in
PostgreSQL
database.
Make
#
sure
it
is
up
,
running
and
properly
initialized.
See
kea-admin
documentation
#
for
details
on
how
to
intialize
the
database.
The
only
strictly
required
#
for
details
on
how
to
in
i
tialize
the
database.
The
only
strictly
required
#
parameters
are
type
and
name.
If
other
parameters
are
not
specified
,
#
Kea
will
assume
the
database
is
avaiable
on
localhost
,
that
user
and
#
password
is
not
necessary
to
connect
and
that
timeout
is
5
seconds.
...
...
@@ -57,7 +57,7 @@
#
4
.
CQL
(Cassandra)
backend.
Leases
will
be
stored
in
Cassandra
database.
Make
#
sure
it
is
up
,
running
and
properly
initialized.
See
kea-admin
documentation
#
for
details
on
how
to
intialize
the
database.
The
only
strictly
required
#
for
details
on
how
to
in
i
tialize
the
database.
The
only
strictly
required
#
parameters
are
type
,
keyspace
and
contact_points.
At
least
one
contact
point
#
must
be
specified
,
but
more
than
one
is
required
for
redundancy.
Make
sure
#
you
specify
the
contact
points
without
spaces.
Kea
must
be
compiled
with
...
...
doc/examples/kea6/backends.json
View file @
90825001
...
...
@@ -26,7 +26,7 @@
#
2
.
MySQL
backend.
Leases
will
be
stored
in
MySQL
database.
Make
sure
it
#
is
up
,
running
and
properly
initialized.
See
kea-admin
documentation
#
for
details
on
how
to
intialize
the
database.
The
only
strictly
required
#
for
details
on
how
to
in
i
tialize
the
database.
The
only
strictly
required
#
parameters
are
type
and
name.
If
other
parameters
are
not
specified
,
#
Kea
will
assume
the
database
is
avaiable
on
localhost
,
that
user
and
#
password
is
not
necessary
to
connect
and
that
timeout
is
5
seconds.
...
...
@@ -42,7 +42,7 @@
#
3
.
PostgreSQL
backend.
Leases
will
be
stored
in
PostgreSQL
database.
Make
#
sure
it
is
up
,
running
and
properly
initialized.
See
kea-admin
documentation
#
for
details
on
how
to
intialize
the
database.
The
only
strictly
required
#
for
details
on
how
to
in
i
tialize
the
database.
The
only
strictly
required
#
parameters
are
type
and
name.
If
other
parameters
are
not
specified
,
#
Kea
will
assume
the
database
is
avaiable
on
localhost
,
that
user
and
#
password
is
not
necessary
to
connect
and
that
timeout
is
5
seconds.
...
...
@@ -57,7 +57,7 @@
#
4
.
CQL
(Cassandra)
backend.
Leases
will
be
stored
in
Cassandra
database.
Make
#
sure
it
is
up
,
running
and
properly
initialized.
See
kea-admin
documentation
#
for
details
on
how
to
intialize
the
database.
The
only
strictly
required
#
for
details
on
how
to
in
i
tialize
the
database.
The
only
strictly
required
#
parameters
are
type
,
keyspace
and
contact_points.
At
least
one
contact
point
#
must
be
specified
,
but
more
than
one
is
required
for
redundancy.
Make
sure
#
you
specify
the
contact
points
without
spaces.
Kea
must
be
compiled
with
...
...
doc/guide/admin.xml
View file @
90825001
...
...
@@ -18,7 +18,7 @@
For example, Kea currently only stores lease information
and host reservations. Future versions of Kea will store
additional data such as subnet definitions: the database
structure will need to be updated to accomdate the extra
structure will need to be updated to accom
mo
date the extra
information.
</para>
...
...
@@ -72,7 +72,7 @@
<listitem>
<simpara>
<command>
lease-init
</command>
—
Initializes a new lease database. This is useful during a new
Initializes a new lease database. This is useful during a new
Kea installation. The database is initialized to the
latest version supported by the version of the software being
installed.
...
...
@@ -616,7 +616,7 @@ $ <userinput>kea-admin lease-upgrade pgsql -u <replaceable>database-user</replac
<orderedlist>
<listitem>
<para>
Export CQLSH_HOST environ
em
nt variable:
Export CQLSH_HOST environ
me
nt variable:
<screen>
$
<userinput>
export CQLSH_HOST=localhost
</userinput>
</screen>
...
...
@@ -715,7 +715,7 @@ $ <userinput>kea-admin lease-upgrade cql -n <replaceable>database-name</replacea
read-only mode.
Sections
<xref
linkend=
"read-only-database-configuration4"
/>
and
<xref
linkend=
"read-only-database-configuration6"
/>
describe when
such configuration may be reqired and how to configure Kea to
such configuration may be req
u
ired and how to configure Kea to
operate using a read-only host database.
</para>
</section>
...
...
doc/guide/classify.xml
View file @
90825001
...
...
@@ -820,7 +820,7 @@ concatenation of the strings</entry></row>
</para>
<para>
To enable the debug statements in the classif
ciat
on system you will
To enable the debug statements in the classif
icati
on system you will
need to set the severity to "DEBUG" and the debug level to at least 55.
The specific loggers are "kea-dhcp4.eval" and "kea-dhcp6.eval".
</para>
...
...
doc/guide/ctrl-channel.xml
View file @
90825001
...
...
@@ -104,7 +104,7 @@ where <command>/path/to/the/kea/socket</command> is the path specified in the
configuration file. Text passed to
<command>
socat
</command>
will be sent to Kea and the responses received from Kea printed to standard output.
</para>
<para>
It is also easy to open UNIX socket program
m
atically. An example of
<para>
It is also easy to open UNIX socket programatically. An example of
such a simplistic client written in C is available in the Kea Developer's
Guide, chapter Control Channel Overview, section Using Control Channel.
</para>
...
...
doc/guide/ddns.xml
View file @
90825001
...
...
@@ -716,7 +716,7 @@ corresponding values in the DHCP servers' "dhcp-ddns" configuration section.
</section>
<!-- "d2-reverse-ddns-config" -->
<section
id=
"d2-ex
ma
ple-config"
>
<section
id=
"d2-ex
am
ple-config"
>
<title>
Example DHCP-DDNS Server Configuration
</title>
<para>
This section provides an example DHCP-DDNS server configuration based
...
...
doc/guide/dhcp4-srv.xml
View file @
90825001
...
...
@@ -2969,7 +2969,7 @@ It is merely echoed by the server
</screen>
<para>
Static class assignments, as shown above, can be used in conjuction
<para>
Static class assignments, as shown above, can be used in conju
n
ction
with classification using expressions.
</para>
</section>
...
...
doc/guide/dhcp6-srv.xml
View file @
90825001
...
...
@@ -1203,7 +1203,7 @@ temporarily override a list of interface names and listen on all interfaces.
S46 container options group rules and optional port parameters
for a specified domain. There are three container options specified
in the "dhcp6" (top level) option space: MAP-E Container option,
MAP-T Container option and S46 Li
e
ghtweight 4over6 Container option.
MAP-T Container option and S46 Lightweight 4over6 Container option.
These options only contain encapsulated options specified below.
They do not include any data fields.
</para>
...
...
@@ -2904,7 +2904,7 @@ should include options from the isc option space:
}
</screen>
<para>
Static class assignments, as shown above, can be used in conjuction
<para>
Static class assignments, as shown above, can be used in conju
n
ction
with classification using expressions.
</para>
</section>
...
...
doc/guide/hooks.xml
View file @
90825001
...
...
@@ -271,7 +271,7 @@
</itemizedlist>
</para>
<para>
Once loaded, the library allows segregating incoming
s
requests into
Once loaded, the library allows segregating incoming requests into
known and unknown clients. For known clients, the packets are
processed mostly as usual, except it is possible to override certain
options being sent. That can be done on a per host basis. Clients
...
...
@@ -306,7 +306,7 @@
is "HW_ADDR" for IPv4 users or "DUID" for IPv6
users
</para></listitem>
<listitem><para><command>
id
</command>
, whose value is
either the hardware address or the DUID from the equest
either the hardware address or the DUID from the
r
equest
formatted as a string of hex digits, with or without
":" delimiters.
</para></listitem>
</itemizedlist>
...
...
@@ -344,7 +344,7 @@ and may have the zero or more of the following entries:
<title>
Forensic Logging Hooks
</title>
<para>
This section describes the forensic log hooks library. This library
povides hooks that record a detailed log of lease assignments
p
r
ovides hooks that record a detailed log of lease assignments
and renewals into a set of log files. Currently this library
is only available to ISC customers with a support contract.
</para>
...
...
doc/guide/logging.xml
View file @
90825001
...
...
@@ -61,7 +61,7 @@
runtime) are responsible for creating the loggers used by those
libraries. Such loggers should have unique names, different
from the logger names used by Kea. In this way the
messages output by the hooks library can be distingued from
messages output by the hooks library can be distingu
ish
ed from
messages issued by the core Kea code. Unique names also allow
the loggers to be configured independently of loggers used
by Kea. Whenever it makes sense, a hook library can use multiple
...
...
@@ -150,7 +150,7 @@
packet drops, you must create configuration entry for the
logger called
<quote>
kea-dhcp4.bad-packets
</quote>
and specify
severity DEBUG for this logger. All other configuration
parameters may be omited for this logger if the logger should
parameters may be omit
t
ed for this logger if the logger should
use the default values specified in the root logger's
configuration.
</para>
...
...
ext/coroutine/coroutine.h
View file @
90825001
...
...
@@ -15,22 +15,22 @@
// \brief Coroutine object
//
// A coroutine object maintains the state of a re-enterable routine. It
// is assignable and copy-construct
a
ble, and can be used as a base class
// is assignable and copy-construct
i
ble, and can be used as a base class
// for a class that uses it, or as a data member. The copy overhead is
// a single int.
//
// A reent
erable
function contains a CORO_REENTER (coroutine) { ... }
// A reent
rant
function contains a CORO_REENTER (coroutine) { ... }
// block. Whenever an asychrnonous operation is initiated within the
// routine, the function is provided as the handler object. (The simplest
// way to do this is to have the reent
erable
function be the operator()
// way to do this is to have the reent
rant
function be the operator()
// member for the coroutine object itself.) For example:
//
//
// CORO_YIELD socket->async_read_some(buffer, *this);
//
// The CORO_YIELD keyword updates the current status of the coroutine to
// indicate the line number currently being executed. The
// async_read_some() call is initiated, with a copy of the updated
// coro
t
utine as its handler object, and the current coroutine exits. When
// coroutine as its handler object, and the current coroutine exits. When
// the async_read_some() call finishes, the copied coroutine will be
// called, and will resume processing exactly where the original one left
// off--right after asynchronous call. This allows asynchronous I/O
...
...
src/bin/admin/tests/cql_tests.sh.in
View file @
90825001
...
...
@@ -81,7 +81,7 @@ cql_lease_version_test() {
$keaadmin
lease-init cql
-u
$db_user
-p
$db_password
-n
$db_name
-d
$db_scripts_dir
assert_eq 0
$?
"kea-admin lease-init cql failed, expected exit code: %d, actual: %d"
# Ver
fi
y that kea-admin lease-version returns the correct version.
# Ver
if
y that kea-admin lease-version returns the correct version.
version
=
$(
$keaadmin
lease-version cql
-u
$db_user
-p
$db_password
-n
$db_name
)
assert_str_eq
"1.0"
$version
"Expected kea-admin to return %s, returned value was %s"
...
...
src/bin/admin/tests/mysql_tests.sh.in
View file @
90825001
...
...
@@ -38,7 +38,7 @@ mysql_lease_init_test() {
# Let's wipe the whole database
mysql_wipe
# Ok, now let's initalize the database
# Ok, now let's init
i
alize the database
${
keaadmin
}
lease-init mysql
-u
$db_user
-p
$db_password
-n
$db_name
-d
$db_scripts_dir
ERRCODE
=
$?
...
...
@@ -117,7 +117,7 @@ mysql_host_reservation_init_test() {
# Let's wipe the whole database
mysql_wipe
# Ok, now let's initalize the database
# Ok, now let's init
i
alize the database
${
keaadmin
}
lease-init mysql
-u
$db_user
-p
$db_password
-n
$db_name
-d
$db_scripts_dir
ERRCODE
=
$?
...
...
@@ -387,7 +387,7 @@ mysql_lease4_dump_test() {
# Let's wipe the whole database
mysql_wipe
# Ok, now let's initalize the database
# Ok, now let's init
i
alize the database
${
keaadmin
}
lease-init mysql
-u
$db_user
-p
$db_password
-n
$db_name
-d
$db_scripts_dir
ERRCODE
=
$?
assert_eq 0
$ERRCODE
"could not create database, expected exit code %d, actual %d"
...
...
@@ -447,7 +447,7 @@ mysql_lease6_dump_test() {
# Let's wipe the whole database
mysql_wipe
# Ok, now let's initalize the database
# Ok, now let's init
i
alize the database
${
keaadmin
}
lease-init mysql
-u
$db_user
-p
$db_password
-n
$db_name
-d
$db_scripts_dir
ERRCODE
=
$?
assert_eq 0
$ERRCODE
"could not create database, expected exit code %d, actual %d"
...
...
src/bin/admin/tests/pgsql_tests.sh.in
View file @
90825001
...
...
@@ -86,7 +86,7 @@ pgsql_lease_version_test() {
${
keaadmin
}
lease-init pgsql
-u
$db_user
-p
$db_password
-n
$db_name
-d
$db_scripts_dir
assert_eq 0
$?
"cannot initialize the database, expected exit code: %d, actual: %d"
# Ver
fi
y that kea-admin lease-version returns the correct version
# Ver
if
y that kea-admin lease-version returns the correct version
version
=
$(
${
keaadmin
}
lease-version pgsql
-u
$db_user
-p
$db_password
-n
$db_name
)
assert_str_eq
"3.0"
${
version
}
"Expected kea-admin to return %s, returned value was %s"
...
...
@@ -280,7 +280,7 @@ pgsql_lease4_dump_test() {
# Let's wipe the whole database
pgsql_wipe
# Ok, now let's initalize the database
# Ok, now let's init
i
alize the database
${
keaadmin
}
lease-init pgsql
-u
$db_user
-p
$db_password
-n
$db_name
-d
$db_scripts_dir
ERRCODE
=
$?
assert_eq 0
$ERRCODE
"could not create database, expected exit code %d, actual %d"
...
...
@@ -375,7 +375,7 @@ pgsql_lease6_dump_test() {
# Let's wipe the whole database
pgsql_wipe
# Ok, now let's initalize the database
# Ok, now let's init
i
alize the database
${
keaadmin
}
lease-init pgsql
-u
$db_user
-p
$db_password
-n
$db_name
-d
$db_scripts_dir
ERRCODE
=
$?
assert_eq 0
$ERRCODE
"could not create database, status code %d"
...
...
src/bin/d2/d2_cfg_mgr.cc
View file @
90825001
...
...
@@ -80,7 +80,7 @@ D2CfgMgr::forwardUpdatesEnabled() {
bool
D2CfgMgr
::
reverseUpdatesEnabled
()
{
// Reverse updates are not enabled if no revese servers are defined.
// Reverse updates are not enabled if no reve
r
se servers are defined.
return
(
getD2CfgContext
()
->
getReverseMgr
()
->
size
()
>
0
);
}
...
...
src/bin/d2/d2_config.cc
View file @
90825001
...
...
@@ -130,7 +130,7 @@ operator<<(std::ostream& os, const D2Params& config) {
}
// *********************** TSIGKeyInfo *************************
// Note these values match corre
ps
onding values for Bind9's
// Note these values match corre
sp
onding values for Bind9's
// dnssec-keygen
const
char
*
TSIGKeyInfo
::
HMAC_MD5_STR
=
"HMAC-MD5"
;
const
char
*
TSIGKeyInfo
::
HMAC_SHA1_STR
=
"HMAC-SHA1"
;
...
...
src/bin/d2/d2_config.h
View file @
90825001
...
...
@@ -258,7 +258,7 @@ private:
/// @brief Dumps the contents of a D2Params as text to an output stream
///
/// @param os output stream to which text should be sent
/// @param config D2Param inst
na
ce to dump
/// @param config D2Param inst
an
ce to dump
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
D2Params
&
config
);
...
...
@@ -287,7 +287,7 @@ public:
/// @brief Constructor
///
/// @param name the unique label used to identify this key
/// @param algorithm the id of the encryption al
ogir
thm this key uses.
/// @param algorithm the id of the encryption al
gori
thm this key uses.
/// Currently supported values are (case insensitive):
/// -# "HMAC-MD5"
/// -# "HMAC-SHA1"
...
...
@@ -538,7 +538,7 @@ public:
///
/// @param name is the domain name of the domain.
/// @param servers is the list of server(s) supporting this domain.
/// @param tsig_key_info pointer to the TSIGKeyInfo for the dom
m
ain's key
/// @param tsig_key_info pointer to the TSIGKeyInfo for the domain's key
/// It defaults to an empty pointer, signifying the domain has no key.
DdnsDomain
(
const
std
::
string
&
name
,
DnsServerInfoStoragePtr
servers
,
...
...
src/bin/d2/d2_process.cc
View file @
90825001
...
...
@@ -243,7 +243,7 @@ D2Process::checkQueueStatus() {
:
"shutdown"
);
queue_mgr_
->
stopListening
();
}
catch
(
const
isc
::
Exception
&
ex
)
{
// It is very unlikey that we would experience an error
// It is very unlike
l
y that we would experience an error
// here, but theoretically possible.
LOG_ERROR
(
d2_logger
,
DHCP_DDNS_QUEUE_MGR_STOP_ERROR
)
.
arg
(
ex
.
what
());
...
...
src/bin/d2/d2_process.h
View file @
90825001
...
...
@@ -66,9 +66,9 @@ public:
/// This is invoked by the controller after command line arguments but
/// PRIOR to configuration reception. The base class provides this method
/// as a place to perform any derivation-specific initialization steps
/// that are inapp
p
ropriate for the constructor but necessary prior to
/// that are inappropriate for the constructor but necessary prior to
/// launch. So far, no such steps have been identified for D2, so its
/// implementa
n
tion is empty but required.
/// implementation is empty but required.
///
/// @throw DProcessBaseError if the initialization fails.
virtual
void
init
();
...
...
src/bin/d2/d2_queue_mgr.cc
View file @
90825001
...
...
@@ -153,7 +153,7 @@ D2QueueMgr::stopListening(const State target_stop_state) {
<<
target_stop_state
);
}
// Remember the state we want to ach
ei
ve.
// Remember the state we want to ach
ie
ve.
target_stop_state_
=
target_stop_state
;
// Instruct the listener to stop. If the listener reports that it
...
...
src/bin/d2/d2_update_message.cc
View file @
90825001
...
...
@@ -128,7 +128,7 @@ D2UpdateMessage::fromWire(const void* received_data, size_t bytes_received,
isc
::
util
::
InputBuffer
received_data_buffer
(
received_data
,
bytes_received
);
message_
.
fromWire
(
received_data_buffer
);
// If tsig_contex is not NULL, then we need to verify the message.
// If tsig_contex
t
is not NULL, then we need to verify the message.
if
(
tsig_context
)
{
TSIGError
error
=
tsig_context
->
verify
(
message_
.
getTSIGRecord
(),
received_data
,
bytes_received
);
...
...
src/bin/d2/d2_update_message.h
View file @
90825001
...
...
@@ -56,7 +56,7 @@ public:
isc
::
Exception
(
file
,
line
,
what
)
{}
};
/// @brief Exception indicating that a signed, inbound message failed to ver
fi
y
/// @brief Exception indicating that a signed, inbound message failed to ver
if
y
///
/// This exception is thrown when TSIG verification of a DNS server's response
/// fails.
...
...
src/bin/d2/dns_client.cc
View file @
90825001
...
...
@@ -46,7 +46,7 @@ public:
// received. This allows a single DNSClientImpl instance to be used for
// multiple, sequential IOFetch calls. (@todo Trac# 3286 has been opened
// against dns::Message::fromWire. Should the behavior of fromWire change
// the behavior here with could be rexamined).
// the behavior here with could be re
e
xamined).
D2UpdateMessagePtr
&
response_
;
// A caller-supplied external callback which is invoked when DNS message
// exchange is complete or interrupted.
...
...
src/bin/d2/dns_client.h
View file @
90825001
...
...
@@ -85,7 +85,7 @@ public:
/// @brief Constructor.
///
/// @param response_placeholder Messge object pointer which will be updated
/// @param response_placeholder Mess
a
ge object pointer which will be updated
/// with dynamically allocated object holding the DNS server's response.
/// @param callback Pointer to an object implementing @c DNSClient::Callback
/// class. This object will be called when DNS message exchange completes or
...
...
src/bin/d2/nc_remove.h
View file @
90825001
...
...
@@ -212,7 +212,7 @@ protected:
/// post a next event of IO_COMPLETED_EVT and then invoke runModel which
/// resumes execution of the state model.
///
/// When the handler is invoked with a next event of IO_COMP
EL
TED_EVT,
/// When the handler is invoked with a next event of IO_COMP
LE
TED_EVT,
/// the DNS update status is checked and acted upon accordingly:
///
/// Transitions to:
...
...
@@ -254,7 +254,7 @@ protected:
/// post a next event of IO_COMPLETED_EVT and then invoke runModel which
/// resumes execution of the state model.
///
/// When the handler is invoked with a next event of IO_COMP
EL
TED_EVT,
/// When the handler is invoked with a next event of IO_COMP
LE
TED_EVT,
/// the DNS update status is checked and acted upon accordingly:
///
/// Transitions to:
...
...
@@ -306,7 +306,7 @@ protected:
/// post a next event of IO_COMPLETED_EVT and then invoke runModel which
/// resumes execution of the state model.
///
/// When the handler is invoked with a next event of IO_COMP
EL
TED_EVT,
/// When the handler is invoked with a next event of IO_COMP
LE
TED_EVT,
/// the DNS update status is checked and acted upon accordingly:
///
/// Transitions to:
...
...
src/bin/d2/nc_trans.h
View file @
90825001
...
...
@@ -144,7 +144,7 @@ public:
static
const
int
NCT_DERIVED_EVENT_MIN
=
SM_DERIVED_EVENT_MIN
+
101
;
//@}
/// @brief Def
ualt time to assign to a single DNS udp
ate.
/// @brief Def
ault time to assign to a single DNS upd
ate.
/// @todo This value will be made configurable in the very near future
/// under trac3268. For now we will define it to 100 milliseconds
/// so unit tests will run within a reasonable amount of time.
...
...
@@ -289,7 +289,7 @@ protected:
void
setDnsUpdateRequest
(
D2UpdateMessagePtr
&
request
);
/// @brief Destroys the current update request packet and resets
/// u
dp
ate attempts count.
/// u
pd
ate attempts count.
void
clearDnsUpdateRequest
();
/// @brief Sets the update status to the given status value.
...
...
src/bin/d2/tests/d2_cfg_mgr_unittests.cc
View file @
90825001
...
...
@@ -65,7 +65,7 @@ public:
/// @brief Build JSON configuration string for a D2Params element
///
/// Constructs a JSON string for "params" element using replacable
/// Constructs a JSON string for "params" element using replac
e
able
/// parameters.
///
/// @param ip_address string to insert as ip_address value
...
...
@@ -509,7 +509,7 @@ TEST_F(D2CfgMgrTest, unsupportedTopLevelItems) {
/// -# ip_address cannot be "0.0.0.0"
/// -# ip_address cannot be "::"
/// -# port cannot be 0
/// -# dns_server_timeout cann
a
t be 0
/// -# dns_server_timeout cann
o
t be 0
/// -# ncr_protocol must be valid
/// -# ncr_format must be valid
TEST_F
(
D2CfgMgrTest
,
invalidEntry
)
{
...
...
@@ -940,7 +940,7 @@ TEST_F(ConfigParseTest, validServerList) {
isc
::
dhcp
::
ParserPtr
parser
;
ASSERT_NO_THROW
(
parser
.
reset
(
new
DnsServerInfoListParser
(
"test"
,
servers
)));
// Ver
fi
y that the list builds and commits without error.
// Ver
if
y that the list builds and commits without error.
ASSERT_NO_THROW
(
parser
->
build
(
config_set_
));
ASSERT_NO_THROW
(
parser
->
commit
());
...
...
@@ -1443,7 +1443,7 @@ TEST_F(D2CfgMgrTest, forwardMatch) {
EXPECT_TRUE
(
cfg_mgr_
->
matchForward
(
"tmark.org"
,
match
));
EXPECT_EQ
(
"tmark.org"
,
match
->
getName
());