src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.cc
MySqlConfigBackendDHCPv4Impl::createUpdateClientClass4()
- use createBinding() to conditionally create bindings
for valid lifetime triplet
src/hooks/dhcp/mysql_cb/mysql_cb_dhcp6.cc
MySqlConfigBackendDHCPv6Impl::createUpdateClientClass6()
- use createBinding() to conditionally create bindings
for valid lifetime and preferred lifetime triplets
src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc
GenericConfigBackendDHCPv4Test::initTestClientClasses()
- set class option defs to empty def collection to match the way
we actually create them
GenericConfigBackendDHCPv4Test::setAndGetAllClientClasses4Test()
- test now compares fetched class content to source class content
src/lib/dhcpsrv/testutils/generic_cb_dhcp6_unittest.cc
GenericConfigBackendDHCPv6Test::SetUp() - set CfgMgr family
GenericConfigBackendDHCPv6Test::initTestClientClasses()
- set class option defs to empty def collection to match the way
we actually create them, also set preferred lifetime triplet
GenericConfigBackendDHCPv6Test::setAndGetAllClientClasses4Test()
- test now compares fetched class content to source class content
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
src/lib/dhcpsrv/testutils/generic_cb_dhcp6_unittest.cc
src/lib/dhcpsrv/testutils/generic_cb_dhcp6_unittest.h
new files
src/lib/dhcpsrv/testutils/Makefile.am
Added generic_cb_dhcp6_unittest.h generic_cb_dhcp6_unittest.cc
src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp6_unittest.cc
Moved common setup and UT test code to generic classes