]> git.ipfire.org Git - thirdparty/kea.git/log
thirdparty/kea.git
9 years ago[4626] Changes after review
Tomek Mrugalski [Thu, 25 Aug 2016 14:44:55 +0000 (16:44 +0200)] 
[4626] Changes after review
 - Dhcp4Srv::vendorClassSpecificProcessing removed
 - User's Guide updated
 - disabled obsolete test (will need to be rewritten to take advantage
   of new classification code)
 - classes definitions now use strings for server-name and filename
 - unused configuration removed from unit-tests
 - textFixedFields is now documented
 - Unit-tests now have short descriptions

9 years ago[4552] Addressed review comments.
Marcin Siodelski [Thu, 25 Aug 2016 13:33:54 +0000 (15:33 +0200)] 
[4552] Addressed review comments.

9 years ago[master] Fixed build issue when none of the SQL backends are enabled.
Marcin Siodelski [Thu, 25 Aug 2016 11:48:14 +0000 (13:48 +0200)] 
[master] Fixed build issue when none of the SQL backends are enabled.

9 years ago[4294] Changed Memfile stats recount to use existing per-address index
Thomas Markwalder [Thu, 25 Aug 2016 11:15:26 +0000 (07:15 -0400)] 
[4294] Changed Memfile stats recount to use existing per-address index

src/lib/dhcpsrv/memfile_lease_mgr.cc
    MemfileLeaseStatsQuery4::start()
    MemfileLeaseStatsQuery6::start() - both now rely on per-address index,
    rather than adding per subnet_id index.

src/lib/dhcpsrv/memfile_lease_storage.h
    Removed per subnet_id indexes

9 years ago[master] Added ChangeLog entry for #4489.
Marcin Siodelski [Thu, 25 Aug 2016 10:57:26 +0000 (12:57 +0200)] 
[master] Added ChangeLog entry for #4489.

9 years ago[master] Merge branch 'trac4489'
Marcin Siodelski [Thu, 25 Aug 2016 10:41:28 +0000 (12:41 +0200)] 
[master] Merge branch 'trac4489'

9 years ago[4489] Addressed second set of review comments.
Marcin Siodelski [Thu, 25 Aug 2016 07:09:19 +0000 (09:09 +0200)] 
[4489] Addressed second set of review comments.

Expand vector of statements depending on statement index and
some little fixes in doxygen.

9 years ago[4489] Miscellaneous editing changes to unit test documentation
Stephen Morris [Wed, 24 Aug 2016 22:43:31 +0000 (23:43 +0100)] 
[4489] Miscellaneous editing changes to unit test documentation

9 years ago[4294] Compilation fix, minor clean ups
Tomek Mrugalski [Wed, 24 Aug 2016 21:00:38 +0000 (23:00 +0200)] 
[4294] Compilation fix, minor clean ups

9 years ago[master] Created ChangeLog entry for #4494
Stephen Morris [Wed, 24 Aug 2016 19:41:52 +0000 (20:41 +0100)] 
[master] Created ChangeLog entry for #4494

9 years ago[master] Merge branch 'trac4494_new'
Stephen Morris [Wed, 24 Aug 2016 18:09:41 +0000 (19:09 +0100)] 
[master] Merge branch 'trac4494_new'

9 years ago[4626] Documentation for fixed fields in classification written.
Tomek Mrugalski [Wed, 24 Aug 2016 17:41:31 +0000 (19:41 +0200)] 
[4626] Documentation for fixed fields in classification written.

9 years ago[4626] Unit-tests implemented for parser.
Tomek Mrugalski [Wed, 24 Aug 2016 17:23:51 +0000 (19:23 +0200)] 
[4626] Unit-tests implemented for parser.

9 years ago[4626] Unit-tests for classification + fixed fields in DHCPv4 implemented.
Tomek Mrugalski [Wed, 24 Aug 2016 16:51:28 +0000 (18:51 +0200)] 
[4626] Unit-tests for classification + fixed fields in DHCPv4 implemented.

