]>
git.ipfire.org Git - thirdparty/kea.git/log
Tomek Mrugalski [Tue, 24 Apr 2018 08:05:38 +0000 (09:05 +0100)]
[github77] Unittests written
Tomek Mrugalski [Tue, 24 Apr 2018 08:02:04 +0000 (09:02 +0100)]
[github77] -o code,hexstring is now supported in perfdhcp
Wlodek Wencel [Thu, 24 May 2018 11:22:09 +0000 (13:22 +0200)]
[master] Date updated in kea-shell guide
Wlodek Wencel [Thu, 24 May 2018 11:17:10 +0000 (13:17 +0200)]
[master] Copyright update to 2018
Thomas Markwalder [Wed, 23 May 2018 18:23:13 +0000 (14:23 -0400)]
[master] Added ChangeLog entry 1407 for #5626
Thomas Markwalder [Wed, 23 May 2018 18:20:55 +0000 (14:20 -0400)]
[master] TimerMgr dtor no longer emits log statements
Merges in 5626.
Francis Dupont [Wed, 23 May 2018 13:55:44 +0000 (15:55 +0200)]
[master] cql-static-link -> lib
Francis Dupont [Wed, 23 May 2018 08:09:03 +0000 (10:09 +0200)]
[master] Updated git hash
Francis Dupont [Wed, 23 May 2018 08:08:21 +0000 (10:08 +0200)]
[master] Finished merge of trac5488 / PR71 (pkg-config for --with-cql)
Francis Dupont [Wed, 23 May 2018 08:05:27 +0000 (10:05 +0200)]
[master] Merged trac5488 / PR71 (pkg-config for --with-cql)
Thomas Markwalder [Mon, 21 May 2018 11:44:15 +0000 (07:44 -0400)]
[5488] Minor wording changes
Francis Dupont [Sat, 19 May 2018 13:37:53 +0000 (15:37 +0200)]
[5488] Updated doc
Thomas Markwalder [Fri, 18 May 2018 19:08:54 +0000 (15:08 -0400)]
[master] Added ChangeLog entry 1405 for #5625
Thomas Markwalder [Fri, 18 May 2018 19:04:09 +0000 (15:04 -0400)]
[master] Corrected missing "override" warnings in cql_lease_mgr.h
Merge branch 'trac5625'
Wlodek Wencel [Fri, 18 May 2018 18:14:00 +0000 (20:14 +0200)]
[master] version changed to 1.4.0-beta-git
Thomas Markwalder [Fri, 18 May 2018 15:26:13 +0000 (11:26 -0400)]
[5625] Corrected missing "override" warning in cql_lease_mgr.h
src/lib/dhcpsrv/cql_lease_mgr.h
Added override to lease query functions from which it was omitted
Thomas Markwalder [Thu, 17 May 2018 20:14:57 +0000 (16:14 -0400)]
[5626] TimeMgr destructor now avoids logging messages
src/lib/dhcpsrv/timer_mgr.cc
~TimerMrg() was modified to call
TimerMgrImpl::unregisterTimers() as this avoids
emitting any logs. Now it no longer matters
if the loggers are destroyed first.
Wlodek Wencel [Wed, 16 May 2018 22:21:51 +0000 (00:21 +0200)]
[master] cleaning code before release
Tomek Mrugalski [Wed, 16 May 2018 19:19:46 +0000 (21:19 +0200)]
[master] ChangeLog updated after #5427 merged.
Tomek Mrugalski [Wed, 16 May 2018 19:10:44 +0000 (21:10 +0200)]
[6427] Added hooks installation dir.
Thomas Markwalder [Wed, 16 May 2018 18:24:49 +0000 (14:24 -0400)]
[5427] Added lib location paragraph
Tomek Mrugalski [Wed, 16 May 2018 17:35:24 +0000 (19:35 +0200)]
[5427] Describe hook package installation procedure.
Tomek Mrugalski [Wed, 16 May 2018 18:43:34 +0000 (20:43 +0200)]
Merge branch 'master' of ssh://git.kea.isc.org/git/kea
Marcin Siodelski [Wed, 16 May 2018 18:27:43 +0000 (20:27 +0200)]
[master] Bump up hooks framework version number for 1.4 beta.
Tomek Mrugalski [Wed, 16 May 2018 17:56:05 +0000 (19:56 +0200)]
[5619] ChangeLog updated.
Tomek Mrugalski [Wed, 16 May 2018 06:42:11 +0000 (08:42 +0200)]
[5619] Revert "[5619] Moved premium/config.m4 to m4macros/premium.m4"
This reverts commit
cc409fb6f03259393c9f5f07d8b117039f8d4891 .
Tomek Mrugalski [Mon, 14 May 2018 16:47:37 +0000 (18:47 +0200)]
[5619] Moved premium/config.m4 to m4macros/premium.m4
Tomek Mrugalski [Mon, 14 May 2018 16:05:55 +0000 (18:05 +0200)]
[5619] Obsolete variable removed
Tomek Mrugalski [Mon, 14 May 2018 13:10:03 +0000 (15:10 +0200)]
[5619] Hook packages compilation updated.
Marcin Siodelski [Wed, 16 May 2018 16:27:40 +0000 (18:27 +0200)]
[master] Do not use std::rand in long response unit test.
It gives unpredictable results on OpenBSD. Okayed on jabber.
Thomas Markwalder [Wed, 16 May 2018 15:17:32 +0000 (11:17 -0400)]
[5488] Fixed syntax error in configure.ac
Variable reference needed quotes.
Francis Dupont [Wed, 16 May 2018 14:53:29 +0000 (16:53 +0200)]
[master] Merged trac5617 (RADIUS reselect subnet)
Francis Dupont [Wed, 16 May 2018 14:43:06 +0000 (16:43 +0200)]
[5617] Removed spurious module files
Marcin Siodelski [Wed, 16 May 2018 14:42:15 +0000 (16:42 +0200)]
[master] Fixed race in the Observation test.
Okayed on jabber.
Francis Dupont [Wed, 16 May 2018 14:41:02 +0000 (16:41 +0200)]
[5617] re-select -> reselect (according to Thomas and his dict)
Tomek Mrugalski [Wed, 16 May 2018 14:20:01 +0000 (16:20 +0200)]
Merge branch 'master' of ssh://git.kea.isc.org/git/kea
# Conflicts:
# ChangeLog
Tomek Mrugalski [Wed, 16 May 2018 14:18:38 +0000 (16:18 +0200)]
[master] ChangeLog updated.
Thomas Markwalder [Wed, 16 May 2018 14:14:58 +0000 (10:14 -0400)]
[master] Added ChangeLog entry 1401 for #5564
Thomas Markwalder [Wed, 16 May 2018 14:12:57 +0000 (10:12 -0400)]
[master] Kea servers discard packets before reconfig and exit
Merge branch 'trac5564'
Francis Dupont [Wed, 16 May 2018 13:51:36 +0000 (15:51 +0200)]
[5617] Updated doc and example
Tomek Mrugalski [Wed, 16 May 2018 13:47:16 +0000 (15:47 +0200)]
[5577] Changes after review:
- copyright updated
- ensureHookLibsVectorSize is now private
- methods renamed as suggested by Marcin
Tomek Mrugalski [Wed, 16 May 2018 11:56:17 +0000 (13:56 +0200)]
[5577] Improved the fix, added unit-test.
Francis Dupont [Sat, 31 Mar 2018 16:48:38 +0000 (18:48 +0200)]
[5577] Another case of out-of-bound access
Francis Dupont [Mon, 26 Mar 2018 16:51:16 +0000 (18:51 +0200)]
[5577] Fixed out of bound bug
Thomas Markwalder [Wed, 16 May 2018 13:44:16 +0000 (09:44 -0400)]
[master] Added ChangeLog 1400 for #5589.
Thomas Markwalder [Wed, 16 May 2018 13:41:58 +0000 (09:41 -0400)]
[master] Added new Stat Cmds hooks lib to open source repo
Merge branch 'trac5589'
Thomas Markwalder [Wed, 16 May 2018 13:10:11 +0000 (09:10 -0400)]
[master] Added ChangeLog entry 1399 for #5588.
Thomas Markwalder [Wed, 16 May 2018 13:06:42 +0000 (09:06 -0400)]
[master] CQL backend supports lease stat queries with where clauses
Merge branch 'trac5588'
Tomek Mrugalski [Wed, 16 May 2018 12:42:55 +0000 (14:42 +0200)]
[5564] Changes after review:
- dumpPackets renamed to discardPackets
- added missing comments
Marcin Siodelski [Wed, 16 May 2018 12:27:19 +0000 (14:27 +0200)]
[master] Added ChangeLog entry for #5515.
Marcin Siodelski [Wed, 16 May 2018 12:20:59 +0000 (14:20 +0200)]
[master] Merge branch 'trac5515a'
Francis Dupont [Tue, 6 Mar 2018 16:31:41 +0000 (17:31 +0100)]
[5515] Fixed adjustIfaceDataUseRouting unit test
Francis Dupont [Fri, 26 Jan 2018 10:50:55 +0000 (11:50 +0100)]
[5515] Fixed the bug
Thomas Markwalder [Wed, 16 May 2018 11:27:01 +0000 (07:27 -0400)]
[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;
Marcin Siodelski [Wed, 16 May 2018 11:13:37 +0000 (13:13 +0200)]
[master] Added ChangeLog for #5620.
Also, corrected whitespaces in the preceding entry.
Marcin Siodelski [Wed, 16 May 2018 10:58:28 +0000 (12:58 +0200)]
[master] Merge branch 'trac5620'
Marcin Siodelski [Wed, 16 May 2018 10:49:52 +0000 (12:49 +0200)]
[5589] Minor docs corrections as a result of second review.
Marcin Siodelski [Wed, 16 May 2018 10:04:02 +0000 (12:04 +0200)]
[5588] Updated some doxygen for CQL as a result of review.
Thomas Markwalder [Tue, 15 May 2018 19:56:18 +0000 (15:56 -0400)]
[5564] Servers dump cached and parked packets on reconfig and shutdown
src/bin/dhcp4/dhcp4_srv.*
- dumpPackets() - new function that frees all cached and parked packets
- Dhcpv4Srv::~Dhcpv4Srv() - added call to dumpPackets() for cleanliness
src/bin/dhcp4/json_config_parser.cc
configureDhcp4Server() - added a call Dhcpv4Srv::dumpPackets()
src/bin/dhcp6/dhcp6_srv.*
- dumpPackets() - new function that frees all cached and parked packets
- Dhcpv6Srv::~Dhcpv6Srv() - added call to dumpPackets() for cleanliness
src/bin/dhcp6/json_config_parser.cc
configureDhcp6Server() - added a call Dhcpv6Srv::dumpPackets()
src/lib/hooks/hooks_manager.h
- clearParkingLots() - new convenience function for clearing
all parking lots
- clearParkingLotsInternal() - private impl of the above
Thomas Markwalder [Tue, 15 May 2018 18:01:34 +0000 (14:01 -0400)]
[5589] Added todo in unit test.
Thomas Markwalder [Tue, 15 May 2018 17:33:50 +0000 (13:33 -0400)]
[5589] Addressed review comments except for unit tests not loading library
Too numerous to mention.
Marcin Siodelski [Tue, 15 May 2018 11:33:44 +0000 (13:33 +0200)]
[5589] Fix some little typos as a result of review.
Marcin Siodelski [Tue, 15 May 2018 11:33:26 +0000 (13:33 +0200)]
[5589] Updated XML corrections to the hooks-stats-lib doc.
Marcin Siodelski [Mon, 14 May 2018 14:59:16 +0000 (16:59 +0200)]
[5620] Http client uses stripped IPv6 address.
Thomas Markwalder [Mon, 14 May 2018 14:21:41 +0000 (10:21 -0400)]
[5589] Added leases to unit tests
src/hooks/dhcp/stat_cmds/tests/stat_cmds_unittest.cc
Added leases and PDs to unit tests
src/hooks/dhcp/stat_cmds/stat_cmds.cc
Fixed loop logic in makeResult6()
Marcin Siodelski [Mon, 14 May 2018 14:18:38 +0000 (16:18 +0200)]
[5620] Added Url method for retrieving stripped hostname
Thomas Markwalder [Mon, 14 May 2018 11:32:06 +0000 (07:32 -0400)]
[5580] Added developor and admin doc
Tomek Mrugalski [Mon, 14 May 2018 10:57:40 +0000 (12:57 +0200)]
[master] Corrected examples for lease4-wipe (comment fix)
Francis Dupont [Sat, 12 May 2018 11:39:28 +0000 (13:39 +0200)]
[master] Removed unused num_subnets
Francis Dupont [Sat, 12 May 2018 10:23:47 +0000 (12:23 +0200)]
[master] Merge branch 'master' of ssh://git.kea.isc.org/git/kea
Francis Dupont [Sat, 12 May 2018 10:22:12 +0000 (12:22 +0200)]
[master] assignIA_PD does not use answer
Francis Dupont [Fri, 11 May 2018 14:35:04 +0000 (16:35 +0200)]
[5617] Moved selector init to library
Thomas Markwalder [Fri, 11 May 2018 14:26:21 +0000 (10:26 -0400)]
[master] Added ChangeLog entries 1395 and 1396 for 5586 and 5587 respectively
Thomas Markwalder [Fri, 11 May 2018 14:24:30 +0000 (10:24 -0400)]
[master] PostgreSQL support for shared lease stats implemented
Merge branch 'trac5587'
Thomas Markwalder [Fri, 11 May 2018 10:47:43 +0000 (06:47 -0400)]
[5587] Fixed a typo per review comment
Marcin Siodelski [Thu, 10 May 2018 16:57:15 +0000 (18:57 +0200)]
[master] Merge branch 'trac5565'
Marcin Siodelski [Thu, 10 May 2018 16:43:59 +0000 (18:43 +0200)]
[master] Added ChangeLog entry for #5478.
Marcin Siodelski [Thu, 10 May 2018 16:10:58 +0000 (18:10 +0200)]
[master] Merge branch 'trac5478a'
Marcin Siodelski [Thu, 10 May 2018 14:35:52 +0000 (16:35 +0200)]
[5478] Added example HA configuration for DHCPv6.
Marcin Siodelski [Thu, 10 May 2018 14:22:16 +0000 (16:22 +0200)]
[5478] Added example for the load balancing in DHCPv4.
Marcin Siodelski [Thu, 10 May 2018 13:54:18 +0000 (15:54 +0200)]
[5478] Timers in HA configuration are in milliseconds.
Marcin Siodelski [Thu, 10 May 2018 11:32:12 +0000 (13:32 +0200)]
[5478] Added section about sending lease updates setting.
Marcin Siodelski [Thu, 10 May 2018 11:10:45 +0000 (13:10 +0200)]
[5478] Documented default value of auto-failover.
Marcin Siodelski [Thu, 10 May 2018 11:08:03 +0000 (13:08 +0200)]
[5478] Added a section about transitioning between the servers.
Marcin Siodelski [Thu, 10 May 2018 10:02:52 +0000 (12:02 +0200)]
[5478] Addressed most of the review comments.
Focusing on minor additions and corrections.
Marcin Siodelski [Wed, 9 May 2018 15:17:44 +0000 (17:17 +0200)]
[5478] Minor updates to libdhcp_ha.so brief description.
Marcin Siodelski [Wed, 9 May 2018 15:13:14 +0000 (17:13 +0200)]
[5478] High Availability lib section moved to another xml file.
Tomek Mrugalski [Tue, 8 May 2018 14:20:33 +0000 (16:20 +0200)]
[5478] Changes after review:
- HA lib description updated
- wrote extra text about IETF failover
- couple other small nits
Marcin Siodelski [Thu, 12 Apr 2018 16:18:01 +0000 (18:18 +0200)]
[5478] Provided HA + advanced classification example.
Marcin Siodelski [Tue, 10 Apr 2018 09:33:32 +0000 (11:33 +0200)]
[5478] Default configuration values documented.
Marcin Siodelski [Tue, 10 Apr 2018 09:02:46 +0000 (11:02 +0200)]
[5478] Described HA specific commands.
Marcin Siodelski [Tue, 10 Apr 2018 07:51:24 +0000 (09:51 +0200)]
[5478] Added User's Guide section with CA configuration for HA.
Marcin Siodelski [Mon, 9 Apr 2018 16:52:09 +0000 (18:52 +0200)]
[5478] Described hot-standby configuration in the User's Guide.
Marcin Siodelski [Mon, 9 Apr 2018 09:53:40 +0000 (11:53 +0200)]
[5478] Load balancing configuration described.
Marcin Siodelski [Thu, 5 Apr 2018 11:30:48 +0000 (13:30 +0200)]
[5478] Initial documentation for the HA hook library.
Thomas Markwalder [Wed, 9 May 2018 20:00:10 +0000 (16:00 -0400)]
[5589] Initial checkin
New stat_cmds hook library initial commit.
Both stat-lease4/6-get commands implemented and unit tested
modified:
configure.ac
src/hooks/dhcp/Makefile.am
new:
src/hooks/dhcp/stat_cmds/.gitignore
src/hooks/dhcp/stat_cmds/Makefile.am
src/hooks/dhcp/stat_cmds/stat_cmds.cc
src/hooks/dhcp/stat_cmds/stat_cmds.dox
src/hooks/dhcp/stat_cmds/stat_cmds.h
src/hooks/dhcp/stat_cmds/stat_cmds_callouts.cc
src/hooks/dhcp/stat_cmds/stat_cmds_log.cc
src/hooks/dhcp/stat_cmds/stat_cmds_log.h
src/hooks/dhcp/stat_cmds/stat_cmds_messages.mes
src/hooks/dhcp/stat_cmds/tests/.gitignore
src/hooks/dhcp/stat_cmds/tests/Makefile.am
src/hooks/dhcp/stat_cmds/tests/run_unittests.cc
src/hooks/dhcp/stat_cmds/tests/stat_cmds_unittest.cc
src/hooks/dhcp/stat_cmds/version.cc
Thomas Markwalder [Wed, 9 May 2018 19:18:49 +0000 (15:18 -0400)]
[5588] Cassandra shared lease stats support implemented
Note this impl is done with calculate-on-demand SQL
statements rather than stat tables pluse triggers.
src/lib/dhcpsrv/cql_lease_mgr.*
Added new SQL statements for lease stats queries
CqlLeaseStatsQuery
Constructors - added variants to support where clause params
start() - modified to support query variants based
on where clause params
CqlSqlLeaseMgr
Added start variants:
- startSubnetLeaseStatsQuery4(const SubnetID& subnet_id)
- startSubnetRangeLeaseStatsQuery4(const SubnetID& first_subnet_id,
const SubnetID& last_subnet_id)
src/lib/dhcpsrv/tests/cql_lease_mgr_unittest.cc
New unit tests:
- TEST_F(CqlLeaseMgrTest, leaseStatsQuery4)
- TEST_F(CqlLeaseMgrTest, leaseStatsQuery6)
Thomas Markwalder [Wed, 9 May 2018 18:36:37 +0000 (14:36 -0400)]
[5587] PostgreSQL support for shared lease stats implementation
src/share/database/scripts/pgsql/dhcpdb_create.pgsql
Adds lease<4/6>_stat tables and triggers
src/share/database/scripts/pgsql/dhcpdb_drop.pgsql
Added drops for lease<4/6>_stat tables and triggers
src/share/database/scripts/pgsql/upgrade_3.3_to_4.0.sh.in
Adds lease<4/6>_stat tables and triggers
Populates stat tables from existing lease table content
src/bin/admin/tests/mysql_tests.sh.in
mysql_lease6_stat_per_type() - fixed typo in test
src/bin/admin/tests/pgsql_tests.sh.in
run_statement() - new convenience fucntion for
running statement with option expected outcome
pgsql_upgrade_schema_to_version() - new function
which converts the existing schema to a target version
pgsql_lease4_stat_test() - tests v4 stat table and
triggers in an new database
pgsql_lease6_stat_test() - tests v6 stat table and
triggers in an new database.
pgsql_lease6_stat_per_type() - helper function which
tests v6 stat table and triggers using a given address
and lease type
pgsql_lease_stat_upgrade_test() - tests data migration,
stat table and trigger operations on an upgraded database
src/lib/dhcpsrv/pgsql_lease_mgr.*
Added new SQL statements for lease stats queries
PgSqlLeaseStatsQuery
Constructors - added variants to support where clause params
start() - modified to support query variants based
on where clause params
PgSqlLeaseMgr
Added start variants:
- startSubnetLeaseStatsQuery4(const SubnetID& subnet_id)
- startSubnetRangeLeaseStatsQuery4(const SubnetID& first_subnet_id,
const SubnetID& last_subnet_id)
src/lib/dhcpsrv/tests/pgsql_lease_mgr_unittest.cc
New unit tests:
- TEST_F(PgSqlLeaseMgrTest, leaseStatsQuery4)
- TEST_F(PgSqlLeaseMgrTest, leaseStatsQuery6)
Thomas Markwalder [Wed, 9 May 2018 15:19:54 +0000 (11:19 -0400)]
[master] MySQL support for shared lease stats implemented
Merge branch 'trac5586'
Thomas Markwalder [Wed, 9 May 2018 13:52:54 +0000 (09:52 -0400)]
[5586] Addressed further review comments
src/bin/admin/tests/dhcpdb_create_5.1.mysql - deleted
src/bin/admin/tests/mysql_tests.sh.in
mysql_upgrade_schema_to_version() - new function which
upgrades an existing schema to a target version
mysql_lease_stat_upgrade_test() - modified to start with
1.0 schema and then use new function to upgrade to 4.0
src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc
mysql_lease_mgr_unittest.cc
Added condition compilation around INVALID_HOST scenario
that causes db connectivity tests to fail