2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-28 20:47:48 +00:00

6 Commits

Author SHA1 Message Date
Thomas Markwalder
729d672fa6 [#2349] PgSql CB V6 shared-networks, subnets, pools
configure.ac
    Added src/share/database/scripts/pgsql/upgrade_010_to_011.sh

src/bin/admin/tests/pgsql_tests.sh.in
    Updated for upgrade from 10 to 11.

src/hooks/dhcp/pgsql_cb/pgsql_cb_dhcp4.cc
    Make use of PgSqlConfigBackendImpl::addDdnsReplaceClientNameBinding()
    Add universe paramter to createUpdateOptionDef() calls

src/hooks/dhcp/pgsql_cb/pgsql_cb_dhcp6.cc
    PgSqlConfigBackendDHCPv6Impl - implemented methods for
    shared-networks, subnets, pools, subordinate option defs and options

    getInterfaceId()
    addInterfaceIdBinding()- new convenience functions for reading and
    writing interface id options

src/hooks/dhcp/pgsql_cb/pgsql_cb_impl.*
    PgSqlConfigBackendImpl::createUpdateOptionDef() - added universe
    parameter to replace incorrect use of space name

    PgSqlConfigBackendImpl::addDdnsReplaceClientNameBinding()
    - new convenience function

src/hooks/dhcp/pgsql_cb/tests/pgsql_cb_dhcp6_unittest.cc
    Added tests for networks, subnets, pools

src/lib/dhcpsrv/testutils/generic_cb_dhcp6_unittest.cc
    Replaced EXPECT_THROWs with ASSER_THROWs - simplifies
    debugging tremendously

src/lib/pgsql/pgsql_connection.h
    Updated schema version to 11

src/share/database/scripts/pgsql/Makefile.am
src/share/database/scripts/pgsql/.gitignore
    Added upgrade_010_to_011.sh

src/share/database/scripts/pgsql/dhcpdb_create.pgsql
    Added replacement of createOptionAuditDHCP6() to correct
    assocation of options to PD pools

src/share/database/scripts/pgsql/upgrade_010_to_011.sh.in - new file
2022-03-10 15:59:29 -05:00
Thomas Markwalder
47c6820f5c [#2342] PgSql CB6 core, UT, and CRUD for servers
new files:
    src/hooks/dhcp/pgsql_cb/pgsql_cb_dhcp6.cc
	src/hooks/dhcp/pgsql_cb/pgsql_cb_dhcp6.h
	src/hooks/dhcp/pgsql_cb/tests/pgsql_cb_dhcp6_unittest.cc

src/hooks/dhcp/pgsql_cb/Makefile.am
    Added pgsql_cb_dhcp6.cc, pgsql_cb_dhcp6.h

src/hooks/dhcp/pgsql_cb/pgsql_cb_dhcp4.cc
    Removed extraneous comment text

src/hooks/dhcp/pgsql_cb/pgsql_query_macros_dhcp.h
    Minor corrections

src/hooks/dhcp/pgsql_cb/tests/Makefile.am
    Added pgsql_cb_dhcp6_unittest.cc
2022-03-09 13:00:38 +02:00
Tomek Mrugalski
f58d8d2f7c [#1848] v6 CB removed
- to be added back in #96
2021-11-17 15:35:19 +01:00
Tomek Mrugalski
70d6de4d43 [#1848] Changes to appease clang-format 2021-11-17 15:35:18 +01:00
Tomek Mrugalski
90e75cd12c [#1848] Skeleton methods for client classes in v6 2021-11-17 15:35:18 +01:00
Tomek Mrugalski
387ebdd4a7 [#1848] Skeleton Postgres CB for DHCPv6 added 2021-11-17 15:35:18 +01:00