9 years ago[master] Merge branch 'trac4323'
Marcin Siodelski [Wed, 24 Aug 2016 16:27:12 +0000 (18:27 +0200)] 
[master] Merge branch 'trac4323'

9 years ago[4552] Renamed parameter "server-name" to "server-hostname".
Marcin Siodelski [Wed, 24 Aug 2016 15:01:48 +0000 (17:01 +0200)] 
[4552] Renamed parameter "server-name" to "server-hostname".

9 years ago[4294] Minor clean ups
Thomas Markwalder [Wed, 24 Aug 2016 14:40:34 +0000 (10:40 -0400)] 
[4294] Minor clean ups

9 years ago[4626] setFixedFields called for Discover, Request and InfRequest
Tomek Mrugalski [Wed, 24 Aug 2016 12:51:19 +0000 (14:51 +0200)] 
[4626] setFixedFields called for Discover, Request and InfRequest

9 years ago[4294] Refactored MySql stats classes
Thomas Markwalder [Wed, 24 Aug 2016 12:50:47 +0000 (08:50 -0400)] 
[4294] Refactored MySql stats classes

src/lib/dhcpsrv/mysql_lease_mgr.h
src/lib/dhcpsrv/mysql_lease_mgr.cc
    Replaced this class heirarchy:
        AddressStatsQuery4 <-- MySqlAddressStatsQuery4
        AddressStatsQuery6 <-- MySqlAddressStatsQuery6

    With this one:
        LeaseStatsQuery <-- MySqlLeaseStatsQuery

9 years ago[4626] class parser updated to handle next-server, server-name and boot-file-name
Tomek Mrugalski [Wed, 24 Aug 2016 12:30:16 +0000 (14:30 +0200)] 
[4626] class parser updated to handle next-server, server-name and boot-file-name

9 years ago[4494] Avoid referencing objects after destruction
Stephen Morris [Wed, 24 Aug 2016 12:01:26 +0000 (13:01 +0100)] 
[4494] Avoid referencing objects after destruction

In some cases destructors were referencing objects in the logger
that had been destroyed earlier, causing a segmentation violation.

9 years ago[4294] Refactored PgSql stats classes
Thomas Markwalder [Wed, 24 Aug 2016 11:23:05 +0000 (07:23 -0400)] 
[4294] Refactored PgSql stats classes

src/lib/dhcpsrv/pgsql_lease_mgr.h
src/lib/dhcpsrv/pgsql_lease_mgr.cc
        Replaced this class heirarchy:
        AddressStatsQuery4 <-- PgSqlAddressStatsQuery4
        AddressStatsQuery6 <-- PgSqlAddressStatsQuery6

        With this one:
        LeaseStatsQuery <-- PgSqlLeaseStatsQuery

9 years ago[4626] Prototype implementation for fields storage done.
Tomek Mrugalski [Wed, 24 Aug 2016 11:17:19 +0000 (13:17 +0200)] 
[4626] Prototype implementation for fields storage done.

9 years ago[4323] More updates to host_mgr unit tests as a result of review.
Marcin Siodelski [Wed, 24 Aug 2016 10:31:26 +0000 (12:31 +0200)] 
[4323] More updates to host_mgr unit tests as a result of review.

9 years ago[4323] Addressed review comments.
Marcin Siodelski [Wed, 24 Aug 2016 10:26:20 +0000 (12:26 +0200)] 
[4323] Addressed review comments.

A couple of minor changes in the host_mgr unit tests.

9 years ago[4294] Refactored AddressStatsRow and AddressStatsQuery classes
Thomas Markwalder [Tue, 23 Aug 2016 20:34:28 +0000 (16:34 -0400)] 
[4294] Refactored AddressStatsRow and AddressStatsQuery classes

