2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 05:27:55 +00:00

1524 Commits

Author SHA1 Message Date
Thomas Markwalder
b31da6f9a3 [master] Database reconnect now supported for MySQL lease/host back ends
Merges branch 'trac5556a'
2018-04-10 07:40:09 -04:00
Marcin Siodelski
422df21fb6 [5374] Some corrections in the new client classification text of User Guide. 2018-04-09 16:50:53 +02:00
Francis Dupont
b188a382ee [5556a] Updated guide copyright 2018-04-09 15:35:52 +02:00
Francis Dupont
e82693ddb2 [master] Finished merge of trac5491 (duplicate comment tests) 2018-04-09 15:34:30 +02:00
Francis Dupont
2a6049947a [master] Finishing merge of trac5404 (port relay) 2018-04-09 14:32:48 +02:00
Thomas Markwalder
f09bf17e2e [5556a] MySQL lease and host backends now support configurable auto-reconnect
src/lib/dhcpsrv/mysql_connection.h
        MySqlConnection::checkError<>() - modified to invoke
        db lost callback

    src/lib/dhcpsrv/dhcpsrv_messages.mes
        Updated log messages

    src/lib/dhcpsrv/mysql_lease_mgr.cc
        MySqlLeaseMgr::getVersion() - updated to use checkError()

    src/lib/dhcpsrv/pgsql_connection.*
        PgSqlResult::PgSqlResult(PGresult *result) - now supports
        construction with null PGresult. This is to accomodate rare
        cases when PQ* statements can return NULL.

    src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.*
        class LeaseMgrDbLostCallbackTest - new test fixture for
        testing LeaseMgr DBLostCallback behavior

    src/lib/dhcpsrv/tests/host_mgr_unittest.cc
        class HostMgrDbLostCallbackTest
        class MySQLHostMgrDbLostCallbackTest
        class PostgreSQLHostMgrDbLostCallbackTest
        - new test fixtures for testing HostMgr DBLostCallback behavior

    src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc
        class MySQLLeaseMgrDbLostCallbackTest - new test fixture for
        testing MySQL LeaseMgr DBLostCallback behavior

    src/lib/dhcpsrv/tests/pgsql_lease_mgr_unittest.cc
        class PgSqlLeaseMgrDbLostCallbackTest - new test fixture for
        testing Postgresql LeaseMgr DBLostCallback behavior

    src/lib/dhcpsrv/tests/test_utils.*
        int findLastSocketFd() - new function used for finding what
        should be the fd of the SQL client socket

    doc/guide/dhcp4-srv.xml
    doc/guide/dhcp6-srv.xml
        Updated lease and host database parameter sections
2018-04-06 15:16:24 -04:00
Francis Dupont
339f45b6b9 [5374] Addressed non test comments - checkpoint before regen 2018-04-06 16:22:09 +02:00
Francis Dupont
b6d4dff8ae [5374] Checkpoint before regen 2018-04-06 00:12:52 +02:00
Francis Dupont
b7ff0b949e [5374] Checkpoint: need regen 2018-04-01 14:44:13 +02:00
Francis Dupont
a0bb7188df [master] Finishing merge of trac5469 (lease6-get-all) 2018-03-31 16:49:15 +02:00
Francis Dupont
8cb31ee020 [master] Finishing merge of trac5528/trac5533a (register host backend / host cache) 2018-03-27 14:26:41 +02:00
Tomek Mrugalski
8b2ffabb3d [master] Merge branch 'trac5441' (network commands improvements) 2018-03-15 16:54:16 +00:00
Tomek Mrugalski
cb2d808019 [5484] Changes after review:
- unit-test improvements
- examples changes to tcp-keepalive 1200 seconds
2018-03-14 00:46:45 +00:00
Tomek Mrugalski
0b7a57f58a [5484] cql_config description updated. 2018-03-12 19:53:23 +00:00
Tomek Mrugalski
eb85122e82 [5484] Documentation updated. 2018-03-12 19:47:23 +00:00
Marcin Siodelski
6a85046d87 [5469] Minor corrections in the User's Guide for lease6-get-all command. 2018-03-05 17:32:13 +01:00
Francis Dupont
fe232dabca [5533a] Rebased 2018-02-23 23:48:32 +01:00
Francis Dupont
e414805ce1 [master] Merged trac5390 (listen on loopback) 2018-02-19 18:16:17 +01:00
Francis Dupont
94bd3cc313 [master] Finishing merge of (forensic/legal logging to database) 2018-02-19 18:06:46 +01:00
Francis Dupont
e17e79bc6e [master] Finishing merge of (forensic/legal logging to database) 2018-02-19 18:03:03 +01:00
Tomek Mrugalski
e76cb2d7fd [5390] Minor tweaks to comments and docs. 2018-02-19 17:06:31 +01:00
Tomek Mrugalski
987fbb0876 [master] Support for Google benchmark added.
# Conflicts:
#	doc/guide/install.xml
#	src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc
#	src/lib/dhcpsrv/testutils/lease_file_io.cc
2018-02-13 22:54:26 +00:00
Tomek Mrugalski
0790901b1a [github36] User's guide updated. 2018-02-13 19:27:13 +00:00
Francis Dupont
0b223d0364 [5531] Done 2018-02-12 06:09:55 +01:00
Francis Dupont
51fd66d364 [master] Finishing merge of trac5494 (Cassandra vs macOS) 2018-02-08 16:02:48 +01:00
Tomek Mrugalski
033b9560c5 Merge branch 'trac5494' into github36 2018-02-08 10:35:03 +00:00
Francis Dupont
8af68d76ee [5390] Simplified the logic (addressed comment) 2018-02-07 15:36:44 +01:00
Tomek Mrugalski
ed1431b556 [github40] --with-dhcp-XXX renamed to --with-XXX
Merge branch 'with-dhcp' of https://github.com/andreipavelQ/kea into github40

