2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 13:07:50 +00:00

1488 Commits

Author SHA1 Message Date
Marcin Siodelski
35173d1c4b [5645] Updates to User's Guide after moving HA. 2018-06-08 13:37:40 +02:00
Francis Dupont
116962ddc5 [5549a] Code, examples and doc updated 2018-06-07 13:59:55 +02:00
Marcin Siodelski
bd94afc0af [master] Merge branch 'trac5622' 2018-06-07 09:07:44 +02:00
Marcin Siodelski
5193c342e5 [5622] Updated list of loggers. 2018-06-06 20:09:29 +02:00
Thomas Markwalder
df869a7902 [master] Improves Ctrl Channel partial command handling
Merge branch 'trac5599'
2018-06-06 08:45:59 -04:00
Thomas Markwalder
e47da044a9 [5599] Control channel now emits info on any discarded data
doc/guide/ctrl-channel.xml
    Minor update to using socat

src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc
src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc
    Updated testing for server response to server
    side control channel timeouts

src/lib/cc/json_feed.h
        JSONFeed::getProcessedText() - new method that
        returns a copy of the current accumulation of
        accepted text

src/lib/config/config_messages.mes
src/lib/config/command_mgr.cc
    Connection::receiveHandler() - added log info about
    discarded data when client closes connection

    Connection::timeoutHandler() - added info about discarded
    data to server's response to client on server side timeout
2018-06-05 11:06:15 -04:00
Marcin Siodelski
6e762fcaf9 [5621] Updated User's Guide with sync-leases HA parameter. 2018-06-04 22:04:22 +02:00
Francis Dupont
27628350bc [master] Merged trac5382 (Botan 2.x support) 2018-06-01 22:49:27 +02:00
Thomas Markwalder
38426e16ec [master] DHCPv4 renew/rebind-timers are now optional
Merge branch 'trac5596'
2018-05-30 10:38:26 -04:00
Francis Dupont
95bb964a5d [5382a] Updated doc 2018-05-28 17:09:19 +02:00
Marcin Siodelski
ebf7d86356 [5632] Minor wording change in the guide as a result or review. 2018-05-28 11:14:49 +02:00
Thomas Markwalder
dec8d15f4a [5596] renew-timer and rebind-timer now optional for DHCPv4
v4 Parsing now allows renew/rebind timers to be unspecified,
and kea-dhcp4 logic now matchs ISC DHCP:

1. Send T2 only if it is specified and is less than lease lifetime
2. Send T1 only if it is specified and is less than either T2
if specified, or lease lifetime in the absence of T2

doc/guide/dhcp4-srv.xml
    Updated discussion of rebind/renew-timers

src/bin/dhcp4/dhcp4_srv.cc
    Dhcpv4Srv::assignLease() - modified to sanity check
    T1 and T2

src/bin/dhcp4/tests/config_parser_unittest.cc
src/bin/dhcp4/tests/get_config_unittest.cc
src/bin/dhcp4/tests/simple_parser4_unittest.cc
src/bin/dhcp6/tests/get_config_unittest.cc
src/lib/dhcpsrv/tests/cfg_shared_networks4_unittest.cc
src/lib/dhcpsrv/tests/cfg_shared_networks6_unittest.cc
    updated numerous tests

src/lib/dhcpsrv/network.cc
    Network::toElement() - only outputs T1, T2, and
    valid lifetime if they are specified

src/lib/dhcpsrv/network.h
    Network() - inits t1_, t2_, and valid_ to unspecified
    Triplet value

src/lib/dhcpsrv/parsers/dhcp_parsers.cc
    Subnet4ConfigParser::initSubnet() - allow renew-timer and
    rebind-timer to be optional

src/lib/dhcpsrv/parsers/simple_parser4.cc
    SimpleDefaults SimpleParser4::GLOBAL4_DEFAULTS - removed
    entries for renew-timer and rebind-timer