src/lib/dhcpsrv/cfg_subnets4.cc
    CfgSubnets4::updateStatistics() -  replaced recountAddressStats4()
    with recountLeaseStats4()

src/lib/dhcpsrv/cfg_subnets6.cc
    CfgSubnets6::updateStatistics() - replaced recountAddressStats6()
    with recountLeaseStats6()

src/lib/dhcpsrv/lease_mgr.cc
    renamed LeaseMgr::recountAddressStats4() to recountLeaseStats4()
    renamed LeaseMgr::recountAddressStats6() to recountLeaseStats6()
    renamed LeaseMgr::startAddressStats4() to startLeaseStats4()
    renamed LeaseMgr::startAddressStats6() to startLeaseStats6()

src/lib/dhcpsrv/lease_mgr.h
    replaced AddressStatsRow4 and AddressStatsRow6 with single class,
    LeaseStatsRow

    replaced AddressStatsQuery4 and AddressStatsQuery6 with single class,
    AddressStatsQuery

src/lib/dhcpsrv/memfile_lease_mgr.h
src/lib/dhcpsrv/memfile_lease_mgr.cc
    Replaced this class heirarchy:
    AddressStatsQuery4 <-- MemfileAddressStatsQuery4
    AddressStatsQuery6 <-- MemfileAddressStatsQuery6

    With this one:
    LeaseStatsQuery
        |
        +--- MemfileLeaseStatsQuery
               |
               +--- MemfileLeaseStatsQuery4
               |
               +--- MemfileLeaseStatsQuery6

    Replaced startAddressStatsQuery4() with startLeaseStatsQuery4()
    Replaced startAddressStatsQuery6() with startLeaseStatsQuery6()

src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.h
src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.cc
    Renamed:
     checkAddressStats() to checkLeaseStats()
     testAddressLeaseStats4() to testRecountLeaseStats4()
     testAddressLeaseStats6() to testRecountLeaseStats6()

src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
    Renamed tests to recountLeaseStats4 and recountLeaseStats6

9 years ago[master] Fixed recently introduced cpp-check
Tomek Mrugalski [Tue, 23 Aug 2016 19:43:38 +0000 (21:43 +0200)] 
[master] Fixed recently introduced cpp-check

9 years ago[master] ChangeLog updated.
Tomek Mrugalski [Tue, 23 Aug 2016 19:12:04 +0000 (21:12 +0200)] 
[master] ChangeLog updated.

9 years ago[master] Merge branch 'trac4483' (integer literal in classification)
Tomek Mrugalski [Tue, 23 Aug 2016 19:10:42 +0000 (21:10 +0200)] 
[master] Merge branch 'trac4483' (integer literal in classification)

9 years ago[4294] Removed todo comment per review
Thomas Markwalder [Tue, 23 Aug 2016 18:53:48 +0000 (14:53 -0400)] 
[4294] Removed todo comment per review

9 years ago[4294] Reverted Lease states back to uin32_t per review comments
Thomas Markwalder [Tue, 23 Aug 2016 18:16:46 +0000 (14:16 -0400)] 
[4294] Reverted Lease states back to uin32_t per review comments

I had replaced the uint32_t constants for lease states with an enum.
Tomek stated that they should remain uin32_t as they may eventually be bitmasks.

9 years ago[4552] Documented reservations for siaddr, sname and file.
Marcin Siodelski [Tue, 23 Aug 2016 17:07:03 +0000 (19:07 +0200)] 
[4552] Documented reservations for siaddr, sname and file.

9 years ago[4294] Compilation fix for unused parameter
Tomek Mrugalski [Tue, 23 Aug 2016 16:50:26 +0000 (18:50 +0200)] 
[4294] Compilation fix for unused parameter

9 years ago[4552] Storing siaddr, sname and file in PostgreSQL database.
Marcin Siodelski [Tue, 23 Aug 2016 16:37:20 +0000 (18:37 +0200)] 
[4552] Storing siaddr, sname and file in PostgreSQL database.

