]> git.ipfire.org Git - thirdparty/kea.git/log
thirdparty/kea.git
5 years ago[#1386] Addressed review comments for !976
Thomas Markwalder [Wed, 21 Oct 2020 17:31:31 +0000 (13:31 -0400)] 
[#1386] Addressed review comments for !976

doc/examples/kea4/all-keys.json
doc/examples/kea6/all-keys.json
doc/sphinx/arm/dhcp4-srv.rst
doc/sphinx/arm/dhcp6-srv.rst
src/lib/dhcpsrv/network.h
src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
    fixed typos

5 years ago[#1386] Updated kea-dhcp4/6 arm
Thomas Markwalder [Tue, 20 Oct 2020 19:42:16 +0000 (15:42 -0400)] 
[#1386] Updated kea-dhcp4/6 arm

   Added ddns-use-conflict-resolution doc to the ARM

5 years ago[#1386] kea-dhcp4/6 now parse ddns-use-conflict-resolution
Thomas Markwalder [Tue, 20 Oct 2020 12:35:51 +0000 (08:35 -0400)] 
[#1386] kea-dhcp4/6 now parse ddns-use-conflict-resolution

Both servers parse and store ddns-use-conflict-resolution but
do nothing with it.

doc/examples/kea4/all-keys.json
doc/examples/kea4/with-ddns.json
doc/examples/kea6/all-keys.json
doc/examples/kea6/with-ddns.json
    Added entries for ddns-use-conflict-resolution

src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
src/bin/dhcp4/json_config_parser.cc
src/bin/dhcp4/tests/get_config_unittest.cc
    Added support for ddns-use-conflict-resolution

src/bin/dhcp4/tests/get_config_unittest.cc.skel
    Changed important calls to ASSERT_NO_THROW_LOG to ease debugging

src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.yy
src/bin/dhcp6/json_config_parser.cc
src/bin/dhcp6/tests/get_config_unittest.cc
    Added support for ddns-use-conflict-resolution

src/bin/dhcp6/tests/get_config_unittest.cc.skel
    Changed important calls to ASSERT_NO_THROW_LOG to ease debugging

src/lib/dhcpsrv/parsers/base_network_parser.cc
    Fixed copy/paste error

5 years ago[1386] Added support for ddns-use-conflict-resolution to dhcpsrv
Thomas Markwalder [Mon, 19 Oct 2020 15:48:18 +0000 (11:48 -0400)] 
[1386] Added support for ddns-use-conflict-resolution to dhcpsrv

src/lib/dhcpsrv/network.*
    Added Network::ddns_use_conflict_resolution_

src/lib/dhcpsrv/parsers/base_network_parser.cc
src/lib/dhcpsrv/parsers/simple_parser4.cc
src/lib/dhcpsrv/parsers/simple_parser6.cc
    Added "ddns-use-conflict-resolution"

src/lib/dhcpsrv/srv_config.*
    Added DdnsParams::use_conflict_resolution_

src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
src/lib/dhcpsrv/tests/network_unittest.cc
src/lib/dhcpsrv/tests/srv_config_unittest.cc
    Updated tests

5 years ago[#1386] Addressed review comments
Thomas Markwalder [Wed, 21 Oct 2020 15:59:14 +0000 (11:59 -0400)] 
[#1386] Addressed review comments

src/bin/d2/d2_update_mgr.h
src/bin/d2/simple_add.cc
    Fixed mispellings

src/bin/d2/tests/d2_update_mgr_unittests.cc
    Fixed compiler warning/errors for unused variables
    Fixed mispellings

     // and sent the DNS request.
src/bin/d2/tests/nc_remove_unittests.cc
    fixed copy-paste typo

src/bin/d2/tests/nc_test_utils.cc
    Added commentary, removed superfluous whitespace

src/bin/d2/tests/nc_test_utils.h
    Fixed mispellings

src/lib/dhcp_ddns/ncr_msg.*
    Fixed mispellings

5 years ago[1386] Made NCR use-conflict-resoltuion optional
Thomas Markwalder [Fri, 16 Oct 2020 18:47:28 +0000 (14:47 -0400)] 
[1386] Made NCR use-conflict-resoltuion optional

NCR parameter, use-conflict-resolution, now optional with a
default to true for backward compatibility.

src/lib/dhcp_ddns/ncr_msg.cc
    NameChangeRequest::fromJSON() - made use-conflict-resolution
    option, defaults to true.

src/lib/dhcp_ddns/tests/ncr_unittests.cc
    TEST(NameChangeRequestTest, useConflictResolutionParsing) - new test

5 years ago[1386] Made SimpleRemoveTranscation explicitly deletes PTR,DHCID RRs
Thomas Markwalder [Fri, 16 Oct 2020 17:35:00 +0000 (13:35 -0400)] 
[1386] Made SimpleRemoveTranscation explicitly deletes PTR,DHCID RRs

src/bin/d2/d2_update_mgr.*
    Fixed copyright
    Updated commentary

src/bin/d2/simple_add.h
    Updated commentary

src/bin/d2/simple_remove.cc
    SimpleRemoveTransaction::buildRemoveRevPtrsRequest() -
    now explicitly deletes PTR and DHCID RRs

src/bin/d2/simple_remove.h
    Updated commentary

src/bin/d2/tests/nc_test_utils.*
    checkSimpleRemoveRevPtrsRequest() - new function

src/bin/d2/tests/simple_remove_unittests.cc
    updated tests

5 years ago[#1386] D2 supports add and remove without conflict resolution
Thomas Markwalder [Thu, 15 Oct 2020 19:03:59 +0000 (15:03 -0400)] 
[#1386] D2 supports add and remove without conflict resolution

src/lib/dhcp_ddns/ncr_msg.*
    Added NameChangeRequest::conflict_resolution_

src/bin/d2/d2_update_mgr.cc
    D2UpdateMgr::makeTransaction() - use's the NCR's value for
    use-conflict-resolution() in determining which type of transacation
    to create.

src/bin/d2/simple_add.* - new files
    SimpleAddTransaction() - new class which executes a DNS add
    without conflict resolution.

src/bin/d2/simple_remove.* - new files
    SimpleRemoveTransaction() - new class which executes a DNS remove
    without conflict resolution.

src/bin/d2/tests/simple_add_unittests.cc - new file
    Tests SimpleAddTransaction

src/bin/d2/tests/simple_remove_unittests.cc - new file
    Tests SimpleRemoveTransaction

src/bin/dhcp4/tests/d2_unittest.cc
src/bin/dhcp6/tests/d2_unittest.cc
src/bin/d2/tests/d2_process_unittests.cc
src/bin/d2/tests/d2_queue_mgr_unittests.cc
src/bin/d2/tests/d2_update_mgr_unittests.cc
src/bin/d2/tests/nc_add_unittests.cc
src/bin/d2/tests/nc_remove_unittests.cc
src/bin/d2/tests/nc_trans_unittests.cc
src/lib/dhcp_ddns/tests/ncr_udp_unittests.cc
src/lib/dhcp_ddns/tests/ncr_unittests.cc
src/lib/dhcpsrv/tests/d2_udp_unittest.cc
    updated tests

5 years ago[#1299] document host reservations
Andrei Pavel [Tue, 6 Oct 2020 15:24:39 +0000 (18:24 +0300)] 
[#1299] document host reservations

5 years agoFixed adding vagrant user to abuild group on Alpine
manu [Tue, 20 Oct 2020 12:58:03 +0000 (14:58 +0200)] 
Fixed adding vagrant user to abuild group on Alpine

5 years ago[#1423] Addressed comments
Razvan Becheriu [Tue, 20 Oct 2020 11:24:54 +0000 (14:24 +0300)] 
[#1423] Addressed comments

5 years ago[#1423] Addressed comments
Francis Dupont [Tue, 20 Oct 2020 10:45:25 +0000 (12:45 +0200)] 
[#1423] Addressed comments

5 years ago[#1423] Protected all tests against free content
Francis Dupont [Tue, 20 Oct 2020 09:51:10 +0000 (11:51 +0200)] 
[#1423] Protected all tests against free content

5 years ago[#1423] Addressed (cosmetics) comments
Francis Dupont [Mon, 19 Oct 2020 21:19:41 +0000 (23:19 +0200)] 
[#1423] Addressed (cosmetics) comments

5 years ago[#1423] Complete authoritative
Francis Dupont [Mon, 28 Sep 2020 23:10:18 +0000 (01:10 +0200)] 
[#1423] Complete authoritative

5 years ago[#1423] Checkpoint: finished code
Francis Dupont [Mon, 28 Sep 2020 21:17:04 +0000 (23:17 +0200)] 
[#1423] Checkpoint: finished code

5 years ago[#1423] Checkpoint
Francis Dupont [Mon, 28 Sep 2020 16:45:01 +0000 (18:45 +0200)] 
[#1423] Checkpoint

5 years ago[#1423] Checkpoint: test keyword sets
Francis Dupont [Mon, 28 Sep 2020 15:47:55 +0000 (17:47 +0200)] 
[#1423] Checkpoint: test keyword sets

5 years ago[#1459] Added some text in libprocess.dox
Francis Dupont [Mon, 19 Oct 2020 16:33:46 +0000 (18:33 +0200)] 
[#1459] Added some text in libprocess.dox

5 years ago[#1459] Changed redirect for set_logger
Francis Dupont [Mon, 19 Oct 2020 15:53:21 +0000 (17:53 +0200)] 
[#1459] Changed redirect for set_logger

5 years ago[#1459] Redact CA basic HTTP auth passwords in logs
Francis Dupont [Thu, 15 Oct 2020 11:16:31 +0000 (13:16 +0200)] 
[#1459] Redact CA basic HTTP auth passwords in logs

5 years ago[#1450] Added KEA_LOG_CHECK_VERBOSE env var
Francis Dupont [Thu, 15 Oct 2020 16:33:53 +0000 (18:33 +0200)] 
[#1450] Added KEA_LOG_CHECK_VERBOSE env var

5 years ago[#1450] Reverted response_creator_unittests.cc
Francis Dupont [Thu, 15 Oct 2020 14:29:46 +0000 (16:29 +0200)] 
[#1450] Reverted response_creator_unittests.cc

5 years ago[#1450] Fixed ChangeLog
Francis Dupont [Thu, 15 Oct 2020 12:50:06 +0000 (14:50 +0200)] 
[#1450] Fixed ChangeLog

5 years ago[#1450] Added LOG_CHECK_VERBOSE flag for review
Francis Dupont [Thu, 15 Oct 2020 08:06:45 +0000 (10:06 +0200)] 
[#1450] Added LOG_CHECK_VERBOSE flag for review

5 years ago[#1450] Moved authorized log to INFO
Francis Dupont [Thu, 15 Oct 2020 07:35:47 +0000 (09:35 +0200)] 
[#1450] Moved authorized log to INFO

5 years ago[#1454] fix PDExclude fields in example JSONs
Andrei Pavel [Mon, 5 Oct 2020 14:39:33 +0000 (17:39 +0300)] 
[#1454] fix PDExclude fields in example JSONs

excluded prefix length should be higher in value (smaller in address space)

5 years ago[#1469] fixed warnings
Razvan Becheriu [Fri, 16 Oct 2020 08:02:07 +0000 (11:02 +0300)] 
[#1469] fixed warnings

5 years ago[#1469] addressed comments
Razvan Becheriu [Fri, 16 Oct 2020 07:53:44 +0000 (10:53 +0300)] 
[#1469] addressed comments

5 years ago[#1469] added missing entries
Razvan Becheriu [Tue, 13 Oct 2020 10:34:20 +0000 (13:34 +0300)] 
[#1469] added missing entries

5 years ago[#1469] added missing entries
Razvan Becheriu [Tue, 13 Oct 2020 10:18:20 +0000 (13:18 +0300)] 
[#1469] added missing entries

5 years ago[#1469] added missing entries
Razvan Becheriu [Tue, 13 Oct 2020 10:07:13 +0000 (13:07 +0300)] 
[#1469] added missing entries

5 years ago[#1468] Corrected typo in ChangeLog
Marcin Siodelski [Tue, 13 Oct 2020 16:04:17 +0000 (18:04 +0200)] 
[#1468] Corrected typo in ChangeLog

5 years ago[#1468] Added ChangeLog for #1468
Marcin Siodelski [Tue, 13 Oct 2020 11:25:17 +0000 (13:25 +0200)] 
[#1468] Added ChangeLog for #1468

5 years ago[#1468] Fixed compilation of cfg_db_access tests
Marcin Siodelski [Tue, 13 Oct 2020 11:22:27 +0000 (13:22 +0200)] 
[#1468] Fixed compilation of cfg_db_access tests

5 years ago[#1428] Addressed review comments
Marcin Siodelski [Mon, 12 Oct 2020 16:20:58 +0000 (18:20 +0200)] 
[#1428] Addressed review comments

5 years ago[#1428] Added ChangeLog for #1428
Marcin Siodelski [Mon, 12 Oct 2020 10:37:25 +0000 (12:37 +0200)] 
[#1428] Added ChangeLog for #1428

5 years ago[#1428] Updated HR for DHCPv6
Marcin Siodelski [Mon, 12 Oct 2020 10:29:39 +0000 (12:29 +0200)] 
[#1428] Updated HR for DHCPv6

Described the use of ip-reservations-unique global parameter. In addition,
the corresponding DHCPv4 section was slightly updated.

5 years ago[#1428] Updated ARM for DHCPv4
Marcin Siodelski [Mon, 12 Oct 2020 09:00:56 +0000 (11:00 +0200)] 
[#1428] Updated ARM for DHCPv4

Added a section to the DHCPv4 host reservations section which describes
how to enable using multiple reservations for the same IP address.

5 years ago[#1451] allow linking with libgtest.so
Andrei Pavel [Mon, 5 Oct 2020 09:04:09 +0000 (12:04 +0300)] 
[#1451] allow linking with libgtest.so

5 years ago[#1385] Wrapped new ChangeLog entry (2)
Francis Dupont [Fri, 9 Oct 2020 17:46:37 +0000 (19:46 +0200)] 
[#1385] Wrapped new ChangeLog entry (2)

5 years ago[#1385] Wrapped new ChangeLog entry
Francis Dupont [Fri, 9 Oct 2020 17:32:19 +0000 (19:32 +0200)] 
[#1385] Wrapped new ChangeLog entry

5 years ago[#1385] Regen flex/bison
Francis Dupont [Fri, 9 Oct 2020 14:55:44 +0000 (14:55 +0000)] 
[#1385] Regen flex/bison

5 years ago[#1385] Regen flex/bison
Francis Dupont [Fri, 9 Oct 2020 12:44:12 +0000 (12:44 +0000)] 
[#1385] Regen flex/bison

5 years ago[#1385] Updated ARM and added a ChangeLog
Thomas Markwalder [Thu, 8 Oct 2020 18:33:13 +0000 (14:33 -0400)] 
[#1385] Updated ARM and added a ChangeLog

5 years ago[#1385] kea-dhcp6 supports ddns-update-on-renew
Thomas Markwalder [Thu, 8 Oct 2020 17:45:36 +0000 (13:45 -0400)] 
[#1385] kea-dhcp6 supports ddns-update-on-renew

    (Parsers need to be regenerated)

    src/bin/dhcp6/dhcp6_lexer.ll
    src/bin/dhcp6/dhcp6_parser.yy
    src/bin/dhcp6/json_config_parser.cc
        added ddns-update-on-renew parameter

    src/bin/dhcp6/dhcp6_srv.*
        Dhcpv4Srv::createNameChangeRequests() - modified to
        use ddns-update-on-renew in logic

    src/bin/dhcp6/tests/fqdn_unittest.cc
        TEST_F(FqdnDhcpv6SrvTest, processRequestRenew) - new test

    src/bin/dhcp6/tests/get_config_unittest.cc
        Updated

    doc/examples/kea4/all-keys.json
    doc/examples/kea6/all-keys.json
        added ddns-update-on-renew parameter

5 years ago[#1385] kea-dhcp4 supporst ddns-update-on-renew
Thomas Markwalder [Tue, 6 Oct 2020 19:21:25 +0000 (15:21 -0400)] 
[#1385] kea-dhcp4 supporst ddns-update-on-renew

(Parsers need to be regenerated)

src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
src/bin/dhcp4/json_config_parser.cc
    added ddns-update-on-renew parameter

src/bin/dhcp4/dhcp4_srv.*
    Dhcpv4Srv::createNameChangeRequests() - added DdnsParams
    argument and modified to use ddns-update-on-renew in logic

src/bin/dhcp4/tests/fqdn_unittest.cc
    TEST_F(NameDhcpv4SrvTest, createNameChangeRequestsUpdateOnRenew)
    - new test

src/bin/dhcp4/tests/get_config_unittest.cc
    Updated

src/lib/dhcpsrv/network.*
src/lib/dhcpsrv/parsers/base_network_parser.cc
src/lib/dhcpsrv/parsers/simple_parser4.cc
src/lib/dhcpsrv/parsers/simple_parser6.cc
src/lib/dhcpsrv/srv_config.*
    Added ddns-update-on-renew

src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
src/lib/dhcpsrv/tests/network_unittest.cc
src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc
src/lib/dhcpsrv/tests/shared_network_unittest.cc
src/lib/dhcpsrv/tests/srv_config_unittest.cc
src/lib/dhcpsrv/tests/subnet_unittest.cc
    updated tests

5 years ago[#1464] Addressed comments
Francis Dupont [Fri, 9 Oct 2020 14:00:57 +0000 (16:00 +0200)] 
[#1464] Addressed comments

5 years ago[#1464] Added RAII tool to fill holes
Francis Dupont [Fri, 9 Oct 2020 08:23:07 +0000 (10:23 +0200)] 
[#1464] Added RAII tool to fill holes

5 years ago[#1428] Make test class destructor virtual
Marcin Siodelski [Fri, 9 Oct 2020 13:51:01 +0000 (15:51 +0200)] 
[#1428] Make test class destructor virtual

Also, committed regenerated dhcpsrv_messages.[cc|h].

5 years ago[#1428] Addressed review comments
Marcin Siodelski [Fri, 9 Oct 2020 11:02:02 +0000 (13:02 +0200)] 
[#1428] Addressed review comments

- Note that IP reservations are unique with a subnet in several places
- Put back const in createManagers function
- Aligned log arguments.
- Added missing commentary in v6 config fetch routine.

5 years ago[#1428] Regen flex/bison
Francis Dupont [Thu, 8 Oct 2020 13:47:00 +0000 (13:47 +0000)] 
[#1428] Regen flex/bison

5 years ago[#1428] Added ip-reservations-unique to all-keys
Marcin Siodelski [Thu, 8 Oct 2020 11:37:55 +0000 (13:37 +0200)] 
[#1428] Added ip-reservations-unique to all-keys

5 years ago[#1428] Added warn when switch ip-reservations-unique
Marcin Siodelski [Wed, 7 Oct 2020 17:14:22 +0000 (19:14 +0200)] 
[#1428] Added warn when switch ip-reservations-unique

5 years ago[#1428] Regenerated parsers for DHCP
Marcin Siodelski [Tue, 6 Oct 2020 15:33:41 +0000 (17:33 +0200)] 
[#1428] Regenerated parsers for DHCP

5 years ago[#1428] Setting ip-reservations-unique via CB
Marcin Siodelski [Tue, 6 Oct 2020 13:31:03 +0000 (15:31 +0200)] 
[#1428] Setting ip-reservations-unique via CB

5 years ago[#1428] Extend createManagers function tests
Marcin Siodelski [Tue, 6 Oct 2020 04:47:34 +0000 (06:47 +0200)] 
[#1428] Extend createManagers function tests

Extended the tests of the createManagers function which instantiates
configured host backends. It now checks that it is possible to use
ip-reservations-unique for MySQL and Postgres but this setting is refused
for CQL.

5 years ago[#1428] Use ip-reservations-unique in alloc engine
Marcin Siodelski [Mon, 5 Oct 2020 17:28:27 +0000 (19:28 +0200)] 
[#1428] Use ip-reservations-unique in alloc engine

5 years ago[#1428] Configure unique IP in HostMgr
Marcin Siodelski [Sun, 4 Oct 2020 18:22:22 +0000 (20:22 +0200)] 
[#1428] Configure unique IP in HostMgr

The CfgDbAccess class configures HostMgr according to the setting of the
ip-reservations-unique.

5 years ago[#1428] Basic support for ip-reservations-unique
Marcin Siodelski [Fri, 2 Oct 2020 15:36:31 +0000 (17:36 +0200)] 
[#1428] Basic support for ip-reservations-unique

The DHCPv4 and DHCPv6 servers accept ip-reservations-unique configuration
for IP addresses specified in the configuration file.

5 years ago[#1428] Added ip-reservations-unique parameter
Marcin Siodelski [Thu, 1 Oct 2020 17:14:55 +0000 (19:14 +0200)] 
[#1428] Added ip-reservations-unique parameter

Also regenerated parsers.

5 years ago[#1441] AUTHORS file updated
Tomek Mrugalski [Wed, 7 Oct 2020 08:49:20 +0000 (10:49 +0200)] 
[#1441] AUTHORS file updated

5 years ago[#1441] add ChangeLog entry
Andrei Pavel [Mon, 5 Oct 2020 13:32:54 +0000 (16:32 +0300)] 
[#1441] add ChangeLog entry

5 years ago[#1441] document various MAC formats for RADIUS
Andrei Pavel [Fri, 2 Oct 2020 09:38:39 +0000 (12:38 +0300)] 
[#1441] document various MAC formats for RADIUS

5 years ago[#1441] fix invalid ARM mysql code-block
Andrei Pavel [Fri, 2 Oct 2020 16:31:37 +0000 (19:31 +0300)] 
[#1441] fix invalid ARM mysql code-block

not getting validated by pygmentize 2.7.1 or higher versions

5 years ago[#1428] Fixed nits as a result of review
Marcin Siodelski [Mon, 5 Oct 2020 10:35:31 +0000 (12:35 +0200)] 
[#1428] Fixed nits as a result of review

5 years ago[#1428] Removed tests dedicated for cache
Marcin Siodelski [Sun, 4 Oct 2020 19:16:25 +0000 (21:16 +0200)] 
[#1428] Removed tests dedicated for cache

Since we have removed support for getAllX(subnet_id, address) the
tests that validate them were also removed. These tests were recently
added when there was a concept that getAllX behaves the same as getX,
but that is no longer true.

5 years ago[#1428] Renamed some unit tests
Marcin Siodelski [Sun, 4 Oct 2020 18:53:30 +0000 (20:53 +0200)] 
[#1428] Renamed some unit tests

As a result of review.

5 years ago[#1428] Copied missing PgSQL host tests
Marcin Siodelski [Sun, 4 Oct 2020 18:50:55 +0000 (20:50 +0200)] 
[#1428] Copied missing PgSQL host tests

5 years ago[#1428] Removed spurious blank line
Marcin Siodelski [Sun, 4 Oct 2020 18:46:48 +0000 (20:46 +0200)] 
[#1428] Removed spurious blank line

As a result of review.

5 years ago[#1428] Fixed comment in a new test
Marcin Siodelski [Sun, 4 Oct 2020 18:45:50 +0000 (20:45 +0200)] 
[#1428] Fixed comment in a new test

As a result of review.

5 years ago[#1428] Modified query to use lower case table name
Marcin Siodelski [Sun, 4 Oct 2020 18:28:36 +0000 (20:28 +0200)] 
[#1428] Modified query to use lower case table name

As a result of review.

5 years ago[#1428] Added missing comment
Marcin Siodelski [Sun, 4 Oct 2020 18:26:40 +0000 (20:26 +0200)] 
[#1428] Added missing comment

As a result of review.

5 years ago[#1428] Final code cleanup
Marcin Siodelski [Sat, 3 Oct 2020 07:02:35 +0000 (09:02 +0200)] 
[#1428] Final code cleanup

- Removed caching from getAllX functions in HostMgr
- Renamed setIPReservationUnique to setIPReservationsUnique

5 years ago[#1428] Extended host tests
Marcin Siodelski [Fri, 2 Oct 2020 19:47:45 +0000 (21:47 +0200)] 
[#1428] Extended host tests

The tests getting host by subnet_id/address were now extended to also
use the getAll4 and getAll6 variants.

5 years ago[#1428] Fixed read only tests in MySQL and PgSQL
Marcin Siodelski [Fri, 2 Oct 2020 17:40:56 +0000 (19:40 +0200)] 
[#1428] Fixed read only tests in MySQL and PgSQL

Per review comments.

5 years ago[#1428] Added override in CQL backend
Marcin Siodelski [Fri, 2 Oct 2020 17:40:30 +0000 (19:40 +0200)] 
[#1428] Added override in CQL backend

5 years ago[#1428] Set unique hosts in backend tests
Marcin Siodelski [Fri, 2 Oct 2020 17:34:11 +0000 (19:34 +0200)] 
[#1428] Set unique hosts in backend tests

Per review comments.

5 years ago[#1428] Renamed test function
Marcin Siodelski [Fri, 2 Oct 2020 17:19:25 +0000 (19:19 +0200)] 
[#1428] Renamed test function

testAddDuplicate4 to testAddDuplicateIPv4 per review comments.

5 years ago[#1428] Removed spurious blank lines
Marcin Siodelski [Fri, 2 Oct 2020 17:02:51 +0000 (19:02 +0200)] 
[#1428] Removed spurious blank lines

As a result of review.

5 years ago[#1428] Improve non-unique reservations tests
Marcin Siodelski [Fri, 2 Oct 2020 16:57:00 +0000 (18:57 +0200)] 
[#1428] Improve non-unique reservations tests

The tests now verify that returned hosts are different. Also added a test
for prefixes. As a result of review.

5 years ago[#1428] Fixed comments in pgsql hosts
Marcin Siodelski [Fri, 2 Oct 2020 15:58:09 +0000 (17:58 +0200)] 
[#1428] Fixed comments in pgsql hosts

Addressed minor comments in PgSQL host data source and added LIMIT 1 to
optimize a query.

5 years ago[#1428] Fixed line break
Marcin Siodelski [Fri, 2 Oct 2020 15:52:51 +0000 (17:52 +0200)] 
[#1428] Fixed line break

As a result of review.

5 years ago[#1428] Use SQL select 1 consistently
Marcin Siodelski [Thu, 1 Oct 2020 11:59:39 +0000 (13:59 +0200)] 
[#1428] Use SQL select 1 consistently

The new INSERT SELECT statements are also better described to explain why
SELECT 1 is used as a result of the review.

5 years ago[#1428] Added comment for HostMgr::del func
Marcin Siodelski [Thu, 1 Oct 2020 11:45:09 +0000 (13:45 +0200)] 
[#1428] Added comment for HostMgr::del func

The comment explains that only hosts from the first alternate source will
be deleted - per review comments.

5 years ago[#1428] Added comments in MySQL and PgSQL backends
Marcin Siodelski [Thu, 1 Oct 2020 11:14:19 +0000 (13:14 +0200)] 
[#1428] Added comments in MySQL and PgSQL backends

5 years ago[#1428] Replaced 'including' with 'having' in msgs
Marcin Siodelski [Thu, 1 Oct 2020 11:05:06 +0000 (13:05 +0200)] 
[#1428] Replaced 'including' with 'having' in msgs

Also added a new line per review comments.

5 years ago[#1428] Simplified return statement
Marcin Siodelski [Thu, 1 Oct 2020 11:02:42 +0000 (13:02 +0200)] 
[#1428] Simplified return statement

5 years ago[#1428] Fixed some typos
Marcin Siodelski [Thu, 1 Oct 2020 10:49:11 +0000 (12:49 +0200)] 
[#1428] Fixed some typos

- regarless -> regardless
- faciliate -> facilitate
- removed spurious blank line

as a result of review.

5 years ago[#1428] Delete multiple hosts by subnet/addr
Marcin Siodelski [Wed, 30 Sep 2020 16:50:56 +0000 (18:50 +0200)] 
[#1428] Delete multiple hosts by subnet/addr

Adjusted behavior of the del(subnet_id, addr) function in MySQL and
Postgres to delete multiple hosts having the same IPv4 or IPv6 address.
The MySQL schema had to be updated to use CASCADE action rather than
trigger to remove dependent options and IPv6 reservations.

5 years ago[#1428] Calls to fetch many hosts by id/address
Marcin Siodelski [Wed, 30 Sep 2020 13:16:30 +0000 (15:16 +0200)] 
[#1428] Calls to fetch many hosts by id/address

The new calls have been added to the host backends to retrieve multiple
hosts by subnet_id and address.

5 years ago[#1428] Allow non-unique IPs in MySQL and PgSQL
Marcin Siodelski [Fri, 25 Sep 2020 12:12:14 +0000 (14:12 +0200)] 
[#1428] Allow non-unique IPs in MySQL and PgSQL

Introduced new host API function which allows for configuring selected
backends to accept non-unique IP reservations for multiple hosts. Support
for it was added in MySQL, Postgres and Kea config file. It is not
supported in Cassandra. New migrations for MySQL and Postgres have been
created.

5 years ago[#1418] Fixed ChangeLog number
Francis Dupont [Mon, 5 Oct 2020 12:19:09 +0000 (14:19 +0200)] 
[#1418] Fixed ChangeLog number

5 years ago[#1418] Finished renames
Francis Dupont [Fri, 2 Oct 2020 15:43:19 +0000 (17:43 +0200)] 
[#1418] Finished renames

5 years ago[#1418] Regen flex/bison
Francis Dupont [Fri, 2 Oct 2020 15:10:30 +0000 (15:10 +0000)] 
[#1418] Regen flex/bison

5 years ago[#1418] Checkpoint: more renames
Francis Dupont [Fri, 2 Oct 2020 15:10:31 +0000 (17:10 +0200)] 
[#1418] Checkpoint: more renames

5 years ago[#1418] Checkpoint: renamed cache-max
Francis Dupont [Fri, 2 Oct 2020 15:00:36 +0000 (17:00 +0200)] 
[#1418] Checkpoint: renamed cache-max

5 years ago[#1418] Regen flex
Francis Dupont [Fri, 25 Sep 2020 14:52:16 +0000 (14:52 +0000)] 
[#1418] Regen flex

5 years ago[#1418] Typo: regen again
Francis Dupont [Fri, 25 Sep 2020 14:52:30 +0000 (16:52 +0200)] 
[#1418] Typo: regen again

5 years ago[#1418] Regen flex/bison
Francis Dupont [Fri, 25 Sep 2020 14:49:21 +0000 (14:49 +0000)] 
[#1418] Regen flex/bison