# Conflicts:
#	doc/guide/install.xml
2018-02-06 17:17:23 +00:00
Tomek Mrugalski
44c782060a [github39] Merge branch 'docbook-upgrade' of https://github.com/andreipavelQ/kea into github39
- improvements required (__VERSION__ macro omitted)
 - the patch tried to reverse some texts back to 1.1.0 (we're now at 1.3.0)
 - there were many conflicts...

# Conflicts:
#	doc/guide/admin.xml
#	doc/guide/ctrl-channel.xml
#	doc/guide/ddns.xml
#	doc/guide/dhcp4-srv.xml
#	doc/guide/dhcp6-srv.xml
#	doc/guide/install.xml
#	doc/guide/intro.xml
#	doc/guide/kea-guide.xml
#	src/bin/admin/kea-admin.xml
#	src/bin/agent/kea-ctrl-agent.xml
#	src/bin/d2/kea-dhcp-ddns.xml
#	src/bin/dhcp4/kea-dhcp4.xml
#	src/bin/dhcp6/kea-dhcp6.xml
#	src/bin/keactrl/keactrl.xml
#	src/bin/lfc/kea-lfc.xml
#	src/bin/perfdhcp/perfdhcp.xml
#	src/bin/shell/kea-shell.xml
#	src/bin/sockcreator/kea-sockcreator.xml
2018-02-06 12:39:24 +00:00
Tomek Mrugalski
6a4aac2b3b [master] Merge branch 'trac5514' (lw4over6 options reinstantiated) 2018-01-31 14:38:40 +01:00
Tomek Mrugalski
7e77f043c9 [master] Merge branch 'github54' (various changes) 2018-01-30 20:55:25 +01:00
Razvan Becheriu
64870d5626 Merge branch 'master' into HEAD 2018-01-30 16:42:16 +02:00
Francis Dupont
352532410e [5425a] Reported some changes 2018-01-29 17:38:08 +01:00
Francis Dupont
f85ebcc12d [5425a] Reverted last 2 commits (unfinished as they include doc fixes) 2018-01-29 17:15:55 +01:00
Tomek Mrugalski
7edd611cb0 [5425a] Changes after review:
- it is now possible to define multiple classes for a pool
 - small doc corrections
2018-01-27 00:09:33 +01:00
Tomek Mrugalski
924b00cb41 [5514] v4 portparameters option definition updated. 2018-01-25 16:42:04 +01:00
Tomek Mrugalski
641bcbadbe [5514] Revert "[5191] Remove experimental lightweight 4over6 option"
This reverts commit 401a5a52077789088e48047d2ee4c67c37a07894.

# Conflicts:
#	doc/guide/dhcp6-srv.xml
#	src/lib/dhcp/dhcp6.h
#	src/lib/dhcp/std_option_defs.h
#	src/lib/dhcp/tests/libdhcp++_unittest.cc
2018-01-25 15:59:32 +01:00
Francis Dupont
eb9efffcb0 [5425a] Ported last changes and fixes 2018-01-19 23:53:36 +01:00
Francis Dupont
300cb63670 [5425a] Applied changes - need regen 2018-01-19 00:13:48 +01:00
Francis Dupont
620c135149 [5390] Made loopback usable for limited DHCP service 2018-01-18 09:55:37 +01:00
Marcin Siodelski
a378ec2848 [master] Merge branch 'trac5468' 2018-01-15 13:59:28 +01:00
Francis Dupont
cfe529dff1 [5469] checkpoint (copied with 4 -> 6) 2018-01-13 00:24:41 +01:00
Marcin Siodelski
fe67227a8b [5468] Added warning about large responses to lease4-get-all. 2018-01-12 20:08:49 +01:00
Marcin Siodelski
369245e4c5 [master] Merge branch 'trac5472' 2018-01-12 18:04:55 +01:00
Francis Dupont
8387bc7d45 [5420] Moved memfile to logfile 2018-01-12 10:19:07 +01:00
Tomek Mrugalski
e37606fd2d [master] Merge branch 'github37' (Cassandra host reservations)
# Conflicts:
#	src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc
2018-01-11 15:43:59 +01:00
Tomek Mrugalski
8060cb7874 [github37] Various changes after review 2018-01-11 15:32:48 +01:00
Marcin Siodelski
75e555d573 [5468] Added a section about lease4-get-all command in the User's Guide. 2018-01-10 11:03:04 +01:00
Marcin Siodelski
f69a91bd09 [5472] Updated User's Guide with the "force-create" leaseX-update parameter. 2018-01-08 18:05:27 +01:00
Francis Dupont
6f93678065 [5420] Updated doc 2018-01-06 09:24:32 +01:00