9 years ago[4483] Obsolete comment removed.
Tomek Mrugalski [Tue, 23 Aug 2016 16:30:42 +0000 (18:30 +0200)] 
[4483] Obsolete comment removed.

9 years ago[4483] Fix for sometimes-uninitialized problem in evaluate_unittest.cc
Tomek Mrugalski [Tue, 23 Aug 2016 16:28:42 +0000 (18:28 +0200)] 
[4483] Fix for sometimes-uninitialized problem in evaluate_unittest.cc

9 years ago[trac4883] A couple more typos
Shawn Routhier [Tue, 23 Aug 2016 16:25:27 +0000 (09:25 -0700)] 
[trac4883] A couple more typos

9 years ago[4552] MySQL backend now supports storing siaddr, sname and file.
Marcin Siodelski [Tue, 23 Aug 2016 15:43:50 +0000 (17:43 +0200)] 
[4552] MySQL backend now supports storing siaddr, sname and file.

In addition, added a generic unit test for MySQL and Postgres, which
tests inertion and retrieval of these values.

9 years ago[4483] Parser files regenerated.
Tomek Mrugalski [Tue, 23 Aug 2016 11:18:07 +0000 (13:18 +0200)] 
[4483] Parser files regenerated.

9 years ago[4483] Review comments addressed
Tomek Mrugalski [Tue, 23 Aug 2016 11:17:38 +0000 (13:17 +0200)] 
[4483] Review comments addressed
 - Implemented new test for checking integer boundaries
 - checkTokenInteger documented
 - indentation fixed in parser.yy
 - integer check in lexer.ll extended from int to int64_t
 - a bug fixed in EvalContext::convertUint32
 - User's Guide now explicitly mentions network order

9 years ago[4551] Addressed comment (use scoped pointers)
Francis Dupont [Tue, 23 Aug 2016 10:27:45 +0000 (12:27 +0200)] 
[4551] Addressed comment (use scoped pointers)

9 years ago[4552] Updated MySQL to insert/retrieve DHCP4 msg fields.
Marcin Siodelski [Tue, 23 Aug 2016 10:09:01 +0000 (12:09 +0200)] 
[4552] Updated MySQL to insert/retrieve DHCP4 msg fields.

These fields are: siaddr, sname and file.

9 years ago[4552] Added siaddr, sname and file into the hosts table.
Marcin Siodelski [Tue, 23 Aug 2016 10:08:29 +0000 (12:08 +0200)] 
[4552] Added siaddr, sname and file into the hosts table.

9 years ago[4552] DHCPv4 server assigns reserved siaddr, sname and file field.
Marcin Siodelski [Mon, 22 Aug 2016 14:59:21 +0000 (16:59 +0200)] 
[4552] DHCPv4 server assigns reserved siaddr, sname and file field.

9 years ago[4552] Added support for DHCPv4 message fields into config parser.
Marcin Siodelski [Mon, 22 Aug 2016 09:40:01 +0000 (11:40 +0200)] 
[4552] Added support for DHCPv4 message fields into config parser.

9 years ago[4552] Updated Host object with DHCPv4 specific message fields.
Marcin Siodelski [Mon, 22 Aug 2016 08:38:28 +0000 (10:38 +0200)] 
[4552] Updated Host object with DHCPv4 specific message fields.

9 years ago[master] Created ChangeLog entry for #4282.
Marcin Siodelski [Tue, 23 Aug 2016 08:32:06 +0000 (10:32 +0200)] 
[master] Created ChangeLog entry for #4282.

9 years ago[master] Merge branch 'trac4282'
Marcin Siodelski [Tue, 23 Aug 2016 08:21:25 +0000 (10:21 +0200)] 
[master] Merge branch 'trac4282'

