]> git.ipfire.org Git - thirdparty/kea.git/log
thirdparty/kea.git
7 years ago[5596] renew-timer and rebind-timer now optional for DHCPv4
Thomas Markwalder [Fri, 25 May 2018 15:12:30 +0000 (11:12 -0400)] 
[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

7 years ago[master] Added ChangeLog entry 1405 for #5625
Thomas Markwalder [Fri, 18 May 2018 19:08:54 +0000 (15:08 -0400)] 
[master] Added ChangeLog entry 1405 for #5625

7 years ago[master] Corrected missing "override" warnings in cql_lease_mgr.h
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'

7 years ago[master] version changed to 1.4.0-beta-git
Wlodek Wencel [Fri, 18 May 2018 18:14:00 +0000 (20:14 +0200)] 
[master] version changed to 1.4.0-beta-git

7 years ago[5625] Corrected missing "override" warning in cql_lease_mgr.h
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

7 years ago[master] cleaning code before release trac5549a_base
Wlodek Wencel [Wed, 16 May 2018 22:21:51 +0000 (00:21 +0200)] 
[master] cleaning code before release

7 years ago[master] ChangeLog updated after #5427 merged.
Tomek Mrugalski [Wed, 16 May 2018 19:19:46 +0000 (21:19 +0200)] 
[master] ChangeLog updated after #5427 merged.

7 years ago[6427] Added hooks installation dir.
Tomek Mrugalski [Wed, 16 May 2018 19:10:44 +0000 (21:10 +0200)] 
[6427] Added hooks installation dir.

7 years ago[5427] Added lib location paragraph
Thomas Markwalder [Wed, 16 May 2018 18:24:49 +0000 (14:24 -0400)] 
[5427] Added lib location paragraph

7 years ago[5427] Describe hook package installation procedure.
Tomek Mrugalski [Wed, 16 May 2018 17:35:24 +0000 (19:35 +0200)] 
[5427] Describe hook package installation procedure.

7 years agoMerge branch 'master' of ssh://git.kea.isc.org/git/kea
Tomek Mrugalski [Wed, 16 May 2018 18:43:34 +0000 (20:43 +0200)] 
Merge branch 'master' of ssh://git.kea.isc.org/git/kea

7 years ago[master] Bump up hooks framework version number for 1.4 beta.
Marcin Siodelski [Wed, 16 May 2018 18:27:43 +0000 (20:27 +0200)] 
[master] Bump up hooks framework version number for 1.4 beta.

7 years ago[5619] ChangeLog updated.
Tomek Mrugalski [Wed, 16 May 2018 17:56:05 +0000 (19:56 +0200)] 
[5619] ChangeLog updated.

7 years ago[5619] Revert "[5619] Moved premium/config.m4 to m4macros/premium.m4"
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.

7 years ago[5619] Moved premium/config.m4 to m4macros/premium.m4
Tomek Mrugalski [Mon, 14 May 2018 16:47:37 +0000 (18:47 +0200)] 
[5619] Moved premium/config.m4 to m4macros/premium.m4

7 years ago[5619] Obsolete variable removed
Tomek Mrugalski [Mon, 14 May 2018 16:05:55 +0000 (18:05 +0200)] 
[5619] Obsolete variable removed

7 years ago[5619] Hook packages compilation updated.
Tomek Mrugalski [Mon, 14 May 2018 13:10:03 +0000 (15:10 +0200)] 
[5619] Hook packages compilation updated.

7 years ago[master] Do not use std::rand in long response unit test.
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.

7 years ago[master] Merged trac5617 (RADIUS reselect subnet)
Francis Dupont [Wed, 16 May 2018 14:53:29 +0000 (16:53 +0200)] 
[master] Merged trac5617 (RADIUS reselect subnet)

7 years ago[5617] Removed spurious module files
Francis Dupont [Wed, 16 May 2018 14:43:06 +0000 (16:43 +0200)] 
[5617] Removed spurious module files

7 years ago[master] Fixed race in the Observation test.
Marcin Siodelski [Wed, 16 May 2018 14:42:15 +0000 (16:42 +0200)] 
[master] Fixed race in the Observation test.

Okayed on jabber.

7 years ago[5617] re-select -> reselect (according to Thomas and his dict)
Francis Dupont [Wed, 16 May 2018 14:41:02 +0000 (16:41 +0200)] 
[5617] re-select -> reselect (according to Thomas and his dict)

7 years agoMerge branch 'master' of ssh://git.kea.isc.org/git/kea
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

7 years ago[master] ChangeLog updated.
Tomek Mrugalski [Wed, 16 May 2018 14:18:38 +0000 (16:18 +0200)] 
[master] ChangeLog updated.

7 years ago[master] Added ChangeLog entry 1401 for #5564
Thomas Markwalder [Wed, 16 May 2018 14:14:58 +0000 (10:14 -0400)] 
[master] Added ChangeLog entry 1401 for #5564

7 years ago[master] Kea servers discard packets before reconfig and exit
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'

7 years ago[5617] Updated doc and example
Francis Dupont [Wed, 16 May 2018 13:51:36 +0000 (15:51 +0200)] 
[5617] Updated doc and example

7 years ago[5577] Changes after review:
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

7 years ago[5577] Improved the fix, added unit-test.
Tomek Mrugalski [Wed, 16 May 2018 11:56:17 +0000 (13:56 +0200)] 
[5577] Improved the fix, added unit-test.

7 years ago[5577] Another case of out-of-bound access
Francis Dupont [Sat, 31 Mar 2018 16:48:38 +0000 (18:48 +0200)] 
[5577] Another case of out-of-bound access

7 years ago[5577] Fixed out of bound bug
Francis Dupont [Mon, 26 Mar 2018 16:51:16 +0000 (18:51 +0200)] 
[5577] Fixed out of bound bug

7 years ago[master] Added ChangeLog 1400 for #5589.
Thomas Markwalder [Wed, 16 May 2018 13:44:16 +0000 (09:44 -0400)] 
[master] Added ChangeLog 1400 for #5589.

7 years ago[master] Added new Stat Cmds hooks lib to open source repo
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'

7 years ago[master] Added ChangeLog entry 1399 for #5588.
Thomas Markwalder [Wed, 16 May 2018 13:10:11 +0000 (09:10 -0400)] 
[master] Added ChangeLog entry 1399 for #5588.

7 years ago[master] CQL backend supports lease stat queries with where clauses
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'

7 years ago[5564] Changes after review:
Tomek Mrugalski [Wed, 16 May 2018 12:42:55 +0000 (14:42 +0200)] 
[5564] Changes after review:

 - dumpPackets renamed to discardPackets
 - added missing comments

7 years ago[master] Added ChangeLog entry for #5515.
Marcin Siodelski [Wed, 16 May 2018 12:27:19 +0000 (14:27 +0200)] 
[master] Added ChangeLog entry for #5515.

7 years ago[master] Merge branch 'trac5515a'
Marcin Siodelski [Wed, 16 May 2018 12:20:59 +0000 (14:20 +0200)] 
[master] Merge branch 'trac5515a'

7 years ago[5515] Fixed adjustIfaceDataUseRouting unit test
Francis Dupont [Tue, 6 Mar 2018 16:31:41 +0000 (17:31 +0100)] 
[5515] Fixed adjustIfaceDataUseRouting unit test

7 years ago[5515] Fixed the bug
Francis Dupont [Fri, 26 Jan 2018 10:50:55 +0000 (11:50 +0100)] 
[5515] Fixed the bug

7 years ago[5589] Addressed more review comments
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;

7 years ago[master] Added ChangeLog for #5620.
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.

7 years ago[master] Merge branch 'trac5620'
Marcin Siodelski [Wed, 16 May 2018 10:58:28 +0000 (12:58 +0200)] 
[master] Merge branch 'trac5620'

7 years ago[5589] Minor docs corrections as a result of second review.
Marcin Siodelski [Wed, 16 May 2018 10:49:52 +0000 (12:49 +0200)] 
[5589] Minor docs corrections as a result of second review.

7 years ago[5588] Updated some doxygen for CQL as a result of 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.

7 years ago[5564] Servers dump cached and parked packets on reconfig and shutdown
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

7 years ago[5589] Added todo in unit test.
Thomas Markwalder [Tue, 15 May 2018 18:01:34 +0000 (14:01 -0400)] 
[5589] Added todo in unit test.

7 years ago[5589] Addressed review comments except for unit tests not loading library
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.

7 years ago[5589] Fix some little typos as a result of review.
Marcin Siodelski [Tue, 15 May 2018 11:33:44 +0000 (13:33 +0200)] 
[5589] Fix some little typos as a result of review.

7 years ago[5589] Updated XML corrections to the hooks-stats-lib doc.
Marcin Siodelski [Tue, 15 May 2018 11:33:26 +0000 (13:33 +0200)] 
[5589] Updated XML corrections to the hooks-stats-lib doc.

7 years ago[5620] Http client uses stripped IPv6 address.
Marcin Siodelski [Mon, 14 May 2018 14:59:16 +0000 (16:59 +0200)] 
[5620] Http client uses stripped IPv6 address.

7 years ago[5589] Added leases to unit tests
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()

7 years ago[5620] Added Url method for retrieving stripped hostname
Marcin Siodelski [Mon, 14 May 2018 14:18:38 +0000 (16:18 +0200)] 
[5620] Added Url method for retrieving stripped hostname

7 years ago[5580] Added developor and admin doc
Thomas Markwalder [Mon, 14 May 2018 11:32:06 +0000 (07:32 -0400)] 
[5580] Added developor and admin doc

7 years ago[master] Corrected examples for lease4-wipe (comment fix)
Tomek Mrugalski [Mon, 14 May 2018 10:57:40 +0000 (12:57 +0200)] 
[master] Corrected examples for lease4-wipe (comment fix)

7 years ago[master] Removed unused num_subnets
Francis Dupont [Sat, 12 May 2018 11:39:28 +0000 (13:39 +0200)] 
[master] Removed unused num_subnets

7 years ago[master] Merge branch 'master' of ssh://git.kea.isc.org/git/kea
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

7 years ago[master] assignIA_PD does not use answer
Francis Dupont [Sat, 12 May 2018 10:22:12 +0000 (12:22 +0200)] 
[master] assignIA_PD does not use answer

7 years ago[5617] Moved selector init to library
Francis Dupont [Fri, 11 May 2018 14:35:04 +0000 (16:35 +0200)] 
[5617] Moved selector init to library

7 years ago[master] Added ChangeLog entries 1395 and 1396 for 5586 and 5587 respectively
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

7 years ago[master] PostgreSQL support for shared lease stats implemented
Thomas Markwalder [Fri, 11 May 2018 14:24:30 +0000 (10:24 -0400)] 
[master] PostgreSQL support for shared lease stats implemented

    Merge branch 'trac5587'

7 years ago[5587] Fixed a typo per review comment
Thomas Markwalder [Fri, 11 May 2018 10:47:43 +0000 (06:47 -0400)] 
[5587] Fixed a typo per review comment

7 years ago[master] Merge branch 'trac5565'
Marcin Siodelski [Thu, 10 May 2018 16:57:15 +0000 (18:57 +0200)] 
[master] Merge branch 'trac5565'

7 years ago[master] Added ChangeLog entry for #5478.
Marcin Siodelski [Thu, 10 May 2018 16:43:59 +0000 (18:43 +0200)] 
[master] Added ChangeLog entry for #5478.

7 years ago[master] Merge branch 'trac5478a'
Marcin Siodelski [Thu, 10 May 2018 16:10:58 +0000 (18:10 +0200)] 
[master] Merge branch 'trac5478a'

7 years ago[5478] Added example HA configuration for DHCPv6.
Marcin Siodelski [Thu, 10 May 2018 14:35:52 +0000 (16:35 +0200)] 
[5478] Added example HA configuration for DHCPv6.

7 years ago[5478] Added example for the load balancing in DHCPv4.
Marcin Siodelski [Thu, 10 May 2018 14:22:16 +0000 (16:22 +0200)] 
[5478] Added example for the load balancing in DHCPv4.

7 years ago[5478] Timers in HA configuration are in milliseconds.
Marcin Siodelski [Thu, 10 May 2018 13:54:18 +0000 (15:54 +0200)] 
[5478] Timers in HA configuration are in milliseconds.

7 years ago[5478] Added section about sending lease updates setting.
Marcin Siodelski [Thu, 10 May 2018 11:32:12 +0000 (13:32 +0200)] 
[5478] Added section about sending lease updates setting.

7 years ago[5478] Documented default value of auto-failover.
Marcin Siodelski [Thu, 10 May 2018 11:10:45 +0000 (13:10 +0200)] 
[5478] Documented default value of auto-failover.

7 years ago[5478] Added a section about transitioning between the servers.
Marcin Siodelski [Thu, 10 May 2018 11:08:03 +0000 (13:08 +0200)] 
[5478] Added a section about transitioning between the servers.

7 years ago[5478] Addressed most of the review comments.
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.

7 years ago[5478] Minor updates to libdhcp_ha.so brief description.
Marcin Siodelski [Wed, 9 May 2018 15:17:44 +0000 (17:17 +0200)] 
[5478] Minor updates to libdhcp_ha.so brief description.

7 years ago[5478] High Availability lib section moved to another xml file.
Marcin Siodelski [Wed, 9 May 2018 15:13:14 +0000 (17:13 +0200)] 
[5478] High Availability lib section moved to another xml file.

7 years ago[5478] Changes after review:
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

7 years ago[5478] Provided HA + advanced classification example.
Marcin Siodelski [Thu, 12 Apr 2018 16:18:01 +0000 (18:18 +0200)] 
[5478] Provided HA + advanced classification example.

7 years ago[5478] Default configuration values documented.
Marcin Siodelski [Tue, 10 Apr 2018 09:33:32 +0000 (11:33 +0200)] 
[5478] Default configuration values documented.

7 years ago[5478] Described HA specific commands.
Marcin Siodelski [Tue, 10 Apr 2018 09:02:46 +0000 (11:02 +0200)] 
[5478] Described HA specific commands.

7 years ago[5478] Added User's Guide section with CA configuration for HA.
Marcin Siodelski [Tue, 10 Apr 2018 07:51:24 +0000 (09:51 +0200)] 
[5478] Added User's Guide section with CA configuration for HA.

7 years ago[5478] Described hot-standby configuration in the User's Guide.
Marcin Siodelski [Mon, 9 Apr 2018 16:52:09 +0000 (18:52 +0200)] 
[5478] Described hot-standby configuration in the User's Guide.

7 years ago[5478] Load balancing configuration described.
Marcin Siodelski [Mon, 9 Apr 2018 09:53:40 +0000 (11:53 +0200)] 
[5478] Load balancing configuration described.

7 years ago[5478] Initial documentation for the HA hook library.
Marcin Siodelski [Thu, 5 Apr 2018 11:30:48 +0000 (13:30 +0200)] 
[5478] Initial documentation for the HA hook library.

7 years ago[5589] Initial checkin
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

7 years ago[5588] Cassandra shared lease stats support implemented
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)

