]> git.ipfire.org Git - thirdparty/kea.git/log
thirdparty/kea.git
4 years ago[#2136] reinstall.sh: upgrade existing modules
Andrei Pavel [Fri, 5 Nov 2021 05:40:08 +0000 (07:40 +0200)] 
[#2136] reinstall.sh: upgrade existing modules

4 years ago[#2136] rename model to module
Andrei Pavel [Fri, 5 Nov 2021 05:36:12 +0000 (07:36 +0200)] 
[#2136] rename model to module

4 years ago[#2193] added dh-python on debian 11
Wlodek Wencel [Thu, 18 Nov 2021 12:17:07 +0000 (13:17 +0100)] 
[#2193] added dh-python on debian 11

4 years ago[#1848] Fixed indentation
Tomek Mrugalski [Wed, 17 Nov 2021 18:27:08 +0000 (19:27 +0100)] 
[#1848] Fixed indentation

4 years ago[#1848] MySQL compilation fix
Tomek Mrugalski [Wed, 17 Nov 2021 15:59:32 +0000 (16:59 +0100)] 
[#1848] MySQL compilation fix

4 years ago[#1848] Removed more dead code
Tomek Mrugalski [Wed, 17 Nov 2021 13:11:46 +0000 (14:11 +0100)] 
[#1848] Removed more dead code

4 years ago[#1848] Moved triplet UT to util
Tomek Mrugalski [Wed, 17 Nov 2021 13:11:35 +0000 (14:11 +0100)] 
[#1848] Moved triplet UT to util

  - that's where the production code is

4 years ago[#1848] Removed dead code
Tomek Mrugalski [Wed, 17 Nov 2021 12:54:03 +0000 (13:54 +0100)] 
[#1848] Removed dead code

 - will need to revert this and actually implement in separate MR

4 years ago[#1848] Added ChangeLog entry and fixed a copyright date.
Thomas Markwalder [Fri, 12 Nov 2021 14:42:47 +0000 (09:42 -0500)] 
[#1848] Added ChangeLog entry and fixed a copyright date.

4 years ago[#1848] Modified Makefile.am to not install pgsql hook lib
Thomas Markwalder [Thu, 11 Nov 2021 20:16:23 +0000 (15:16 -0500)] 
[#1848] Modified Makefile.am to not install pgsql hook lib

For now The pgsql cb hook library builds but does not get installed.

src/hooks/dhcp/pgsql_cb/Makefile.am
    Disabled installation of libdhcp_pgsql_cb

4 years ago[#1848] Add missing triplet.h to util
Thomas Markwalder [Thu, 11 Nov 2021 15:00:10 +0000 (10:00 -0500)] 
[#1848] Add missing triplet.h to util

new file:   src/lib/util/triplet.h

4 years ago[#1848] Removed triplet binding functions
Thomas Markwalder [Wed, 10 Nov 2021 19:41:05 +0000 (14:41 -0500)] 
[#1848] Removed triplet binding functions

src/hooks/dhcp/pgsql_cb/pgsql_cb_impl.*
    Removed Triplet binding functions (supported directly by
    PsqlBindArray)

    Commented out myriad of currently unused function arguments
    Fixed missing return errors

src/hooks/dhcp/pgsql_cb/tests/pgsql_cb_impl_unittest.cc
    Removed problematic dummy schema stuff, now reliably uses
    full schema like all other Postgresql unit tests

    Removed triplet binding function tests

4 years ago[#1848] Added support for storing Triplets to PsqlBindArray
Thomas Markwalder [Wed, 10 Nov 2021 16:17:11 +0000 (11:17 -0500)] 
[#1848] Added support for storing Triplets to PsqlBindArray

src/lib/pgsql/pgsql_exchange.*
    PsqlBindArray::add(const Triplet<uint32_t>& triplet)
    PsqlBindArray::addMin(const Triplet<uint32_t>& triplet)
    PsqlBindArray::addMax(const Triplet<uint32_t>& triplet) -
    new functions for storing Triplets

src/lib/pgsql/tests/pgsql_exchange_unittest.cc
    TEST(PsqlBindArray, addTriplet) - new test

4 years ago[#1848] Moves Triplet to isc::util
Thomas Markwalder [Wed, 10 Nov 2021 16:14:00 +0000 (11:14 -0500)] 
[#1848] Moves Triplet to isc::util

    renamed:    src/lib/dhcpsrv/triplet.h -> src/lib/util/triplet.h

    modified:
    src/hooks/dhcp/pgsql_cb/pgsql_cb_impl.h
    src/hooks/dhcp/pgsql_cb/tests/pgsql_cb_impl_unittest.cc
    src/lib/cc/simple_parser.cc
    src/lib/cc/simple_parser.h
    src/lib/dhcpsrv/Makefile.am
    src/lib/dhcpsrv/client_class_def.cc
    src/lib/dhcpsrv/client_class_def.h
    src/lib/dhcpsrv/network.h
    src/lib/dhcpsrv/parsers/base_network_parser.cc
    src/lib/dhcpsrv/parsers/client_class_def_parser.cc
    src/lib/dhcpsrv/subnet.h
    src/lib/dhcpsrv/tests/Makefile.am
    src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc
    src/lib/dhcpsrv/tests/alloc_engine6_unittest.cc
    src/lib/dhcpsrv/tests/alloc_engine_utils.cc
    src/lib/dhcpsrv/tests/cfg_shared_networks4_unittest.cc
    src/lib/dhcpsrv/tests/cfg_shared_networks6_unittest.cc
    src/lib/dhcpsrv/tests/cfg_subnets4_unittest.cc
    src/lib/dhcpsrv/tests/cfg_subnets6_unittest.cc
    src/lib/dhcpsrv/tests/client_class_def_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
    src/lib/dhcpsrv/tests/triplet_unittest.cc
    src/lib/util/Makefile.am

4 years ago[#1848] The tests now manage their own schema
Tomek Mrugalski [Fri, 29 Oct 2021 11:14:16 +0000 (13:14 +0200)] 
[#1848] The tests now manage their own schema

4 years ago[#1848] PgSqlConnectionPtr moved to common place
Tomek Mrugalski [Fri, 29 Oct 2021 11:13:52 +0000 (13:13 +0200)] 
[#1848] PgSqlConnectionPtr moved to common place

4 years ago[#1848] Makefiles updated after v6 removal
Tomek Mrugalski [Fri, 29 Oct 2021 10:41:53 +0000 (12:41 +0200)] 
[#1848] Makefiles updated after v6 removal

4 years ago[#1848] v6 CB removed
Tomek Mrugalski [Fri, 29 Oct 2021 10:41:34 +0000 (12:41 +0200)] 
[#1848] v6 CB removed

 - to be added back in #96

4 years ago[#1848] Updated Makefiles after v4 removal
Tomek Mrugalski [Fri, 29 Oct 2021 10:37:34 +0000 (12:37 +0200)] 
[#1848] Updated Makefiles after v4 removal

4 years ago[#1848] Deleted pgsql_cb_dhcp4 impl
Tomek Mrugalski [Fri, 29 Oct 2021 10:35:50 +0000 (12:35 +0200)] 
[#1848] Deleted pgsql_cb_dhcp4 impl

 - to be reinstantiated back in #95

4 years ago[#1848] Changes to appease clang-format
Tomek Mrugalski [Fri, 22 Oct 2021 12:55:54 +0000 (14:55 +0200)] 
[#1848] Changes to appease clang-format

4 years ago[#1848] Makefile.am fix
Tomek Mrugalski [Fri, 22 Oct 2021 12:25:17 +0000 (14:25 +0200)] 
[#1848] Makefile.am fix

4 years ago[#1848] Added missing messages.cc|h files
Tomek Mrugalski [Fri, 22 Oct 2021 11:54:32 +0000 (13:54 +0200)] 
[#1848] Added missing messages.cc|h files

4 years ago[#1848] Skeleton methods for client classes in v4
Tomek Mrugalski [Fri, 22 Oct 2021 10:57:20 +0000 (12:57 +0200)] 
[#1848]  Skeleton methods for client classes in v4

4 years ago[#1848] Skeleton methods for client classes in v6
Tomek Mrugalski [Fri, 22 Oct 2021 10:57:00 +0000 (12:57 +0200)] 
[#1848] Skeleton methods for client classes in v6

4 years ago[#1848] Corrected CREATE_AUDIT_REVISION query
Tomek Mrugalski [Fri, 16 Jul 2021 08:50:36 +0000 (10:50 +0200)] 
[#1848] Corrected CREATE_AUDIT_REVISION query

4 years ago[#1848] tests for default,min,max triplet binding
Tomek Mrugalski [Fri, 2 Jul 2021 09:47:38 +0000 (11:47 +0200)] 
[#1848] tests for default,min,max triplet binding

4 years ago[#1848] First unit test passed!
Tomek Mrugalski [Thu, 1 Jul 2021 20:41:22 +0000 (22:41 +0200)] 
[#1848] First unit test passed!

 147 more to go...

4 years ago[#1848] pgsql_cb_dhcp4_mgr_unittest.cc added
Tomek Mrugalski [Thu, 1 Jul 2021 14:26:49 +0000 (16:26 +0200)] 
[#1848] pgsql_cb_dhcp4_mgr_unittest.cc added

4 years ago[#1848] pgsql_cb_dhcp4_unittest.cc added
Tomek Mrugalski [Thu, 1 Jul 2021 14:26:14 +0000 (16:26 +0200)] 
[#1848] pgsql_cb_dhcp4_unittest.cc added

4 years ago[#1848] pgsql_cb_dhcp6_mgr_unittest.cc added
Tomek Mrugalski [Thu, 1 Jul 2021 14:26:03 +0000 (16:26 +0200)] 
[#1848] pgsql_cb_dhcp6_mgr_unittest.cc added

4 years ago[#1848] pgsql_cb_dhcp6_unittest.cc added
Tomek Mrugalski [Thu, 1 Jul 2021 14:25:44 +0000 (16:25 +0200)] 
[#1848] pgsql_cb_dhcp6_unittest.cc added

4 years ago[#1848] pgsql_cb_impl_unittest.cc added
Tomek Mrugalski [Thu, 1 Jul 2021 14:25:27 +0000 (16:25 +0200)] 
[#1848] pgsql_cb_impl_unittest.cc added

4 years ago[#1848] Makefile for pgsql cb tests added
Tomek Mrugalski [Thu, 1 Jul 2021 14:24:49 +0000 (16:24 +0200)] 
[#1848] Makefile for pgsql cb tests added

4 years ago[#1848] Small fixes in PgSqlConfigBackendImpl
Tomek Mrugalski [Thu, 1 Jul 2021 14:23:03 +0000 (16:23 +0200)] 
[#1848] Small fixes in PgSqlConfigBackendImpl

4 years ago[#1848] Added test methods to PsqlBindArray
Tomek Mrugalski [Thu, 1 Jul 2021 14:22:05 +0000 (16:22 +0200)] 
[#1848] Added test methods to PsqlBindArray

 - amNull(), getInteger<T>, getType()

4 years ago[#1848] Pgsql generic backend test class added
Tomek Mrugalski [Thu, 1 Jul 2021 08:39:27 +0000 (10:39 +0200)] 
[#1848] Pgsql generic backend test class added

4 years ago[#1848] Skeleton Postgres CB for DHCPv6 added
Tomek Mrugalski [Wed, 30 Jun 2021 18:53:12 +0000 (20:53 +0200)] 
[#1848] Skeleton Postgres CB for DHCPv6 added

4 years ago[#1848] skeleton Postgres CB implementation added
Tomek Mrugalski [Wed, 30 Jun 2021 18:52:52 +0000 (20:52 +0200)] 
[#1848] skeleton Postgres CB implementation added

4 years ago[#1848] Half converted pg cb dhcp4 skeleton
Tomek Mrugalski [Wed, 23 Jun 2021 19:26:28 +0000 (21:26 +0200)] 
[#1848] Half converted pg cb dhcp4 skeleton

4 years ago[#1848] Basic callouts added
Tomek Mrugalski [Wed, 23 Jun 2021 18:00:14 +0000 (20:00 +0200)] 
[#1848] Basic callouts added

4 years ago[#1848] Macros header added
Tomek Mrugalski [Wed, 23 Jun 2021 17:59:42 +0000 (19:59 +0200)] 
[#1848] Macros header added

4 years ago[#1848] Makefile corrected
Tomek Mrugalski [Wed, 23 Jun 2021 16:56:33 +0000 (18:56 +0200)] 
[#1848] Makefile corrected

4 years ago[#1848] pgsql_cb logger added
Tomek Mrugalski [Wed, 9 Jun 2021 12:19:09 +0000 (14:19 +0200)] 
[#1848] pgsql_cb logger added

4 years ago[#1848] message files added
Tomek Mrugalski [Wed, 9 Jun 2021 12:18:33 +0000 (14:18 +0200)] 
[#1848] message files added

4 years ago[#1848] Template files for new hook added
Tomek Mrugalski [Wed, 9 Jun 2021 11:46:12 +0000 (13:46 +0200)] 
[#1848] Template files for new hook added

4 years ago[#2161] add ChangeLog entry
Andrei Pavel [Tue, 16 Nov 2021 10:10:20 +0000 (12:10 +0200)] 
[#2161] add ChangeLog entry

4 years ago[#2161] comment in Makefile.am
Andrei Pavel [Tue, 16 Nov 2021 09:57:25 +0000 (11:57 +0200)] 
[#2161] comment in Makefile.am

4 years ago[#2161] .readthedocs.yaml
Andrei Pavel [Tue, 9 Nov 2021 18:15:53 +0000 (20:15 +0200)] 
[#2161] .readthedocs.yaml

4 years ago[#2134] Update ChangeLog and AUTHORS
Dan Theisen [Mon, 15 Nov 2021 17:57:10 +0000 (09:57 -0800)] 
[#2134] Update ChangeLog and AUTHORS

4 years ago[#2134] change format string verbiage to be more clear
Dan Theisen [Mon, 15 Nov 2021 17:44:04 +0000 (09:44 -0800)] 
[#2134] change format string verbiage to be more clear

4 years ago[#2134] Document acceptable format strings for logger
Dan Theisen [Fri, 5 Nov 2021 15:23:17 +0000 (08:23 -0700)] 
[#2134] Document acceptable format strings for logger

4 years ago[#2160] bump version to 2.1.1-git
Andrei Pavel [Wed, 27 Oct 2021 14:10:58 +0000 (17:10 +0300)] 
[#2160] bump version to 2.1.1-git

4 years ago[#2167] build libco when gtest is not enabled
Andrei Pavel [Mon, 15 Nov 2021 08:44:28 +0000 (10:44 +0200)] 
[#2167] build libco when gtest is not enabled

so that make-check passes

* [X] take libco*.la out of HAVE_GTEST if block
* [X] take DISTCLEANFILES out of HAVE_GTEST if block

4 years ago[#2117] remove obsolete keactrl comments
Andrei Pavel [Thu, 4 Nov 2021 08:31:01 +0000 (10:31 +0200)] 
[#2117] remove obsolete keactrl comments

4 years ago[#2117] keactrl: color D2 active status green
Andrei Pavel [Wed, 3 Nov 2021 22:15:06 +0000 (00:15 +0200)] 
[#2117] keactrl: color D2 active status green

4 years ago[qa#276] fix hammer's netconf and postgres actions on Fedora 33 and FreeBSDs
Andrei Pavel [Mon, 15 Nov 2021 16:34:27 +0000 (18:34 +0200)] 
[qa#276] fix hammer's netconf and postgres actions on Fedora 33 and FreeBSDs

4 years ago[qa#276] fix hammer's netconf and postgres actions on Fedora 33 and FreeBSDs
Andrei Pavel [Wed, 10 Nov 2021 19:04:19 +0000 (21:04 +0200)] 
[qa#276] fix hammer's netconf and postgres actions on Fedora 33 and FreeBSDs

4 years agoRevert "[#2038] kea-admin lease-export mysql"
Andrei Pavel [Mon, 15 Nov 2021 16:01:30 +0000 (18:01 +0200)] 
Revert "[#2038] kea-admin lease-export mysql"

This reverts commit 3dc6b3e43f18118427cab66accc7179bd6892924.

4 years agoRevert "[#2038] add hwtype,hwaddr_source to v6 memfile"
Andrei Pavel [Mon, 15 Nov 2021 16:01:22 +0000 (18:01 +0200)] 
Revert "[#2038] add hwtype,hwaddr_source to v6 memfile"

This reverts commit 08a219b8a217ffc220a1d137b6bf4e2f40163f62.

4 years ago[#2038] kea-admin lease-export mysql
Andrei Pavel [Mon, 15 Nov 2021 15:18:33 +0000 (17:18 +0200)] 
[#2038] kea-admin lease-export mysql

4 years ago[#2038] add hwtype,hwaddr_source to v6 memfile
Andrei Pavel [Mon, 15 Nov 2021 15:49:33 +0000 (17:49 +0200)] 
[#2038] add hwtype,hwaddr_source to v6 memfile

4 years ago[#2042] enabled debian 11
Wlodek Wencel [Fri, 12 Nov 2021 00:07:13 +0000 (01:07 +0100)] 
[#2042] enabled debian 11

4 years ago[#2139] Fixed broken table spacing in ARM
Thomas Markwalder [Thu, 11 Nov 2021 20:05:28 +0000 (15:05 -0500)] 
[#2139] Fixed broken table spacing in ARM

modified:   sphinx/arm/hooks-ha.rst

4 years ago[#2139] A minor changed missed earlier.
Thomas Markwalder [Thu, 11 Nov 2021 19:56:35 +0000 (14:56 -0500)] 
[#2139] A minor changed missed earlier.

modified:   hooks-ha.rst

4 years ago[#2139] Updated max-response-delay in example configs
Thomas Markwalder [Thu, 11 Nov 2021 19:50:08 +0000 (14:50 -0500)] 
[#2139] Updated max-response-delay in example configs

modified:
    doc/examples/kea4/ha-load-balancing-primary.json
    doc/examples/kea6/ha-hot-standby.json

4 years ago[#2139] Final text edits through line 996 after review
Suzanne Goldlust [Thu, 11 Nov 2021 19:42:48 +0000 (19:42 +0000)] 
[#2139] Final text edits through line 996 after review

4 years ago[#2139] Fix typo after review
Suzanne Goldlust [Thu, 11 Nov 2021 17:31:07 +0000 (17:31 +0000)] 
[#2139] Fix typo after review

4 years ago[#2139] More text edits (through line 996) after review
Suzanne Goldlust [Thu, 11 Nov 2021 17:29:19 +0000 (17:29 +0000)] 
[#2139] More text edits (through line 996) after review

4 years ago[2139] Fixed extra spaces in hooks.rst table
Thomas Markwalder [Wed, 10 Nov 2021 19:51:43 +0000 (14:51 -0500)] 
[2139] Fixed extra spaces in hooks.rst table

modified:   doc/sphinx/arm/hooks.rst

4 years ago[#2139] Additional text edits (still interim save through line 996)
Suzanne Goldlust [Tue, 9 Nov 2021 22:37:42 +0000 (22:37 +0000)] 
[#2139] Additional text edits (still interim save through line 996)

4 years ago[#2139] Text edits (interim save through line 996)
Suzanne Goldlust [Mon, 8 Nov 2021 23:52:20 +0000 (23:52 +0000)] 
[#2139] Text edits (interim save through line 996)

4 years ago[#2139] Text edits
Suzanne Goldlust [Fri, 5 Nov 2021 21:32:03 +0000 (21:32 +0000)] 
[#2139] Text edits

4 years ago[#2139] Text edits
Suzanne Goldlust [Fri, 5 Nov 2021 21:25:06 +0000 (21:25 +0000)] 
[#2139] Text edits

4 years ago[#2139] Text edits
Suzanne Goldlust [Wed, 3 Nov 2021 17:32:07 +0000 (17:32 +0000)] 
[#2139] Text edits

4 years ago[2139] Text edits
Suzanne Goldlust [Fri, 29 Oct 2021 22:43:35 +0000 (22:43 +0000)] 
[2139] Text edits

4 years ago[#2139] Text edits (interim save through line 1828)
Suzanne Goldlust [Thu, 28 Oct 2021 20:44:00 +0000 (20:44 +0000)] 
[#2139] Text edits (interim save through line 1828)

4 years ago[#2139] Text edits (interim save through line 825)
Suzanne Goldlust [Fri, 22 Oct 2021 20:42:22 +0000 (20:42 +0000)] 
[#2139] Text edits (interim save through line 825)

4 years ago[#2139] Formatting fix
Suzanne Goldlust [Fri, 22 Oct 2021 16:23:42 +0000 (16:23 +0000)] 
[#2139] Formatting fix

4 years ago[#2139] Formatting fix
Suzanne Goldlust [Fri, 22 Oct 2021 16:22:53 +0000 (16:22 +0000)] 
[#2139] Formatting fix

4 years ago[#2139] Text edits (interim save through line 402)
Suzanne Goldlust [Thu, 21 Oct 2021 21:53:55 +0000 (21:53 +0000)] 
[#2139] Text edits (interim save through line 402)

4 years ago[#2173] updated documentation eng-drop-2021-11-10
Razvan Becheriu [Wed, 10 Nov 2021 14:12:40 +0000 (16:12 +0200)] 
[#2173] updated documentation

4 years ago[#2173] updated documentation
Razvan Becheriu [Wed, 10 Nov 2021 10:24:26 +0000 (12:24 +0200)] 
[#2173] updated documentation

4 years ago[#2173] Another fix
Francis Dupont [Wed, 10 Nov 2021 10:20:38 +0000 (11:20 +0100)] 
[#2173] Another fix

4 years ago[#2173] Two minor fixes
Francis Dupont [Wed, 10 Nov 2021 09:58:43 +0000 (10:58 +0100)] 
[#2173] Two minor fixes

4 years ago[#2173] updated documentation
Razvan Becheriu [Wed, 10 Nov 2021 09:39:56 +0000 (11:39 +0200)] 
[#2173] updated documentation

4 years ago[#2173] updated documentation
Razvan Becheriu [Wed, 10 Nov 2021 09:33:44 +0000 (11:33 +0200)] 
[#2173] updated documentation

4 years ago[#2173] updated documentation
Razvan Becheriu [Wed, 10 Nov 2021 09:24:47 +0000 (11:24 +0200)] 
[#2173] updated documentation

4 years ago[#2173] updated documentation
Razvan Becheriu [Wed, 10 Nov 2021 08:42:53 +0000 (10:42 +0200)] 
[#2173] updated documentation

4 years ago[#2173] updated documentation
Razvan Becheriu [Wed, 10 Nov 2021 07:21:52 +0000 (09:21 +0200)] 
[#2173] updated documentation

4 years ago[#2173] Some fixes
Francis Dupont [Tue, 9 Nov 2021 14:55:59 +0000 (15:55 +0100)] 
[#2173] Some fixes

4 years ago[#2131] Addressed comment
Francis Dupont [Wed, 10 Nov 2021 12:23:32 +0000 (13:23 +0100)] 
[#2131] Addressed comment

4 years ago[#2131] Clear attempts on entry and always request
Francis Dupont [Thu, 4 Nov 2021 15:57:22 +0000 (16:57 +0100)] 
[#2131] Clear attempts on entry and always request

4 years ago[#2166] Addressed further review comments
Thomas Markwalder [Tue, 9 Nov 2021 18:48:48 +0000 (13:48 -0500)] 
[#2166] Addressed further review comments

src/share/database/scripts/pgsql/dhcpdb_drop.pgsql
src/share/database/scripts/pgsql/dhcpdb_create.pgsql
src/share/database/scripts/pgsql/upgrade_6.2_to_7.0.sh.in
    Changed server_tag parameter size to 64 to match tag column size

4 years ago[#2166] Addressed review comments
Thomas Markwalder [Tue, 9 Nov 2021 16:27:22 +0000 (11:27 -0500)] 
[#2166] Addressed review comments

src/share/database/scripts/pgsql/dhcpdb_create.pgsql
src/share/database/scripts/pgsql/upgrade_6.2_to_7.0.sh.in
    Replaced use of SMALLINT with BOOLEAN where appropriate.
    Added missing returns to two class functions

src/share/database/scripts/pgsql/dhcpdb_drop.pgsql
    updated to match new boolean funcs

4 years ago[#2166] More client class function corrections
tmark [Fri, 5 Nov 2021 19:46:01 +0000 (15:46 -0400)] 
[#2166] More client class function corrections

src/share/database/scripts/pgsql/dhcpdb_create.pgsql
src/share/database/scripts/pgsql/update_6.2_to_7.0.sh.in
    Corrected column/variable ambiguity more issues with client class functions

4 years ago[#2166] Fixed errors in client class functions
Thomas Markwalder [Fri, 5 Nov 2021 17:44:12 +0000 (13:44 -0400)] 
[#2166] Fixed errors in client class functions

src/bin/admin/tests/pgsql_tests.sh.in
    Fixeda another shell check complaint.

src/share/database/scripts/pgsql/dhcpdb_create.pgsql
src/share/database/scripts/pgsql/upgrade_6.2_to_7.0.sh.in
    - Changed subnet id columns in options tables to BIGINT
    - Fixed column/variable ambiguities in client class functions

4 years ago[#2166] Fix shellcheck complaint
Thomas Markwalder [Fri, 5 Nov 2021 13:05:12 +0000 (09:05 -0400)] 
[#2166] Fix shellcheck complaint

pgsql_tests.sh.in - replaced use of backticks ``
with $() per shellcheck.

4 years ago[#2166] More corrections based on manual testing
Thomas Markwalder [Fri, 5 Nov 2021 11:20:01 +0000 (07:20 -0400)] 
[#2166] More corrections based on manual testing

src/share/database/scripts/pgsql/dhcpdb_create.pgsql
src/share/database/scripts/pgsql/upgrade_6.2_to_7.0.sh.in
    - Removed id=1 from dhcpX_server inserts, id is SERIAL and
    must increment itself
    - Changed dhcpX_subnet::subnet_id from SERIAL to BIGINT to
    allow for manual ID assignments
    - Removed 'STRICT' from SELECT INTO statements, this causes NULL
    returns to throw
    - Return OLD from all BEFORE triggers

4 years ago[#2166] Added session value setter functions
Thomas Markwalder [Wed, 3 Nov 2021 19:20:42 +0000 (15:20 -0400)] 
[#2166] Added session value setter functions

src/bin/admin/tests/pgsql_tests.sh.in
    pgsql_upgrade_6_2_to_7_0()  - added session variable tests

src/share/database/scripts/pgsql/dhcpdb_create.pgsql
src/share/database/scripts/pgsql/upgrade_6.2_to_7.0.sh.in
    Added set_session_value functions
    Cleaned up get_session_* functions
    Whitespace cleanup

src/share/database/scripts/pgsql/dhcpdb_drop.pgsql
    Added session variable functions