9 years ago[4282] Addressed review comments - minor edits in user's guide.
Marcin Siodelski [Tue, 23 Aug 2016 08:08:35 +0000 (10:08 +0200)] 
[4282] Addressed review comments - minor edits in user's guide.

9 years ago[trac4282] Tidy up some grammar and typo level items
Shawn Routhier [Mon, 22 Aug 2016 23:14:57 +0000 (16:14 -0700)] 
[trac4282] Tidy up some grammar and typo level items

9 years ago[trac4483] Fix a couple more typos
Shawn Routhier [Mon, 22 Aug 2016 22:27:36 +0000 (15:27 -0700)] 
[trac4483] Fix a couple more typos

9 years ago[master] Added ChangeLog entry 1151 for #4279.
Thomas Markwalder [Mon, 22 Aug 2016 17:50:11 +0000 (13:50 -0400)] 
[master] Added ChangeLog entry 1151 for #4279.

9 years ago[master] MySQL and PostgreSQL backends now support HR client classes
Thomas Markwalder [Mon, 22 Aug 2016 17:25:36 +0000 (13:25 -0400)] 
[master] MySQL and PostgreSQL backends now support HR client classes

    Merges in trac4279.

9 years ago[4279] Fixed indentation of comments in generic host data source tests.
Marcin Siodelski [Mon, 22 Aug 2016 15:48:20 +0000 (17:48 +0200)] 
[4279] Fixed indentation of comments in generic host data source tests.

9 years ago[4279] Addressed review comments
Thomas Markwalder [Mon, 22 Aug 2016 15:34:15 +0000 (11:34 -0400)] 
[4279] Addressed review comments

src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc
    GenericHostDataSourceTest::compareClientClasses() - now uses
    std::equal()

    GenericHostDataSourceTest::testMultipleClientClasses4()
    GenericHostDataSourceTest::testMultipleClientClasses6() - added
    steps for each of the host getters defined in BaseHostDataSource

src/lib/dhcpsrv/tests/generic_host_data_source_unittest.h
src/lib/dhcpsrv/tests/mysql_host_data_source_unittest.cc
src/lib/dhcpsrv/tests/pgsql_host_data_source_unittest.cc - fixed typo

9 years ago[master] ChangeLog updated.
Tomek Mrugalski [Mon, 22 Aug 2016 10:57:17 +0000 (12:57 +0200)] 
[master] ChangeLog updated.

9 years ago[master] Merge branch 'trac4553' (extend gcc/boost workaround for gcc 5.4-5.9999)
Tomek Mrugalski [Mon, 22 Aug 2016 10:56:09 +0000 (12:56 +0200)] 
[master] Merge branch 'trac4553' (extend gcc/boost workaround for gcc 5.4-5.9999)

9 years ago[4553] Updated comment after Francis' review.
Tomek Mrugalski [Mon, 22 Aug 2016 10:55:40 +0000 (12:55 +0200)] 
[4553] Updated comment after Francis' review.

9 years ago[trac4483] Tidy up some typos and spacing
Shawn Routhier [Mon, 22 Aug 2016 04:45:21 +0000 (21:45 -0700)] 
[trac4483] Tidy up some typos and spacing

9 years ago[master] Added ChangeLog entry for #4544.
Marcin Siodelski [Fri, 19 Aug 2016 20:56:17 +0000 (22:56 +0200)] 
[master] Added ChangeLog entry for #4544.

9 years ago[master] Merge branch 'trac4544'
Marcin Siodelski [Fri, 19 Aug 2016 19:48:18 +0000 (21:48 +0200)] 
[master] Merge branch 'trac4544'

9 years ago[4282] Added pointer to wiki for inserting reservations to database.
Marcin Siodelski [Fri, 19 Aug 2016 19:38:22 +0000 (21:38 +0200)] 
[4282] Added pointer to wiki for inserting reservations to database.