7 years ago[5587] PostgreSQL support for shared lease stats implementation
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)

7 years ago[master] MySQL support for shared lease stats implemented trac5536_base trac5617_base
Thomas Markwalder [Wed, 9 May 2018 15:19:54 +0000 (11:19 -0400)] 
[master] MySQL support for shared lease stats implemented

    Merge branch 'trac5586'

7 years ago[5586] Addressed further review comments
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

7 years ago[master] Added ChangeLog for #5590.
Marcin Siodelski [Wed, 9 May 2018 12:53:33 +0000 (14:53 +0200)] 
[master] Added ChangeLog for #5590.

7 years ago[master] Merge branch 'trac5590'
Marcin Siodelski [Wed, 9 May 2018 12:43:21 +0000 (14:43 +0200)] 
[master] Merge branch 'trac5590'

7 years ago[master] Merged trac5609 (more DHCPv6 park unit tests)
Francis Dupont [Wed, 9 May 2018 10:28:17 +0000 (12:28 +0200)] 
[master] Merged trac5609 (more DHCPv6 park unit tests)

7 years ago[5586] Restored compiled out unit test
Thomas Markwalder [Tue, 8 May 2018 19:53:11 +0000 (15:53 -0400)] 
[5586] Restored compiled out unit test

    src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc

7 years ago[5586] Added schema unit tests
Thomas Markwalder [Tue, 8 May 2018 18:41:40 +0000 (14:41 -0400)] 
[5586] Added schema unit tests

src/share/database/scripts/mysql/upgrade_5.2_to_6.0.sh.in
    Added SQL statements to populate lease4/6_stat tables
    from existing lease table content.

src/bin/admin/tests/dhcpdb_create_5.1.mysql
    New file used for upgrade testing

src/bin/admin/tests/mysql_tests.sh.in
    run_statement() - new convenience function for running SQL
    statements with an optional expected return value

    mysql_lease4_stat_test() - verifies lease4_stat
    table and trigger operations on a new database

    mysql_lease6_stat_test()
    mysql_lease6_stat_per_type() - new functions
    which lease6_stat table and trigger operations
    on a new database

    mysql_lease_stat_upgrade_test() - new function
    which verifies data migration from an earlier
    schema and trigger operation

7 years ago[5590] Bumped up library version numbers for beta release.
Marcin Siodelski [Tue, 8 May 2018 11:05:48 +0000 (13:05 +0200)] 
[5590] Bumped up library version numbers for beta release.

7 years ago[5590] Updated included headers for dhcpsrv library.
Marcin Siodelski [Tue, 8 May 2018 09:05:00 +0000 (11:05 +0200)] 
[5590] Updated included headers for dhcpsrv library.

