2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00
Commit Graph

33240 Commits

Author SHA1 Message Date
Razvan Becheriu
facd07823d [#2173] updated documentation 2021-11-10 14:15:18 +00:00
Razvan Becheriu
c636f6eb34 [#2173] updated documentation 2021-11-10 14:15:18 +00:00
Razvan Becheriu
cda56afa24 [#2173] updated documentation 2021-11-10 14:15:18 +00:00
Razvan Becheriu
c89d0474ac [#2173] updated documentation 2021-11-10 14:15:18 +00:00
Razvan Becheriu
2d9b949fa6 [#2173] updated documentation 2021-11-10 14:15:18 +00:00
Francis Dupont
c1229ecf9f [#2173] Some fixes 2021-11-10 14:15:18 +00:00
Francis Dupont
f79a09a60f [#2131] Addressed comment 2021-11-10 13:23:32 +01:00
Francis Dupont
4135f1cf74 [#2131] Clear attempts on entry and always request 2021-11-10 12:42:23 +01:00
Thomas Markwalder
4b18d98fac [#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
2021-11-09 19:26:35 +00:00
Thomas Markwalder
b2a04a9413 [#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
2021-11-09 19:26:35 +00:00
tmark
384c734547 [#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
2021-11-09 19:26:35 +00:00
Thomas Markwalder
57a94f2bbe [#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
2021-11-09 19:26:35 +00:00
Thomas Markwalder
14eb57d3c2 [#2166] Fix shellcheck complaint
pgsql_tests.sh.in - replaced use of backticks ``
with $() per shellcheck.
2021-11-09 19:26:35 +00:00
Thomas Markwalder
868a65b179 [#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
2021-11-09 19:26:35 +00:00
Thomas Markwalder
ab3fcdd674 [#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
2021-11-09 19:26:35 +00:00
tmark
658a424d03 [#2166] Added pgsql session value fetch functions
src/share/database/scripts/pgsql/dhcpdb_create.pgsql
src/share/database/scripts/pgsql/upgrade_6.2_to_7.0.sh.in
src/share/database/scripts/pgsql/dhcpdb_drop.pgsql
    Added functions for getting config session
    values that handle unset and NULL values
2021-11-09 19:26:35 +00:00
Thomas Markwalder
c6bbd461cb [#2166] create-drop fixes and 9.2 compatibility
src/share/database/scripts/pgsql/dhcpdb_create.pgsql
src/share/database/scripts/pgsql/upgrade_6.2_to_7.0.sh.in
    added "OR REPLACE" to function creates
    made all TIMESTAMP elements "WITH TIME ZONE"
    replaced use of ON CONFLICT

src/share/database/scripts/pgsql/dhcpdb_drop.pgsql
    Added arguments to function drops. Posgresql requires argument
    lists to match to drop a function.
2021-11-09 19:26:35 +00:00
tmark
6ac227cb79 [#2166] Added missing CB elements to postgresql schema
Initial commit.

src/bin/admin/tests/pgsql_tests.sh.in
    pgsql_upgrade_6_2_to_7_0()  - replaced insert into dhcp6_server
    with selects. Inserting fails without an audit-revision to match.

src/share/database/scripts/pgsql/dhcpdb_create.pgsql
    Reduced to a single transaction and commit to avoid partial
    creations.

    Added CB audit procedures, trigger functions, triggers, and
    client class elements for v4 and v6.

src/share/database/scripts/pgsql/dhcpdb_drop.pgsql
    Added drops of new elements.

src/share/database/scripts/pgsql/upgrade_6.2_to_7.0.sh.in
    Added CB audit procedures, trigger functions, triggers, and
    client class elements for v4 and v6.
2021-11-09 19:26:35 +00:00
Wlodek Wencel
fbdf5a8c98 [#2179] changed section title 2021-11-09 16:51:39 +01:00
Wlodek Wencel
9e14274d30 [#2179] Add link to AD tutorial 2021-11-09 15:49:21 +01:00
Razvan Becheriu
a21db3f705 [#2138] updated documentation for gss rekey and retry intervals 2021-11-08 15:16:32 +02:00
Francis Dupont
da682e4dc1 [#2127] Untabified 2021-11-04 14:42:17 +00:00
Francis Dupont
80e401fe8f [#2127] Updated ARM 2021-11-04 14:42:17 +00:00
Razvan Becheriu
4e4d846858 [#2121] documentation and doxygen updates 2021-11-04 11:56:00 +02:00
Tomek Mrugalski
9a624d3630 [#1848] createAuditRevisionDHCP4 proc added 2021-10-28 12:32:28 +02:00
Tomek Mrugalski
a7d584d64b [#90] Changelog wrapped 2021-10-28 12:32:28 +02:00
Tomek Mrugalski
3a6b3476bd [#90] ChangeLog added 2021-10-28 12:32:27 +02:00
Andrei Pavel
961707d2c4 [#90] add ON DELETE action on dhcp6_subnet_server 2021-10-28 12:31:41 +02:00
Tomek Mrugalski
5281de721a [#90] tag shortened to 64 bytes 2021-10-28 12:31:41 +02:00
Tomek Mrugalski
55f0c5e29c [#90] Added test for checking schema version in src/lib/pgsql 2021-10-28 12:31:41 +02:00
Tomek Mrugalski
afea833b38 [#90] Added dhcp4_shared_network_server table 2021-10-28 12:31:41 +02:00
Tomek Mrugalski
8b2675373b [#90] Added dhcp4_subnet_server table 2021-10-28 12:31:41 +02:00
Tomek Mrugalski
33f8449075 [#90] Added missing constraints 2021-10-28 12:31:41 +02:00
Tomek Mrugalski
a6a1425434 [#90] Updated capitalization, removed extra byte for \0 2021-10-28 12:31:41 +02:00
Tomek Mrugalski
98d46dc464 [#90] Spurious space removed 2021-10-28 12:31:41 +02:00
Tomek Mrugalski
83752cf742 [#90] Added pgsql_upgrade_6_2_to_7_0 function 2021-10-28 12:31:41 +02:00
Tomek Mrugalski
b6aecd52e4 [#90] kea-admin pgtest updated to schema 7.0 2021-10-28 12:31:41 +02:00
Tomek Mrugalski
5c92597b31 [#90] The wipe_data.sh script is a bit more robust now 2021-10-28 12:31:41 +02:00
Tomek Mrugalski
dd9c2fed66 [#90] 2 issues fixed in 7.0 schema creation
- data inserted into incorrect dhcpX_server table
 - duplicate creation of dhcp4_options_server removed
2021-10-28 12:31:41 +02:00
Tomek Mrugalski
7c19187220 [#90] Updated unit-tests 2021-10-28 12:31:41 +02:00
Tomek Mrugalski
a4b5772cd9 [#90] Updated pgsql schema creation script 2021-10-28 12:31:41 +02:00
Tomek Mrugalski
46f1ee2cec [#90] Added escape characters 2021-10-28 12:31:41 +02:00
Andrei Pavel
460ad6c2ee [#90] extra spacing removed 2021-10-28 12:31:41 +02:00
Andrei Pavel
fbbffdff31 [#90] Extra space removed 2021-10-28 12:31:41 +02:00
Andrei Pavel
a6c05875f0 [#90] escape $ char 2021-10-28 12:31:41 +02:00
Andrei Pavel
d77de06ac7 [#90] escape $ char 2021-10-28 12:31:41 +02:00
Tomek Mrugalski
fda485470c [#90] wipe_data now wipes also CB tables 2021-10-28 12:31:41 +02:00
Tomek Mrugalski
9d08d80080 [#90] updated .gitignore 2021-10-28 12:31:41 +02:00
Tomek Mrugalski
af9360c75e [#90] Wrapped too long lines 2021-10-28 12:31:41 +02:00
Tomek Mrugalski
e2a7d967e0 [#90] Deleting shared network doesn't delete subnet anymore 2021-10-28 12:31:41 +02:00