9 years ago[4483] Several examples corrected in the User's Guide.
Tomek Mrugalski [Fri, 19 Aug 2016 17:57:35 +0000 (19:57 +0200)] 
[4483] Several examples corrected in the User's Guide.

9 years ago[4483] Parser regenerated.
Tomek Mrugalski [Fri, 19 Aug 2016 17:49:37 +0000 (19:49 +0200)] 
[4483] Parser regenerated.

9 years ago[4483] Extra unit-tests added.
Tomek Mrugalski [Fri, 19 Aug 2016 17:49:20 +0000 (19:49 +0200)] 
[4483] Extra unit-tests added.

9 years ago[4483] User's Guide updated.
Tomek Mrugalski [Fri, 19 Aug 2016 17:48:51 +0000 (19:48 +0200)] 
[4483] User's Guide updated.

9 years ago[4483] Example configs added.
Tomek Mrugalski [Fri, 19 Aug 2016 17:38:18 +0000 (19:38 +0200)] 
[4483] Example configs added.

9 years ago[4483] Added pkt4.msgtype and pkt4.transid
Tomek Mrugalski [Fri, 19 Aug 2016 17:06:00 +0000 (19:06 +0200)] 
[4483] Added pkt4.msgtype and pkt4.transid

9 years ago[4483] Parser regenerated.
Tomek Mrugalski [Fri, 19 Aug 2016 16:37:27 +0000 (18:37 +0200)] 
[4483] Parser regenerated.

9 years ago[4483] Generic unit-tests for evaluating expressions written
Tomek Mrugalski [Fri, 19 Aug 2016 16:37:13 +0000 (18:37 +0200)] 
[4483] Generic unit-tests for evaluating expressions written

9 years ago[4483] Several existing instances converted to fromUint32
Tomek Mrugalski [Fri, 19 Aug 2016 15:21:52 +0000 (17:21 +0200)] 
[4483] Several existing instances converted to fromUint32

9 years ago[4483] Integers in expressions implemented.
Tomek Mrugalski [Fri, 19 Aug 2016 15:08:55 +0000 (17:08 +0200)] 
[4483] Integers in expressions implemented.

9 years ago[4282] Updated sections of User's Guide with PgSQL host storage.
Marcin Siodelski [Fri, 19 Aug 2016 12:28:24 +0000 (14:28 +0200)] 
[4282] Updated sections of User's Guide with PgSQL host storage.

9 years ago[4553] Patch updated to cover all versions up to 6.0
Tomek Mrugalski [Fri, 19 Aug 2016 08:41:57 +0000 (10:41 +0200)] 
[4553] Patch updated to cover all versions up to 6.0

9 years ago[master] ChangeLog updated.
Tomek Mrugalski [Thu, 18 Aug 2016 21:41:52 +0000 (23:41 +0200)] 
[master] ChangeLog updated.

9 years ago[master] Merge branch 'trac4271' (vendor options support in classification)
Tomek Mrugalski [Thu, 18 Aug 2016 21:40:27 +0000 (23:40 +0200)] 
[master] Merge branch 'trac4271' (vendor options support in classification)

# Conflicts:
# src/lib/eval/lexer.cc
# src/lib/eval/lexer.ll
# src/lib/eval/location.hh
# src/lib/eval/parser.cc
# src/lib/eval/parser.h
# src/lib/eval/parser.yy
# src/lib/eval/position.hh
# src/lib/eval/stack.hh
# src/lib/eval/tests/context_unittest.cc
# src/lib/eval/tests/token_unittest.cc
# src/lib/eval/token.cc
# src/lib/eval/token.h

9 years ago[4271] spelling
Francis Dupont [Thu, 18 Aug 2016 17:41:08 +0000 (19:41 +0200)] 
[4271] spelling

9 years ago[4271] Fixed parser
Francis Dupont [Thu, 18 Aug 2016 17:33:29 +0000 (19:33 +0200)] 
[4271] Fixed parser