7 years ago[5590] Updated included headers in hooks library.
Marcin Siodelski [Tue, 8 May 2018 08:58:17 +0000 (10:58 +0200)] 
[5590] Updated included headers in hooks library.

7 years ago[5590] Updated included headers in http library.
Marcin Siodelski [Tue, 8 May 2018 08:56:44 +0000 (10:56 +0200)] 
[5590] Updated included headers in http library.

7 years ago[5609] Several minor fixes as a result of the review.
Marcin Siodelski [Tue, 8 May 2018 08:01:16 +0000 (10:01 +0200)] 
[5609] Several minor fixes as a result of the review.

- Two clients share server instance in leases6_committed tests.
- Updated some of the test descriptions.

7 years ago[master] Merged trac5605a (RADIUS fixes - selectSubnet4 sanity_only)
Francis Dupont [Mon, 7 May 2018 16:18:36 +0000 (18:18 +0200)] 
[master] Merged trac5605a (RADIUS fixes - selectSubnet4 sanity_only)

7 years ago[5605a] cleanup
Francis Dupont [Mon, 7 May 2018 16:16:05 +0000 (18:16 +0200)] 
[5605a] cleanup

7 years ago[5605a] Minor changes after review:
Tomek Mrugalski [Mon, 7 May 2018 15:25:17 +0000 (17:25 +0200)] 
[5605a] Minor changes after review:

 - comments added