]> git.ipfire.org Git - thirdparty/kea.git/log
thirdparty/kea.git
17 months ago[#3663] PgSql CB hook supports ddsn-ttl params
Thomas Markwalder [Tue, 10 Dec 2024 20:33:22 +0000 (15:33 -0500)] 
[#3663] PgSql CB hook supports ddsn-ttl params

Changes to be committed:
modified:   src/hooks/dhcp/pgsql/pgsql_cb_dhcp4.cc
modified:   src/hooks/dhcp/pgsql/pgsql_cb_dhcp6.cc
modified:   src/hooks/dhcp/pgsql/pgsql_query_macros_dhcp.h

17 months ago[#3663] MySQL CB hook now supports ddns-ttl params
Thomas Markwalder [Tue, 10 Dec 2024 19:16:16 +0000 (14:16 -0500)] 
[#3663] MySQL CB hook now supports ddns-ttl params

Changes to be committed:
modified:   src/hooks/dhcp/mysql/mysql_cb_dhcp4.cc
    modified:   src/hooks/dhcp/mysql/mysql_cb_dhcp6.cc
modified:   src/hooks/dhcp/mysql/mysql_query_macros_dhcp.h
modified:   src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc
modified:   src/lib/dhcpsrv/testutils/generic_cb_dhcp6_unittest.cc

17 months ago[#3663] Add ddns ttl columns to mysql schema
Thomas Markwalder [Mon, 9 Dec 2024 19:54:43 +0000 (14:54 -0500)] 
[#3663] Add ddns ttl columns to mysql schema

src/share/database/scripts/mysql/upgrade_027_to_028.sh.in
    new file

src/bin/admin/tests/mysql_tests.sh.in
    mysql_upgrade_27_to_28_test() - new test

src/lib/mysql/mysql_constants.h
   schema version bump

configure.ac
src/share/database/scripts/mysql/.gitignore
src/share/database/scripts/mysql/Makefile.am
    added new upgrade file

src/share/database/scripts/mysql/dhcpdb_create.mysql
    Add ddns-ttl* columns to network and subnet tables

17 months ago[#2819] Fixed remaining spelling
Francis Dupont [Mon, 16 Dec 2024 15:05:52 +0000 (16:05 +0100)] 
[#2819] Fixed remaining spelling

17 months ago[#2819] Fixed misspellings
Thomas Markwalder [Mon, 16 Dec 2024 13:09:30 +0000 (08:09 -0500)] 
[#2819] Fixed misspellings

17 months ago[#2819] Remove premium dir
Thomas Markwalder [Fri, 13 Dec 2024 17:52:42 +0000 (12:52 -0500)] 
[#2819] Remove premium dir

Somehow premium directory got added.

Changes to be committed:
deleted:    premium

17 months ago[#2819] Addressed review comments
Thomas Markwalder [Fri, 13 Dec 2024 16:15:18 +0000 (11:15 -0500)] 
[#2819] Addressed review comments

Changes to be committed:
    modified:   src/lib/dhcpsrv/dhcpsrv_messages.mes
    modified:   src/lib/dhcpsrv/ncr_generator.cc
modified:   src/lib/dhcpsrv/srv_config.h
modified:   src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
modified:   src/lib/dhcpsrv/tests/ncr_generator_unittest.cc
modified:   src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc
modified:   src/lib/dhcpsrv/tests/srv_config_unittest.cc
modified:   src/lib/util/str.h

17 months ago[#2819] Added ChangeLog entry
Thomas Markwalder [Wed, 20 Nov 2024 14:57:58 +0000 (09:57 -0500)] 
[#2819] Added ChangeLog entry

 Changes to be committed:
modified:   ChangeLog

17 months ago[#2819] Updated ARM
Thomas Markwalder [Wed, 20 Nov 2024 14:53:25 +0000 (09:53 -0500)] 
[#2819] Updated ARM

modified:   doc/sphinx/arm/dhcp4-srv.rst
modified:   doc/sphinx/arm/dhcp6-srv.rst

17 months ago[#2819] kea-dhcp6 support implemented
Thomas Markwalder [Wed, 20 Nov 2024 11:28:07 +0000 (06:28 -0500)] 
[#2819] kea-dhcp6 support implemented

kea-dhcp6 supports the new ddns ttl parameters

modified:   ../../../../doc/examples/kea6/all-keys.json
modified:   ../dhcp6_lexer.cc
modified:   ../dhcp6_lexer.ll
modified:   ../dhcp6_parser.cc
modified:   ../dhcp6_parser.h
modified:   ../dhcp6_parser.yy
modified:   ../dhcp6_srv.cc
modified:   ../json_config_parser.cc
modified:   config_parser_unittest.cc
modified:   fqdn_unittest.cc
modified:   get_config_unittest.cc

17 months ago[#2819] Fixed commentary
Thomas Markwalder [Tue, 19 Nov 2024 20:44:01 +0000 (15:44 -0500)] 
[#2819] Fixed commentary

modified:   src/lib/dhcpsrv/ncr_generator.h

17 months ago[#2819] kea-dhcp4 supports ddns-ttl, min, and max
Thomas Markwalder [Tue, 19 Nov 2024 20:23:08 +0000 (15:23 -0500)] 
[#2819] kea-dhcp4 supports ddns-ttl, min, and max

Added support for ddns-ttl,ddns-ttl-min, and ddsn-ttl-max
to global,shared-network, and subnet for kea-dhcp4

Changes to be committed:
modified:   doc/examples/kea4/all-keys.json
modified:   src/bin/dhcp4/dhcp4_lexer.cc
modified:   src/bin/dhcp4/dhcp4_lexer.ll
modified:   src/bin/dhcp4/dhcp4_parser.cc
modified:   src/bin/dhcp4/dhcp4_parser.h
modified:   src/bin/dhcp4/dhcp4_parser.yy
modified:   src/bin/dhcp4/json_config_parser.cc
modified:   src/bin/dhcp4/tests/config_parser_unittest.cc
modified:   src/bin/dhcp4/tests/fqdn_unittest.cc
modified:   src/bin/dhcp4/tests/get_config_unittest.cc
modified:   src/bin/dhcp6/json_config_parser.cc
modified:   src/lib/dhcpsrv/cb_ctl_dhcp4.cc
modified:   src/lib/dhcpsrv/cb_ctl_dhcp6.cc
modified:   src/lib/dhcpsrv/cfg_globals.cc
modified:   src/lib/dhcpsrv/cfg_globals.h
modified:   src/lib/dhcpsrv/dhcpsrv_messages.cc
modified:   src/lib/dhcpsrv/dhcpsrv_messages.h
modified:   src/lib/dhcpsrv/dhcpsrv_messages.mes
modified:   src/lib/dhcpsrv/ncr_generator.cc
modified:   src/lib/dhcpsrv/ncr_generator.h
modified:   src/lib/dhcpsrv/network.cc
modified:   src/lib/dhcpsrv/network.h
modified:   src/lib/dhcpsrv/parsers/base_network_parser.cc
modified:   src/lib/dhcpsrv/parsers/simple_parser4.cc
modified:   src/lib/dhcpsrv/parsers/simple_parser6.cc
modified:   src/lib/dhcpsrv/srv_config.cc
modified:   src/lib/dhcpsrv/srv_config.h
modified:   src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
modified:   src/lib/dhcpsrv/tests/ncr_generator_unittest.cc
modified:   src/lib/dhcpsrv/tests/network_unittest.cc
modified:   src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc
modified:   src/lib/dhcpsrv/tests/srv_config_unittest.cc
modified:   src/lib/util/str.cc
modified:   src/lib/util/str.h

17 months ago[#3691] bump version in configure.ac
Marcin Godzina [Wed, 11 Dec 2024 17:36:49 +0000 (17:36 +0000)] 
[#3691] bump version in configure.ac

17 months ago[#3686] release changes Kea-2.7.5
Marcin Godzina [Fri, 6 Dec 2024 18:57:06 +0000 (19:57 +0100)] 
[#3686] release changes

17 months ago[#3685] bump up library versions for 2.7.5 release
Marcin Godzina [Fri, 6 Dec 2024 18:50:29 +0000 (18:50 +0000)] 
[#3685] bump up library versions for 2.7.5 release

17 months ago[#3348] Minor fixes after review
Thomas Markwalder [Fri, 6 Dec 2024 17:45:49 +0000 (12:45 -0500)] 
[#3348] Minor fixes after review

Changes to be committed:
modified:   doc/sphinx/arm/dhcp4-srv.rst
modified:   doc/sphinx/arm/dhcp6-srv.rst

17 months ago[#3348] Update docs about subnet/pool selection
Andrei Pavel [Fri, 6 Dec 2024 11:26:35 +0000 (13:26 +0200)] 
[#3348] Update docs about subnet/pool selection

The change that would have helped the reporter:
- Add paragraph explaining that out-of-network guarded subnets need
  EGRL enabled in order for those guards to properly select subnets.

Other important changes:
- Define class guards. They are referenced in some places in the ARM,
  but never defined.
- Move "unreserved_class" guards before "reserved_class" guards so that
  it is clear that a pool or a subnet is skipped and the allocator takes
  a different path than usual, assumin an iterative allocator.
- Add unguarded subnets and pools and explain that those are available
  to both reserved and unreserved clients.
- Add paragraph explaining that in-subnet reservations don't work when
  the subnet belongs to a shared network.
- Add paragraph explaining that for a subnet to be selected, when
  choosing to do the selection via pools, as the example is structured,
  all of the pools inside the subnets desired to be skipped or selected
  need to be guarded.
- Add missing name to shared network in the JSON config examples.

Less important changes:
- Remove comments about reservation settings. Some were forgotten to be
  removed since new reservation flags are added, but overall they don't
  need to be explained because these sections are not focused on reservations.
- Add curly brackets to make the whole JSON valid and add code-block:: json
  and reindent.

17 months ago[#3669] Prevent duplicate pipelines in CI
Andrei Pavel [Fri, 29 Nov 2024 09:21:56 +0000 (11:21 +0200)] 
[#3669] Prevent duplicate pipelines in CI

17 months ago[#3414] Extended state description
Francis Dupont [Fri, 6 Dec 2024 16:18:05 +0000 (17:18 +0100)] 
[#3414] Extended state description

17 months ago[#3414] Removed backticks
Francis Dupont [Fri, 6 Dec 2024 16:15:36 +0000 (17:15 +0100)] 
[#3414] Removed backticks

17 months ago[#3414] Followed tmark's idea
Francis Dupont [Fri, 6 Dec 2024 16:04:59 +0000 (17:04 +0100)] 
[#3414] Followed tmark's idea

17 months ago[#3414] Added column types
Francis Dupont [Fri, 6 Dec 2024 14:37:00 +0000 (15:37 +0100)] 
[#3414] Added column types

17 months ago[#3414] Spelling
Francis Dupont [Fri, 6 Dec 2024 10:04:56 +0000 (11:04 +0100)] 
[#3414] Spelling

17 months ago[#3414] Added examples
Francis Dupont [Thu, 5 Dec 2024 23:05:21 +0000 (00:05 +0100)] 
[#3414] Added examples

17 months ago[#3414] Spelling
Francis Dupont [Thu, 5 Dec 2024 22:33:03 +0000 (23:33 +0100)] 
[#3414] Spelling

17 months ago[#3414] Added CSV lease formats
Francis Dupont [Thu, 5 Dec 2024 15:54:53 +0000 (16:54 +0100)] 
[#3414] Added CSV lease formats

17 months ago[#3677] Removed duplicate function
Thomas Markwalder [Wed, 4 Dec 2024 12:37:30 +0000 (07:37 -0500)] 
[#3677] Removed duplicate function

modified:   mysql_tests.sh.in

17 months ago[#3677] Posgresql now migrates client-classes data
Thomas Markwalder [Tue, 3 Dec 2024 21:24:36 +0000 (16:24 -0500)] 
[#3677] Posgresql now migrates client-classes data

modified:   src/bin/admin/tests/pgsql_tests.sh.in
modified:   src/share/database/scripts/pgsql/dhcpdb_create.pgsql
modified:   src/share/database/scripts/pgsql/upgrade_026_to_027.sh.in
modified:   src/share/database/scripts/mysql/upgrade_026_to_027.sh.in
modified:   src/share/database/scripts/mysql/dhcpdb_create.mysql

17 months ago[#3677] MySQL now migrates client_classes data
Thomas Markwalder [Tue, 3 Dec 2024 20:21:17 +0000 (15:21 -0500)] 
[#3677] MySQL now migrates client_classes data

src/bin/admin/tests/mysql_tests.sh.in
    mysql_migrate_client_class_test() - new test

src/share/database/scripts/mysql/dhcpdb_create.mysql
src/share/database/scripts/mysql/upgrade_026_to_027.sh.in
    Added migration of client_classes data

17 months ago[#1989] Addressed review comment
Thomas Markwalder [Fri, 6 Dec 2024 12:48:35 +0000 (07:48 -0500)] 
[#1989] Addressed review comment

modified:   arm/dhcp4-srv.rst

17 months ago[#1989] Fixed JSON
Thomas Markwalder [Wed, 4 Dec 2024 20:11:21 +0000 (15:11 -0500)] 
[#1989] Fixed JSON

Changes to be committed:
modified:   doc/sphinx/arm/hooks-ddns-tuning.rst

17 months ago[#1989] Updated ARM
Thomas Markwalder [Wed, 4 Dec 2024 20:04:10 +0000 (15:04 -0500)] 
[#1989] Updated ARM

Changes to be committed:
    modified:   doc/sphinx/arm/dhcp4-srv.rst
    modified:   doc/sphinx/arm/hooks-ddns-tuning.rst

17 months ago[#3577] Added ChangeLog for #3577
Marcin Siodelski [Wed, 4 Dec 2024 13:40:46 +0000 (14:40 +0100)] 
[#3577] Added ChangeLog for #3577

17 months ago[#3577] Clarified FLQ not for shared db
Marcin Siodelski [Wed, 4 Dec 2024 13:37:07 +0000 (14:37 +0100)] 
[#3577] Clarified FLQ not for shared db

17 months ago[#3268] Updated hooks
Francis Dupont [Mon, 2 Dec 2024 18:02:52 +0000 (19:02 +0100)] 
[#3268] Updated hooks

17 months ago[#3655] Improve wording for ha-maintenance-notify
Marcin Siodelski [Wed, 4 Dec 2024 09:26:21 +0000 (10:26 +0100)] 
[#3655] Improve wording for ha-maintenance-notify

17 months ago[#3655] Fix a comment
Marcin Siodelski [Thu, 28 Nov 2024 14:25:23 +0000 (15:25 +0100)] 
[#3655] Fix a comment

17 months ago[#3655] Fix chicken-egg in state info
Marcin Siodelski [Thu, 28 Nov 2024 13:51:05 +0000 (14:51 +0100)] 
[#3655] Fix chicken-egg in state info

17 months ago[#3655] Updated ha-maintenance-notify doc
Marcin Siodelski [Wed, 27 Nov 2024 18:21:11 +0000 (19:21 +0100)] 
[#3655] Updated ha-maintenance-notify doc

17 months ago[#3655] Added ChangeLog for #3655
Marcin Siodelski [Tue, 26 Nov 2024 11:06:00 +0000 (12:06 +0100)] 
[#3655] Added ChangeLog for #3655

17 months ago[#3655] Better handle maintenance cancel
Marcin Siodelski [Tue, 26 Nov 2024 09:52:15 +0000 (10:52 +0100)] 
[#3655] Better handle maintenance cancel

When the maintenance is canceled the partners communicate their new
states. This is essential when the partners receive DHCP traffic while
transitioning to avoid rapid return to the maintenance state.

18 months ago[#3255] Added a changelog file
Francis Dupont [Tue, 3 Dec 2024 14:23:10 +0000 (15:23 +0100)] 
[#3255] Added a changelog file

18 months ago[#3255] Added CA reuse logs
Francis Dupont [Fri, 29 Nov 2024 10:34:37 +0000 (11:34 +0100)] 
[#3255] Added CA reuse logs

18 months ago[#3255] Added a getTlsContext to HTTP listener
Francis Dupont [Fri, 29 Nov 2024 09:36:54 +0000 (10:36 +0100)] 
[#3255] Added a getTlsContext to HTTP listener

18 months ago[#3255] Added a note
Francis Dupont [Tue, 12 Nov 2024 09:04:02 +0000 (10:04 +0100)] 
[#3255] Added a note

18 months ago[#3592] Fixed minor typos in docs
Thomas Markwalder [Mon, 2 Dec 2024 16:18:40 +0000 (11:18 -0500)] 
[#3592] Fixed minor typos in docs

modified:   doc/examples/kea4/hooks-radius.json
modified:   doc/sphinx/arm/dhcp4-srv.rst
modified:   doc/sphinx/arm/dhcp6-srv.rst
modified:   doc/sphinx/arm/hooks-bootp.rst

18 months ago[#3592] Comment out configs with "client-classes"
Thomas Markwalder [Mon, 2 Dec 2024 15:05:26 +0000 (10:05 -0500)] 
[#3592] Comment out configs with "client-classes"

modified:   src/lib/yang/tests/config_unittests.cc

18 months ago[#3620] Updated Makefile.am
Francis Dupont [Tue, 15 Oct 2024 18:02:37 +0000 (20:02 +0200)] 
[#3620] Updated Makefile.am

18 months ago[#3620] Updated test CA
Francis Dupont [Tue, 15 Oct 2024 17:53:14 +0000 (19:53 +0200)] 
[#3620] Updated test CA

18 months ago[#3255] Added CA reuse logs
Francis Dupont [Fri, 29 Nov 2024 10:34:37 +0000 (11:34 +0100)] 
[#3255] Added CA reuse logs

18 months ago[#3255] Added a getTlsContext to HTTP listener
Francis Dupont [Fri, 29 Nov 2024 09:36:54 +0000 (10:36 +0100)] 
[#3255] Added a getTlsContext to HTTP listener

18 months ago[#3255] Added a note
Francis Dupont [Tue, 12 Nov 2024 09:04:02 +0000 (10:04 +0100)] 
[#3255] Added a note

18 months ago[#3674] Fixed 3661 entry
Francis Dupont [Thu, 28 Nov 2024 18:07:56 +0000 (19:07 +0100)] 
[#3674] Fixed 3661 entry

18 months ago[#3674] Fixed ChangeLog
Francis Dupont [Wed, 27 Nov 2024 14:14:22 +0000 (15:14 +0100)] 
[#3674] Fixed ChangeLog

18 months ago[#3652] Remove the config history completely
Andrei Pavel [Thu, 28 Nov 2024 08:22:54 +0000 (10:22 +0200)] 
[#3652] Remove the config history completely

- Removed revert() which makes no sense anymore.
- Since rollback() was significantly simplified, renamed it to
  clearStagingConfiguration().
- Removed kludgy ensureCurrentAllocated(). The only new required
  allocations are on constructor and on clear().

18 months ago[#3652] add ChangeLog entry
Andrei Pavel [Wed, 20 Nov 2024 21:46:35 +0000 (21:46 +0000)] 
[#3652] add ChangeLog entry

18 months ago[#3652] Fix memory increase on reconfiguration
Andrei Pavel [Mon, 25 Nov 2024 09:14:26 +0000 (11:14 +0200)] 
[#3652] Fix memory increase on reconfiguration

Caused by config history. The config history was soft-disabled.
Code had to be refactored to enable CONFIG_LIST_SIZE == 0.

18 months ago[#3592] Addressed remaining comments
Thomas Markwalder [Tue, 26 Nov 2024 12:27:41 +0000 (07:27 -0500)] 
[#3592] Addressed remaining comments

Changes to be committed:
    modified:   ChangeLog
    modified:   doc/sphinx/arm/dhcp4-srv.rst
    modified:   doc/sphinx/arm/dhcp6-srv.rst

18 months ago[#3592] Addressed review comments
Thomas Markwalder [Mon, 25 Nov 2024 14:52:20 +0000 (09:52 -0500)] 
[#3592] Addressed review comments

Addressed first round of comments.

Changes to be committed:
modified:   ChangeLog
modified:   doc/sphinx/arm/classify.rst
modified:   doc/sphinx/arm/dhcp4-srv.rst
modified:   doc/sphinx/arm/dhcp6-srv.rst
modified:   src/bin/dhcp4/tests/classify_unittest.cc
modified:   src/lib/dhcp/classify.cc
modified:   src/lib/dhcp/classify.h
modified:   src/lib/dhcpsrv/parsers/base_network_parser.cc
modified:   src/lib/dhcpsrv/parsers/base_network_parser.h
modified:   src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc

18 months ago[#3592] Fix dhcp6_lexer
Thomas Markwalder [Fri, 22 Nov 2024 17:22:05 +0000 (12:22 -0500)] 
[#3592] Fix dhcp6_lexer

modified:   src/bin/dhcp6/dhcp6_lexer.cc

18 months ago[#3592] Fix message id spelling
Thomas Markwalder [Fri, 22 Nov 2024 16:13:08 +0000 (11:13 -0500)] 
[#3592] Fix message id spelling

modified:   src/lib/dhcpsrv/dhcpsrv_messages.cc
modified:   src/lib/dhcpsrv/dhcpsrv_messages.h
modified:   src/lib/dhcpsrv/parsers/client_class_def_parser.cc
modified:   src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc

18 months ago[#3592] Added missing ChangeLog for #3587
Thomas Markwalder [Tue, 5 Nov 2024 16:45:34 +0000 (11:45 -0500)] 
[#3592] Added missing ChangeLog for #3587

modified:   ChangeLog

18 months ago[#3592] Fixed spelling and JSON
Thomas Markwalder [Mon, 4 Nov 2024 15:09:10 +0000 (10:09 -0500)] 
[#3592] Fixed spelling and JSON

modified:   doc/sphinx/arm/dhcp4-srv.rst
modified:   doc/sphinx/arm/dhcp6-srv.rst
modified:   doc/sphinx/arm/hooks-ha.rst

18 months ago[#3592] Updated ARM and added ChangeLog
Thomas Markwalder [Mon, 4 Nov 2024 14:45:30 +0000 (09:45 -0500)] 
[#3592] Updated ARM and added ChangeLog

modified:   ChangeLog
modified:   doc/sphinx/arm/classify.rst
modified:   doc/sphinx/arm/dhcp4-srv.rst
modified:   doc/sphinx/arm/dhcp6-srv.rst
modified:   doc/sphinx/arm/hooks-bootp.rst
modified:   doc/sphinx/arm/hooks-ha.rst

18 months ago[#3592] MySql and Posgresql CB updated
Thomas Markwalder [Fri, 1 Nov 2024 19:30:58 +0000 (15:30 -0400)] 
[#3592] MySql and Posgresql CB updated

modified:   src/hooks/dhcp/mysql/mysql_cb_dhcp4.cc
modified:   src/hooks/dhcp/mysql/mysql_cb_dhcp6.cc
modified:   src/hooks/dhcp/mysql/mysql_query_macros_dhcp.h
modified:   src/hooks/dhcp/pgsql/pgsql_cb_dhcp4.cc
modified:   src/hooks/dhcp/pgsql/pgsql_cb_dhcp6.cc
modified:   src/hooks/dhcp/pgsql/pgsql_query_macros_dhcp.h
modified:   src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc
modified:   src/lib/dhcpsrv/testutils/generic_cb_dhcp6_unittest.cc

18 months ago[#3592] Update schemas
Thomas Markwalder [Fri, 1 Nov 2024 17:43:06 +0000 (13:43 -0400)] 
[#3592] Update schemas

src/share/database/scripts/mysql/upgrade_026_to_027.sh.in
src/share/database/scripts/pgsql/upgrade_026_to_027.sh.in
    - new upgrade scripts

configure.ac
src/share/database/scripts/mysql/.gitignore
src/share/database/scripts/mysql/Makefile.am
src/share/database/scripts/pgsql/.gitignore
src/share/database/scripts/pgsql/Makefile.am
    added new upgrade scripts

src/bin/admin/tests/mysql_tests.sh.in
    updated
    mysql_upgrade_26_to_27_test()  - new test

src/bin/admin/tests/pgsql_tests.sh.in
    updated
    pgsql_upgrade_26_to_27_test() - new test

src/lib/mysql/mysql_constants.h
src/lib/pgsql/pgsql_connection.h
    updated schema version

src/share/database/scripts/mysql/dhcpdb_create.mysql
src/share/database/scripts/pgsql/dhcpdb_create.pgsql
    change client_class columns

18 months ago[#3582] Update kea-dhcp6 parsing and UTs
Thomas Markwalder [Thu, 31 Oct 2024 18:37:19 +0000 (14:37 -0400)] 
[#3582]  Update kea-dhcp6 parsing and UTs

/doc/examples/kea4/all-keys.json
/doc/examples/kea4/classify.json
/doc/examples/kea4/classify2.json
/doc/examples/kea4/ha-load-balancing-server1-mt-with-tls.json
/doc/examples/kea4/ha-load-balancing-server1-mt-with-tls.json
/doc/examples/kea4/ha-load-balancing-server2-mt.json
/doc/examples/kea4/ha-load-balancing-server2-mt.json
/doc/examples/kea4/hooks-radius.json
/doc/examples/kea6/all-keys.json

/src/bin/dhcp4/tests/config_parser_unittest.cc
    TEST_F(Dhcp4ParserTest, deprecatedClientClassesCheck) - new test

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

/src/bin/dhcp6/dhcp6_lexer.ll
/src/bin/dhcp6/dhcp6_parser.yy
    added support for client-classes

/src/bin/dhcp6/tests/config_parser_unittest.cc
    updated
    TEST_F(Dhcp6ParserTest, sharedNetworksDeriveClientClass) - removed obsolete test
    TEST_F(Dhcp6ParserTest, deprecatedClientClassesCheck) - new test

/src/bin/dhcp6/tests/get_config_unittest.cc
/src/bin/dhcp6/tests/host_unittest.cc
/src/bin/dhcp6/tests/shared_network_unittest.cc
    updated

src/lib/dhcpsrv/parsers/simple_parser6.cc
    Corrected globals

18 months ago[#3592] Update kea-dhcp4 parsing and UTs
Thomas Markwalder [Thu, 31 Oct 2024 15:04:40 +0000 (11:04 -0400)] 
[#3592] Update kea-dhcp4 parsing and UTs

/src/bin/dhcp4/dhcp4_lexer.ll b/src/bin/dhcp4/dhcp4_lexer.ll
/src/bin/dhcp4/dhcp4_parser.yy b/src/bin/dhcp4/dhcp4_parser.yy
    Add "client-classes" to SUBNET4, POOLS, and SHARED_NETWORK

/src/bin/dhcp4/tests/classify_unittest.cc
    Update tests
    TEST_F(ClassifyTest, networkScopeClientClasses) - new test

/src/bin/dhcp4/tests/config_parser_unittest.cc
    Update tests
    TEST_F(Dhcp4ParserTest, sharedNetworksDeriveClientClass) - delete obsolete test

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

18 months ago[#3592] modified in lib dhcp and dhcpsrv
Thomas Markwalder [Wed, 30 Oct 2024 18:31:18 +0000 (14:31 -0400)] 
[#3592] modified in lib dhcp and dhcpsrv

src/lib/dhcp/classify.*
    ClientClasses:intersects() - new function

src/lib/dhcp/tests/classify_unittest.cc
    TEST(ClassifyTest, ClientClassesIntersects) - new test

src/lib/dhcpsrv/cfg_option.cc
    OptionDescriptor::allowedForClientClasses() use inet intersects() function

src/lib/dhcpsrv/dhcpsrv_messages.mes
    DHCPSRV_CLIENT_CLASS_DEPRECATED - new message

src/lib/dhcpsrv/network.*
    Network - replaced client_class_ string with client_classes_  container
    Network::clientSupported() - uses new intersects() function
    Network::allowClientClass() - modified to insert
    Network::toElement() - updated

src/lib/dhcpsrv/parsers/base_network_parser.*
    BaseNetworkParser::getClientClassesElem() - new function

src/lib/dhcpsrv/parsers/dhcp_parsers.cc
src/lib/dhcpsrv/parsers/shared_network_parser.cc
    Updated parsers to use BaseNetworkParser::getClientClassesElem()

src/lib/dhcpsrv/parsers/simple_parser4.cc
src/lib/dhcpsrv/parsers/simple_parser6.cc
    Added client-classes

src/lib/dhcpsrv/pool.*
    replaced client_class_ string with client_classes_  container
    Pool::clientSupported()-  use new intersects() function

src/lib/dhcpsrv/shared_network.cc
    ShareNetwork::getPreferredSubnet() - updated

src/lib/dhcpsrv/tests/cfg_subnets4_unittest.cc
src/lib/dhcpsrv/tests/cfg_subnets6_unittest.cc
    Updated tests

src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
    TEST_F(DhcpParserTest, deprecatedClientClassSubnet4)
    TEST_F(DhcpParserTest, deprecatedClientClassSubnet6) {
    TEST_F(DhcpParserTest, deprecatedClientClassPool4) {
    TEST_F(DhcpParserTest, deprecatedClientClassPool6) {

src/lib/dhcpsrv/tests/network_unittest.cc
    Removed inheritance support check

src/lib/dhcpsrv/tests/pool_unittest.cc
    Updated tests

src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc
    TEST_F(SharedNetwork4ParserTest, deprecatedClientClass)
    TEST_F(SharedNetwork6ParserTest, deprecatedClientClass)

src/lib/dhcpsrv/tests/shared_network_unittest.cc
src/lib/dhcpsrv/tests/subnet_unittest.cc
    Updated tests

src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc
src/lib/dhcpsrv/testutils/generic_cb_dhcp6_unittest.cc
    Updated tests

18 months ago[#3661] addressed review comments
Piotrek Zadroga [Mon, 25 Nov 2024 19:50:07 +0000 (20:50 +0100)] 
[#3661] addressed review comments

18 months ago[#3661] add ChangeLog entry
Piotrek Zadroga [Thu, 21 Nov 2024 08:21:56 +0000 (09:21 +0100)] 
[#3661] add ChangeLog entry

18 months ago[#3661] update tuple definition
Piotrek Zadroga [Thu, 14 Nov 2024 19:40:13 +0000 (20:40 +0100)] 
[#3661] update tuple definition

18 months ago[#3609] Improved ChangeLog entry
Francis Dupont [Fri, 22 Nov 2024 15:16:15 +0000 (16:16 +0100)] 
[#3609] Improved ChangeLog entry

18 months ago[#3609] Addressed final comments
Francis Dupont [Fri, 22 Nov 2024 14:50:06 +0000 (15:50 +0100)] 
[#3609] Addressed final comments

18 months ago[#3609] Addressed comments
Francis Dupont [Fri, 22 Nov 2024 10:24:15 +0000 (11:24 +0100)] 
[#3609] Addressed comments

18 months ago[#3609] Checkpoint: finished HTTP config
Francis Dupont [Mon, 18 Nov 2024 16:51:58 +0000 (17:51 +0100)] 
[#3609] Checkpoint: finished HTTP config

18 months ago[#3609] Finished CA
Francis Dupont [Mon, 18 Nov 2024 16:03:08 +0000 (17:03 +0100)] 
[#3609] Finished CA

18 months ago[#3609] Added config.h
Francis Dupont [Mon, 18 Nov 2024 08:19:34 +0000 (09:19 +0100)] 
[#3609] Added config.h

18 months ago[#3609] Checkpoint: regenerated get_config_unittest.cc
Francis Dupont [Sat, 16 Nov 2024 08:54:55 +0000 (09:54 +0100)] 
[#3609] Checkpoint: regenerated get_config_unittest.cc

18 months ago[#3609] Checkpoint before rebase
Francis Dupont [Sat, 16 Nov 2024 08:44:38 +0000 (09:44 +0100)] 
[#3609] Checkpoint before rebase

18 months ago[#3609] Checkpoint: done syntax
Francis Dupont [Fri, 15 Nov 2024 10:57:25 +0000 (11:57 +0100)] 
[#3609] Checkpoint: done syntax

18 months ago[#3609] Regen flex/bison
Francis Dupont [Fri, 15 Nov 2024 10:18:54 +0000 (10:18 +0000)] 
[#3609] Regen flex/bison

18 months ago[#3609] Checkpoint: doing syntax
Francis Dupont [Fri, 15 Nov 2024 10:16:11 +0000 (11:16 +0100)] 
[#3609] Checkpoint: doing syntax

18 months ago[#3609] Checkpoint: added error UT
Francis Dupont [Thu, 14 Nov 2024 14:52:32 +0000 (15:52 +0100)] 
[#3609] Checkpoint: added error UT

18 months ago[#3609] Checkpoint: error UT to add
Francis Dupont [Wed, 13 Nov 2024 16:03:07 +0000 (17:03 +0100)] 
[#3609] Checkpoint: error UT to add

18 months ago[#3609] Fixed typos
Francis Dupont [Wed, 13 Nov 2024 10:15:08 +0000 (11:15 +0100)] 
[#3609] Fixed typos

18 months ago[#3609] Regen flex/bison
Francis Dupont [Wed, 13 Nov 2024 10:07:12 +0000 (10:07 +0000)] 
[#3609] Regen flex/bison

18 months ago[#3609] Added missing rules
Francis Dupont [Wed, 13 Nov 2024 10:04:53 +0000 (11:04 +0100)] 
[#3609] Added missing rules

18 months ago[#3609] Checkpoint: updated grammars
Francis Dupont [Wed, 13 Nov 2024 09:56:08 +0000 (10:56 +0100)] 
[#3609] Checkpoint: updated grammars

18 months ago[#3609] Added HSTS unit test
Francis Dupont [Tue, 12 Nov 2024 16:51:50 +0000 (17:51 +0100)] 
[#3609] Added HSTS unit test

18 months ago[#3609] Named vector of HTTP header contexts
Francis Dupont [Tue, 12 Nov 2024 16:14:21 +0000 (17:14 +0100)] 
[#3609] Named vector of HTTP header contexts

18 months ago[#3667] update SECURITY.md file
Wlodek Wencel [Tue, 19 Nov 2024 13:09:45 +0000 (14:09 +0100)] 
[#3667] update SECURITY.md file

18 months ago[#2736] Addressed review comments
Thomas Markwalder [Tue, 19 Nov 2024 12:32:58 +0000 (07:32 -0500)] 
[#2736] Addressed review comments

Changes to be committed:
modified:   ../../../../ChangeLog
modified:   ../../../../doc/sphinx/arm/classify.rst
modified:   ../parsers/client_class_def_parser.cc
modified:   client_class_def_parser_unittest.cc

18 months ago[#2736] Additional update to ARM
Thomas Markwalder [Thu, 14 Nov 2024 12:49:32 +0000 (07:49 -0500)] 
[#2736] Additional update to ARM

modified:   arm/classify.rst

18 months ago[#2736] Warn on additional and lifetime params
Thomas Markwalder [Tue, 12 Nov 2024 17:06:56 +0000 (12:06 -0500)] 
[#2736] Warn on additional and lifetime params

Updated the ARM:
/doc/sphinx/arm/dhcp4-srv.rst
/doc/sphinx/arm/dhcp6-srv.rst

Added ChangeLog

/src/lib/dhcpsrv/dhcpsrv_messages.*
    DHCPSRV_CLASS_WITH_ADDTIONAL_AND_LIFETIMES - new message

/src/lib/dhcpsrv/parsers/client_class_def_parser.cc
    ClientClassDefParser::parse() - now emits WARN log

/src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc
    TEST_F(ClientClassDefParserTest, addtionalWithLifetimes4)
    TEST_F(ClientClassDefParserTest, addtionalWithLifetimes6)
    - new tests

18 months ago[#3257] Addressed review comments
Thomas Markwalder [Tue, 19 Nov 2024 10:17:00 +0000 (05:17 -0500)] 
[#3257] Addressed review comments

Minor cosmetics:
modified:   src/bin/dhcp4/dhcp4_srv.cc
modified:   src/bin/dhcp6/dhcp6_srv.cc

18 months ago[#3257] Fixed ChangeLog
Thomas Markwalder [Mon, 11 Nov 2024 20:27:26 +0000 (15:27 -0500)] 
[#3257] Fixed ChangeLog

18 months ago[#3257] Suppress NCRs when reusing leases
Thomas Markwalder [Mon, 11 Nov 2024 20:16:14 +0000 (15:16 -0500)] 
[#3257] Suppress NCRs when reusing leases

/src/bin/dhcp4/dhcp4_srv.cc
    Dhcpv4Srv::createNameChangeRequests() - modified to check for
    reused lease

/src/bin/dhcp4/tests/dora_unittest.cc
    DORATest::leaseCaching() - modified to verify suppression of NCRs

/src/bin/dhcp6/dhcp6_srv.cc
    Dhcpv6Srv::createNameChangeRequests() - modified to iteralte over
    IA contexts rather than IA options in response and to check for
    reused leases

/src/bin/dhcp6/tests/fqdn_unittest.cc
    Updated tests to populate IAContexts

/src/bin/dhcp6/tests/sarr_unittest.cc
    SARRTest::leaseCaching()- modified to verify suppression of NCRs

/src/lib/dhcpsrv/alloc_engine.*
    AllocEngine::ClientContext6::IAContext - added reused_leases_ container
    AllocEngine::ClientContext6::getIAContexts() - new function

18 months ago[3587] Fixed generated config tests
Thomas Markwalder [Fri, 15 Nov 2024 18:44:30 +0000 (13:44 -0500)] 
[3587] Fixed generated config tests

modified:   src/bin/dhcp4/tests/config_parser_unittest.cc
modified:   src/bin/dhcp4/tests/get_config_unittest.cc
modified:   src/bin/dhcp6/tests/config_parser_unittest.cc
modified:   src/bin/dhcp6/tests/get_config_unittest.cc

18 months ago[#3268] Post rebase updates 2
Francis Dupont [Wed, 6 Nov 2024 14:05:32 +0000 (15:05 +0100)] 
[#3268] Post rebase updates 2