9 years ago[4271] Reindent (align actions)
Francis Dupont [Thu, 18 Aug 2016 17:10:39 +0000 (19:10 +0200)] 
[4271] Reindent (align actions)

9 years ago[4323] Qualify call to utility function with namespace name.
Marcin Siodelski [Thu, 18 Aug 2016 16:50:34 +0000 (18:50 +0200)] 
[4323] Qualify call to utility function with namespace name.

9 years ago[4323] Minor fixes in the HostMgr unit tests.
Marcin Siodelski [Thu, 18 Aug 2016 16:38:39 +0000 (18:38 +0200)] 
[4323] Minor fixes in the HostMgr unit tests.

9 years ago[4323] Implemented tests for use of alternate host data source.
Marcin Siodelski [Thu, 18 Aug 2016 16:21:26 +0000 (18:21 +0200)] 
[4323] Implemented tests for use of alternate host data source.

9 years ago[4271] parser regenerated
Tomek Mrugalski [Thu, 18 Aug 2016 14:06:01 +0000 (16:06 +0200)] 
[4271] parser regenerated

9 years ago[4271] Changes after review
Tomek Mrugalski [Thu, 18 Aug 2016 14:05:43 +0000 (16:05 +0200)] 
[4271] Changes after review

 - User's Guide clearified couple things.
 - messages orded alphabetically
 - indentation increased in parser.yy
 - debugging message formats updated slightly ('1234' => 0x1234)
 - one new case in vendorClass4SpecificVendorData added
 - verbose_ flag in log_utils.h commented

9 years ago[4553] Unit-test workaround from #4243 extended to gcc-5.4 (ubuntu 16.04)
Tomek Mrugalski [Thu, 18 Aug 2016 13:04:20 +0000 (15:04 +0200)] 
[4553] Unit-test workaround from #4243 extended to gcc-5.4 (ubuntu 16.04)

9 years ago[4294] Fixed a doxygen error
Thomas Markwalder [Thu, 18 Aug 2016 10:54:58 +0000 (06:54 -0400)] 
[4294] Fixed a doxygen error

9 years ago[4544] Prevent unexpected closing of connection to the host database.
Marcin Siodelski [Thu, 18 Aug 2016 10:22:54 +0000 (12:22 +0200)] 
[4544] Prevent unexpected closing of connection to the host database.

9 years ago[4489] Trivial correction in logging message description.
Marcin Siodelski [Thu, 18 Aug 2016 09:26:44 +0000 (11:26 +0200)] 
[4489] Trivial correction in logging message description.

9 years ago[4489] Pointing to the Kea Deveoper's Guide for unit testing.
Marcin Siodelski [Thu, 18 Aug 2016 08:54:23 +0000 (10:54 +0200)] 
[4489] Pointing to the Kea Deveoper's Guide for unit testing.

9 years ago[4489] Updated dev-guide with database prerequisites for unit tests.
Marcin Siodelski [Thu, 18 Aug 2016 08:30:45 +0000 (10:30 +0200)] 
[4489] Updated dev-guide with database prerequisites for unit tests.

9 years ago[4294] More clean up
Thomas Markwalder [Wed, 17 Aug 2016 13:48:32 +0000 (09:48 -0400)] 
[4294] More clean up

9 years ago[4551] Fixed
Francis Dupont [Wed, 17 Aug 2016 11:58:36 +0000 (13:58 +0200)] 
[4551] Fixed

9 years ago[4489] Using keatest_readonly db user for read only mode tests.
Marcin Siodelski [Wed, 17 Aug 2016 11:16:48 +0000 (13:16 +0200)] 
[4489] Using keatest_readonly db user for read only mode tests.

9 years ago[4489] Addressed review comments.
Marcin Siodelski [Wed, 17 Aug 2016 09:22:24 +0000 (11:22 +0200)] 
[4489] Addressed review comments.

