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
446
Issues
446
List
Boards
Labels
Service Desk
Milestones
Merge Requests
71
Merge Requests
71
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
ISC Open Source Projects
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
Show 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
...
@@ -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
it. You have surely checked that it compiles on your system, but Kea
is portable software. Besides Linux, it is compiled and used on
is portable software. Besides Linux, it is compiled and used on
relatively uncommon systems like OpenBSD. Will your code
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
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
is expected to run on many other architectures. You may take a look at
system specific build notes (http://kea.isc.org/wiki/Install).
system specific build notes (http://kea.isc.org/wiki/Install).
...
...
doc/examples/kea4/backends.json
View file @
90825001
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
#
2
.
MySQL
backend.
Leases
will
be
stored
in
MySQL
database.
Make
sure
it
#
2
.
MySQL
backend.
Leases
will
be
stored
in
MySQL
database.
Make
sure
it
#
is
up
,
running
and
properly
initialized.
See
kea-admin
documentation
#
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
,
#
parameters
are
type
and
name.
If
other
parameters
are
not
specified
,
#
Kea
will
assume
the
database
is
avaiable
on
localhost
,
that
user
and
#
Kea
will
assume
the
database
is
avaiable
on
localhost
,
that
user
and
#
password
is
not
necessary
to
connect
and
that
timeout
is
5
seconds.
#
password
is
not
necessary
to
connect
and
that
timeout
is
5
seconds.
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
#
3
.
PostgreSQL
backend.
Leases
will
be
stored
in
PostgreSQL
database.
Make
#
3
.
PostgreSQL
backend.
Leases
will
be
stored
in
PostgreSQL
database.
Make
#
sure
it
is
up
,
running
and
properly
initialized.
See
kea-admin
documentation
#
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
,
#
parameters
are
type
and
name.
If
other
parameters
are
not
specified
,
#
Kea
will
assume
the
database
is
avaiable
on
localhost
,
that
user
and
#
Kea
will
assume
the
database
is
avaiable
on
localhost
,
that
user
and
#
password
is
not
necessary
to
connect
and
that
timeout
is
5
seconds.
#
password
is
not
necessary
to
connect
and
that
timeout
is
5
seconds.
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
#
4
.
CQL
(Cassandra)
backend.
Leases
will
be
stored
in
Cassandra
database.
Make
#
4
.
CQL
(Cassandra)
backend.
Leases
will
be
stored
in
Cassandra
database.
Make
#
sure
it
is
up
,
running
and
properly
initialized.
See
kea-admin
documentation
#
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
#
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
#
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
#
you
specify
the
contact
points
without
spaces.
Kea
must
be
compiled
with
...
...
doc/examples/kea6/backends.json
View file @
90825001
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
#
2
.
MySQL
backend.
Leases
will
be
stored
in
MySQL
database.
Make
sure
it
#
2
.
MySQL
backend.
Leases
will
be
stored
in
MySQL
database.
Make
sure
it
#
is
up
,
running
and
properly
initialized.
See
kea-admin
documentation
#
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
,
#
parameters
are
type
and
name.
If
other
parameters
are
not
specified
,
#
Kea
will
assume
the
database
is
avaiable
on
localhost
,
that
user
and
#
Kea
will
assume
the
database
is
avaiable
on
localhost
,
that
user
and
#
password
is
not
necessary
to
connect
and
that
timeout
is
5
seconds.
#
password
is
not
necessary
to
connect
and
that
timeout
is
5
seconds.
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
#
3
.
PostgreSQL
backend.
Leases
will
be
stored
in
PostgreSQL
database.
Make
#
3
.
PostgreSQL
backend.
Leases
will
be
stored
in
PostgreSQL
database.
Make
#
sure
it
is
up
,
running
and
properly
initialized.
See
kea-admin
documentation
#
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
,
#
parameters
are
type
and
name.
If
other
parameters
are
not
specified
,
#
Kea
will
assume
the
database
is
avaiable
on
localhost
,
that
user
and
#
Kea
will
assume
the
database
is
avaiable
on
localhost
,
that
user
and
#
password
is
not
necessary
to
connect
and
that
timeout
is
5
seconds.
#
password
is
not
necessary
to
connect
and
that
timeout
is
5
seconds.
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
#
4
.
CQL
(Cassandra)
backend.
Leases
will
be
stored
in
Cassandra
database.
Make
#
4
.
CQL
(Cassandra)
backend.
Leases
will
be
stored
in
Cassandra
database.
Make
#
sure
it
is
up
,
running
and
properly
initialized.
See
kea-admin
documentation
#
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
#
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
#
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
#
you
specify
the
contact
points
without
spaces.
Kea
must
be
compiled
with
...
...
doc/guide/admin.xml
View file @
90825001
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
For example, Kea currently only stores lease information
For example, Kea currently only stores lease information
and host reservations. Future versions of Kea will store
and host reservations. Future versions of Kea will store
additional data such as subnet definitions: the database
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.
information.
</para>
</para>
...
@@ -616,7 +616,7 @@ $ <userinput>kea-admin lease-upgrade pgsql -u <replaceable>database-user</replac
...
@@ -616,7 +616,7 @@ $ <userinput>kea-admin lease-upgrade pgsql -u <replaceable>database-user</replac
<orderedlist>
<orderedlist>
<listitem>
<listitem>
<para>
<para>
Export CQLSH_HOST environ
em
nt variable:
Export CQLSH_HOST environ
me
nt variable:
<screen>
<screen>
$
<userinput>
export CQLSH_HOST=localhost
</userinput>
$
<userinput>
export CQLSH_HOST=localhost
</userinput>
</screen>
</screen>
...
@@ -715,7 +715,7 @@ $ <userinput>kea-admin lease-upgrade cql -n <replaceable>database-name</replacea
...
@@ -715,7 +715,7 @@ $ <userinput>kea-admin lease-upgrade cql -n <replaceable>database-name</replacea
read-only mode.
read-only mode.
Sections
<xref
linkend=
"read-only-database-configuration4"
/>
and
Sections
<xref
linkend=
"read-only-database-configuration4"
/>
and
<xref
linkend=
"read-only-database-configuration6"
/>
describe when
<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.
operate using a read-only host database.
</para>
</para>
</section>
</section>
...
...
doc/guide/classify.xml
View file @
90825001
...
@@ -820,7 +820,7 @@ concatenation of the strings</entry></row>
...
@@ -820,7 +820,7 @@ concatenation of the strings</entry></row>
</para>
</para>
<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.
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".
The specific loggers are "kea-dhcp4.eval" and "kea-dhcp6.eval".
</para>
</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
...
@@ -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>
configuration file. Text passed to
<command>
socat
</command>
will be sent to Kea and the responses received from Kea printed to standard output.
</para>
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
such a simplistic client written in C is available in the Kea Developer's
Guide, chapter Control Channel Overview, section Using Control Channel.
</para>
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.
...
@@ -716,7 +716,7 @@ corresponding values in the DHCP servers' "dhcp-ddns" configuration section.
</section>
<!-- "d2-reverse-ddns-config" -->
</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>
<title>
Example DHCP-DDNS Server Configuration
</title>
<para>
<para>
This section provides an example DHCP-DDNS server configuration based
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
...
@@ -2969,7 +2969,7 @@ It is merely echoed by the server
</screen>
</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>
with classification using expressions.
</para>
</section>
</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.
...
@@ -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
S46 container options group rules and optional port parameters
for a specified domain. There are three container options specified
for a specified domain. There are three container options specified
in the "dhcp6" (top level) option space: MAP-E Container option,
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.
These options only contain encapsulated options specified below.
They do not include any data fields.
They do not include any data fields.
</para>
</para>
...
@@ -2904,7 +2904,7 @@ should include options from the isc option space:
...
@@ -2904,7 +2904,7 @@ should include options from the isc option space:
}
}
</screen>
</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>
with classification using expressions.
</para>
</section>
</section>
...
...
doc/guide/hooks.xml
View file @
90825001
...
@@ -271,7 +271,7 @@
...
@@ -271,7 +271,7 @@
</itemizedlist>
</itemizedlist>
</para>
</para>
<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
known and unknown clients. For known clients, the packets are
processed mostly as usual, except it is possible to override certain
processed mostly as usual, except it is possible to override certain
options being sent. That can be done on a per host basis. Clients
options being sent. That can be done on a per host basis. Clients
...
@@ -306,7 +306,7 @@
...
@@ -306,7 +306,7 @@
is "HW_ADDR" for IPv4 users or "DUID" for IPv6
is "HW_ADDR" for IPv4 users or "DUID" for IPv6
users
</para></listitem>
users
</para></listitem>
<listitem><para><command>
id
</command>
, whose value is
<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
formatted as a string of hex digits, with or without
":" delimiters.
</para></listitem>
":" delimiters.
</para></listitem>
</itemizedlist>
</itemizedlist>
...
@@ -344,7 +344,7 @@ and may have the zero or more of the following entries:
...
@@ -344,7 +344,7 @@ and may have the zero or more of the following entries:
<title>
Forensic Logging Hooks
</title>
<title>
Forensic Logging Hooks
</title>
<para>
<para>
This section describes the forensic log hooks library. This library
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
and renewals into a set of log files. Currently this library
is only available to ISC customers with a support contract.
is only available to ISC customers with a support contract.
</para>
</para>
...
...
doc/guide/logging.xml
View file @
90825001
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
runtime) are responsible for creating the loggers used by those
runtime) are responsible for creating the loggers used by those
libraries. Such loggers should have unique names, different
libraries. Such loggers should have unique names, different
from the logger names used by Kea. In this way the
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
messages issued by the core Kea code. Unique names also allow
the loggers to be configured independently of loggers used
the loggers to be configured independently of loggers used
by Kea. Whenever it makes sense, a hook library can use multiple
by Kea. Whenever it makes sense, a hook library can use multiple
...
@@ -150,7 +150,7 @@
...
@@ -150,7 +150,7 @@
packet drops, you must create configuration entry for the
packet drops, you must create configuration entry for the
logger called
<quote>
kea-dhcp4.bad-packets
</quote>
and specify
logger called
<quote>
kea-dhcp4.bad-packets
</quote>
and specify
severity DEBUG for this logger. All other configuration
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
use the default values specified in the root logger's
configuration.
configuration.
</para>
</para>
...
...
ext/coroutine/coroutine.h
View file @
90825001
...
@@ -15,14 +15,14 @@
...
@@ -15,14 +15,14 @@
// \brief Coroutine object
// \brief Coroutine object
//
//
// A coroutine object maintains the state of a re-enterable routine. It
// 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
// for a class that uses it, or as a data member. The copy overhead is
// a single int.
// 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
// block. Whenever an asychrnonous operation is initiated within the
// routine, the function is provided as the handler object. (The simplest
// 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:
// member for the coroutine object itself.) For example:
//
//
// CORO_YIELD socket->async_read_some(buffer, *this);
// CORO_YIELD socket->async_read_some(buffer, *this);
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
// The CORO_YIELD keyword updates the current status of the coroutine to
// The CORO_YIELD keyword updates the current status of the coroutine to
// indicate the line number currently being executed. The
// indicate the line number currently being executed. The
// async_read_some() call is initiated, with a copy of the updated
// 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
// the async_read_some() call finishes, the copied coroutine will be
// called, and will resume processing exactly where the original one left
// called, and will resume processing exactly where the original one left
// off--right after asynchronous call. This allows asynchronous I/O
// 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() {
...
@@ -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
$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"
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
)
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"
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() {
...
@@ -38,7 +38,7 @@ mysql_lease_init_test() {
# Let's wipe the whole database
# Let's wipe the whole database
mysql_wipe
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
${
keaadmin
}
lease-init mysql
-u
$db_user
-p
$db_password
-n
$db_name
-d
$db_scripts_dir
ERRCODE
=
$?
ERRCODE
=
$?
...
@@ -117,7 +117,7 @@ mysql_host_reservation_init_test() {
...
@@ -117,7 +117,7 @@ mysql_host_reservation_init_test() {
# Let's wipe the whole database
# Let's wipe the whole database
mysql_wipe
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
${
keaadmin
}
lease-init mysql
-u
$db_user
-p
$db_password
-n
$db_name
-d
$db_scripts_dir
ERRCODE
=
$?
ERRCODE
=
$?
...
@@ -387,7 +387,7 @@ mysql_lease4_dump_test() {
...
@@ -387,7 +387,7 @@ mysql_lease4_dump_test() {
# Let's wipe the whole database
# Let's wipe the whole database
mysql_wipe
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
${
keaadmin
}
lease-init mysql
-u
$db_user
-p
$db_password
-n
$db_name
-d
$db_scripts_dir
ERRCODE
=
$?
ERRCODE
=
$?
assert_eq 0
$ERRCODE
"could not create database, expected exit code %d, actual %d"
assert_eq 0
$ERRCODE
"could not create database, expected exit code %d, actual %d"
...
@@ -447,7 +447,7 @@ mysql_lease6_dump_test() {
...
@@ -447,7 +447,7 @@ mysql_lease6_dump_test() {
# Let's wipe the whole database
# Let's wipe the whole database
mysql_wipe
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
${
keaadmin
}
lease-init mysql
-u
$db_user
-p
$db_password
-n
$db_name
-d
$db_scripts_dir
ERRCODE
=
$?
ERRCODE
=
$?
assert_eq 0
$ERRCODE
"could not create database, expected exit code %d, actual %d"
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() {
...
@@ -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
${
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"
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
)
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"
assert_str_eq
"3.0"
${
version
}
"Expected kea-admin to return %s, returned value was %s"
...
@@ -280,7 +280,7 @@ pgsql_lease4_dump_test() {
...
@@ -280,7 +280,7 @@ pgsql_lease4_dump_test() {
# Let's wipe the whole database
# Let's wipe the whole database
pgsql_wipe
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
${
keaadmin
}
lease-init pgsql
-u
$db_user
-p
$db_password
-n
$db_name
-d
$db_scripts_dir
ERRCODE
=
$?
ERRCODE
=
$?
assert_eq 0
$ERRCODE
"could not create database, expected exit code %d, actual %d"
assert_eq 0
$ERRCODE
"could not create database, expected exit code %d, actual %d"
...
@@ -375,7 +375,7 @@ pgsql_lease6_dump_test() {
...
@@ -375,7 +375,7 @@ pgsql_lease6_dump_test() {
# Let's wipe the whole database
# Let's wipe the whole database
pgsql_wipe
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
${
keaadmin
}
lease-init pgsql
-u
$db_user
-p
$db_password
-n
$db_name
-d
$db_scripts_dir
ERRCODE
=
$?
ERRCODE
=
$?
assert_eq 0
$ERRCODE
"could not create database, status code %d"
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() {
...
@@ -80,7 +80,7 @@ D2CfgMgr::forwardUpdatesEnabled() {
bool
bool
D2CfgMgr
::
reverseUpdatesEnabled
()
{
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
);
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) {
...
@@ -130,7 +130,7 @@ operator<<(std::ostream& os, const D2Params& config) {
}
}
// *********************** TSIGKeyInfo *************************
// *********************** 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
// dnssec-keygen
const
char
*
TSIGKeyInfo
::
HMAC_MD5_STR
=
"HMAC-MD5"
;
const
char
*
TSIGKeyInfo
::
HMAC_MD5_STR
=
"HMAC-MD5"
;
const
char
*
TSIGKeyInfo
::
HMAC_SHA1_STR
=
"HMAC-SHA1"
;
const
char
*
TSIGKeyInfo
::
HMAC_SHA1_STR
=
"HMAC-SHA1"
;
...
...
src/bin/d2/d2_config.h
View file @
90825001
...
@@ -258,7 +258,7 @@ private:
...
@@ -258,7 +258,7 @@ private:
/// @brief Dumps the contents of a D2Params as text to an output stream
/// @brief Dumps the contents of a D2Params as text to an output stream
///
///
/// @param os output stream to which text should be sent