2018-05-25 11:12:30 -04:00
Marcin Siodelski
2a0e4226a0 [5632] Updated User's Guide saying that HA_ is builtin. 2018-05-25 09:47:18 +02:00
Marcin Siodelski
73ed3f7aba [5632] HA class prefix is now upper case in the docs. 2018-05-24 18:16:02 +02:00
Marcin Siodelski
ffaff4d2a0 [master] Merge branch 'trac5603' 2018-05-24 17:06:41 +02:00
Marcin Siodelski
c611a2ad1b [5603] Added a note about restarting the HA service.
The server needs to be restarted or reloaded. In the future
we may provide a command.
2018-05-24 16:08:04 +02:00
Francis Dupont
60ad713a1d [master] Merged trac5488 / PR71 (pkg-config for --with-cql) 2018-05-23 10:05:27 +02:00
Thomas Markwalder
5143d5d42c [5603] Minor ha documentation wording changes 2018-05-22 14:25:05 -04:00
Marcin Siodelski
aa83b956af [5603] Documented clock skew in HA and "terminated" state. 2018-05-22 19:47:40 +02:00
Thomas Markwalder
0784ba1e3a [5488] Minor wording changes 2018-05-21 07:44:15 -04:00
Francis Dupont
5450c40154 [5488] Updated doc 2018-05-19 15:37:53 +02:00
Francis Dupont
a9941bac98 [5549a] Updated examples and guides 2018-05-19 13:21:04 +02:00
Wlodek Wencel
a6c4644775 [master] cleaning code before release 2018-05-17 00:21:51 +02:00
Thomas Markwalder
2b2b9ad715 [5427] Added lib location paragraph 2018-05-16 20:46:44 +02:00
Tomek Mrugalski
203b40ae76 [5427] Describe hook package installation procedure. 2018-05-16 20:46:44 +02:00
Francis Dupont
ea5e005635 [master] Merged trac5617 (RADIUS reselect subnet) 2018-05-16 16:53:29 +02:00
Francis Dupont
ce155d87ea [5617] re-select -> reselect (according to Thomas and his dict) 2018-05-16 16:41:02 +02:00
Francis Dupont
8f11078c39 [5617] Updated doc and example 2018-05-16 15:51:36 +02:00
Thomas Markwalder
36f20f1c8b [master] Added new Stat Cmds hooks lib to open source repo
Merge branch 'trac5589'
2018-05-16 09:41:58 -04:00
Thomas Markwalder
71131063fd [5589] Addressed more review comments
doc/guide/hooks-stat-cmds.xml
    Fixed return values

doc/guide/logging.xml
    Added entry for kea-dhcp6.stat-cmds-hooks logger

src/hooks/dhcp/stat_cmds/stat_cmds_messages.mes
src/hooks/dhcp/stat_cmds/stat_cmds_callouts.cc
    Removed extra _CMDS from logger IDs

src/hooks/dhcp/stat_cmds/tests/stat_cmds_unittest.cc
    Removed extraneous using statement;
2018-05-16 07:27:01 -04:00
Marcin Siodelski
1b3d7e1474 [5589] Minor docs corrections as a result of second review. 2018-05-16 12:49:52 +02:00
Thomas Markwalder
a4a614f4d1 [5589] Addressed review comments except for unit tests not loading library
Too numerous to mention.
2018-05-15 13:33:50 -04:00
Marcin Siodelski
0105676f2a [5589] Updated XML corrections to the hooks-stats-lib doc. 2018-05-15 13:33:26 +02:00
Thomas Markwalder
7fc34c9475 [5580] Added developor and admin doc 2018-05-14 07:32:06 -04:00
Marcin Siodelski
3f35f263a9 [5478] Timers in HA configuration are in milliseconds. 2018-05-10 18:05:39 +02:00
Marcin Siodelski
729cbe0469 [5478] Added section about sending lease updates setting. 2018-05-10 18:05:39 +02:00
Marcin Siodelski
b49cd51751 [5478] Documented default value of auto-failover. 2018-05-10 18:05:39 +02:00
Marcin Siodelski
e898172a7e [5478] Added a section about transitioning between the servers. 2018-05-10 18:05:39 +02:00
Marcin Siodelski
b2ff311bdb [5478] Addressed most of the review comments.
Focusing on minor additions and corrections.
2018-05-10 18:05:39 +02:00
Marcin Siodelski
bd5df5f6b9 [5478] Minor updates to libdhcp_ha.so brief description. 2018-05-10 18:05:39 +02:00
Marcin Siodelski
1d95e86cdb [5478] High Availability lib section moved to another xml file. 2018-05-10 18:05:39 +02:00
Tomek Mrugalski
307ddf55f8 [5478] Changes after review:
- HA lib description updated
 - wrote extra text about IETF failover
 - couple other small nits
2018-05-10 18:03:56 +02:00
Marcin Siodelski
b9ed55d1e1 [5478] Provided HA + advanced classification example. 2018-05-10 18:03:56 +02:00
Marcin Siodelski
fc10ca80f4 [5478] Default configuration values documented. 2018-05-10 18:03:56 +02:00
Marcin Siodelski
f22e93f043 [5478] Described HA specific commands. 2018-05-10 18:03:56 +02:00
Marcin Siodelski
4f190e9713 [5478] Added User's Guide section with CA configuration for HA. 2018-05-10 18:03:56 +02:00
Marcin Siodelski
b573deaf56 [5478] Described hot-standby configuration in the User's Guide. 2018-05-10 18:03:56 +02:00
Marcin Siodelski
25ced3639b [5478] Load balancing configuration described. 2018-05-10 18:03:56 +02:00
Marcin Siodelski
e22163461c [5478] Initial documentation for the HA hook library. 2018-05-10 18:03:56 +02:00
Francis Dupont
56a5ccc27a [5605a] [5608] Fixed example and guide 2018-05-03 13:07:25 +02:00