The only review item not addressed with this commit is the
implementation of unit test that operates on the read only
database, i.e. the database containing tables on which the
given user only has SELECT privileges.

9 years ago[4271] Mostly typo level clean up
Shawn Routhier [Wed, 17 Aug 2016 07:24:30 +0000 (00:24 -0700)] 
[4271] Mostly typo level clean up

9 years ago[4294] Minor cleanup
Thomas Markwalder [Tue, 16 Aug 2016 19:23:33 +0000 (15:23 -0400)] 
[4294] Minor cleanup

9 years ago[4294] Memfile now supports IPv6 lease stats recounting
Thomas Markwalder [Tue, 16 Aug 2016 18:15:25 +0000 (14:15 -0400)] 
[4294] Memfile now supports IPv6 lease stats recounting

src/lib/dhcpsrv/memfile_lease_mgr.h
src/lib/dhcpsrv/memfile_lease_mgr.cc
    - MemfileAddressStatsQuery6 - new class, Memfile derivation of
    the IPv6 statistical lease data query
    - Memfile_LeaseMgr::startAddressStatsQuery6() - new virtual
    method that creates and runs the IPv6 lease stats query

src/lib/dhcpsrv/memfile_lease_storage.h
    - Added non-unique index on subnet ID to Lease6Storage

src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
    TEST_F(MemfileLeaseMgrTest, recountAddressStats6) - new test

9 years ago[4294] PostgreSQL now supports IPv6 lease stats recounting
Thomas Markwalder [Tue, 16 Aug 2016 16:01:21 +0000 (12:01 -0400)] 
[4294] PostgreSQL now supports IPv6 lease stats recounting

src/lib/dhcpsrv/pgsql_lease_mgr.h
src/lib/dhcpsrv/pgsql_lease_mgr.cc
    - Added TaggedStatement RECOUNT_LEASE6_STATS
    - PgSqlAddressStatsQuery6 - new class PgSql derivation of the IPv6
    statistical lease data query
    - PgSqlLeaseMgr::startAddressStatsQuery6() - new virtual method which
    creates and runs the IPv6 lease stats query

src/lib/dhcpsrv/tests/pgsql_lease_mgr_unittest.cc
    TEST_F(PgSqlLeaseMgrTest, recountAddressStats6) - new test

9 years ago[master] Fixed merge error trac4551_base
Francis Dupont [Tue, 16 Aug 2016 15:29:47 +0000 (17:29 +0200)] 
[master] Fixed merge error

9 years ago[4294] Unit tests and MySql now support IPv6 lease stat recounting
Thomas Markwalder [Tue, 16 Aug 2016 15:13:17 +0000 (11:13 -0400)] 
[4294] Unit tests and MySql now support IPv6 lease stat recounting

src/lib/dhcpsrv/cfg_subnets6.cc
    - CfgSubnets6::removeStatistics() - added removal of declined stats
    - CfgSubnets6::updateStatistics() - added call to recountAddressStats6()

src/lib/dhcpsrv/mysql_lease_mgr.h
src/lib/dhcpsrv/mysql_lease_mgr.cc
    - Added TaggedStatement RECOUNT_LEASE6_STATS
    - MySqlAddressStatsQuery6 - new MySql derivation of AddressStatsQuery6
    - MySqlLeaseMgr::startAddressStatsQuery6() - new virtual method which
    creates and starts a MySqlAddressStatsQuery6

src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.h
src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.cc
    - GenericLeaseMgrTest::checkAddressStats4 renamed to checkAddressStats as
    it applies to either v4 or v6
    - GenericLeaseMgrTest::makeLease6() - new method which creates a minimal
    IPv6 lease and adds it to lease storage
    - GenericLeaseMgrTest::testRecountAddressStats6() - new method which
    checks IPv6 lease stats recounting

src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc
    - TEST_F(MySqlLeaseMgrTest, recountAddressStats6) - new test