2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 05:27:55 +00:00

22338 Commits

Author SHA1 Message Date
Thomas Markwalder
8fde70c1b6 [master] Implemented schema upgrade for Postgres schema 2.0
Merged in branch 'trac3969'
2015-10-21 14:24:19 -04:00
Thomas Markwalder
b6fb92457f [3969] Addressed review comments 2015-10-21 11:57:47 -04:00
Francis Dupont
c8a30ae1a1 [master] Replaced EXPECT_EQ by EXPECT_TRUE == on HWAddr 2015-10-21 17:06:19 +02:00
Francis Dupont
1ca289721d [master] Updated git hash 2015-10-21 15:17:21 +02:00
Francis Dupont
c5cffe74ac [master] Finished merge of trac4071 (internal record format in option doc) 2015-10-21 15:15:17 +02:00
Francis Dupont
9628fbe13a [master] Merged trac4071 (internal record format in option doc) 2015-10-21 15:13:11 +02:00
Francis Dupont
2d6ac9fd88 [master] Merged trac4059 (layer 2 DHCPv6 relays) 2015-10-21 15:07:03 +02:00
Francis Dupont
fea70970cc [master] Updated git hash 2015-10-21 15:05:11 +02:00
Francis Dupont
b7072884e8 [master] Finished merge of trac4058 (DHCPv4 Subnet Selection option) 2015-10-21 14:55:17 +02:00
Marcin Siodelski
71e4bb1dce [3977] Added system_messages program to .gitignore. 2015-10-21 14:15:24 +02:00
Marcin Siodelski
d580c4225c [3977] Removed unused code generating NCRs. 2015-10-21 14:11:31 +02:00
Marcin Siodelski
52f812a86d [3977] Do not generate NCRs for prefix delegation. 2015-10-21 12:47:04 +02:00
Marcin Siodelski
fd3e11d169 [3977] Improved logging in methods queueing NCRs and reclaiming leases. 2015-10-21 12:25:04 +02:00
Marcin Siodelski
472f388709 [3977] Added variants of PktX::makeLabel excluding transaction id. 2015-10-21 11:20:15 +02:00
Thomas Markwalder
49b0bac276 [3969] Added upgrade support from Postgres schema 1.0 to 2.0
Upgrade adds state column to both lease tables, the state table,
and the lease dump functions.

src/bin/admin/scripts/pgsql/upgrade_1.0_to_2.0.sh -
    new script for upgrading postgres schema

src/bin/admin/tests/dhcpdb_create_1.0.pgsql
    new sql script for creating 1.0 schema db

configure.ac
    added entry for new upgrade script

src/bin/admin/kea-admin.in
    pgsql_upgrade() - modified to set Postgres password env variable
    and pass in remaining args as psql expects them

src/bin/admin/scripts/pgsql/Makefile.am
    added entry for new upgrade script

src/bin/admin/tests/Makefile.am
    added entry for 1.0 schema script

src/bin/admin/tests/pgsql_tests.sh.in
    pgsql_upgrade_test()  - revamped now that Postgres actually
    has its first upgrade script.
2015-10-20 08:36:14 -04:00
Marcin Siodelski
5de74693c4 [3977] Name change requests are now generated when lease is reused.
This change triggered a lot of code refactoring for generating the
NameChangeRequests. Long story short is that the functions responsible
for generating NCRs from the lease information have been moved to
the libdhcpsrv where they better fit and where they may be used
by both allocation engine and the servers.
2015-10-20 14:27:22 +02:00
Stephen Morris
814fabe921 [master] ChangeLog for trac3443 2015-10-20 11:12:43 +01:00
Stephen Morris
4bf0a14aa7 [master] Merge branch 'trac3443' 2015-10-20 10:54:43 +01:00
Francis Dupont
882cfa6cad [4071] Tried inline description of standard option records 2015-10-19 19:14:33 +02:00
Stephen Morris
24b35b847c [3443] Minor changes after review. 2015-10-19 18:05:01 +01:00
Marcin Siodelski
19dc7c8ffc [master] Fixing one more params binding issue in PostgreSQL.
This change was omitted during the previous commit.
trac4071_base
2015-10-19 07:32:07 -07:00
Marcin Siodelski
6a7186233e [master] Do not use temporary variables to bind to PostgreSQL queries.
This change has been reviewed and approved on jabber.
2015-10-19 07:17:10 -07:00
Francis Dupont
f5c8bd14f4 [3927] Tentative to fix option-def descriptions 2015-10-18 22:10:47 +02:00
Francis Dupont
8e360e6613 [3927] Simplified option-data tests 2015-10-18 21:39:57 +02:00
Francis Dupont
df49e49ac2 [3927] Simplified option-def tests 2015-10-18 19:57:20 +02:00
Francis Dupont
75552a69de [3927] blank line 2015-10-17 21:47:15 +02:00
Francis Dupont
3029c65e56 [3927] spurious indents 2015-10-17 21:05:18 +02:00
Francis Dupont
2eb98727c7 [3978] Rearranged DHCPv4 unit tests 2015-10-17 11:22:24 +02:00
Francis Dupont
448015b06a [3978] Cleaned up code 2015-10-17 11:19:55 +02:00
Francis Dupont
c5ac045740 [3978] new command handler takes no argument 2015-10-17 01:10:25 +02:00
Francis Dupont
66e996f842 [3978] Added unit tests 2015-10-16 23:50:39 +02:00
Francis Dupont
008b74a6ff [3978] Tentative leases-reclaim command 2015-10-16 23:01:33 +02:00
Francis Dupont
8f5ca179e1 [3978] spelling 2015-10-16 23:01:02 +02:00
Francis Dupont
27d083a0bb [3978] spelling 2015-10-16 23:00:35 +02:00
Francis Dupont
f082208431 [3978] commands-list -> list-commands 2015-10-16 22:31:51 +02:00
Marcin Siodelski
20db1ae1d6 [master] Added ChangeLog entry for #3968. trac3927_base trac3978_base trac3874_base 2015-10-16 17:24:44 +02:00
Marcin Siodelski
0bc02588d8 [master] Merge branch 'trac3968' 2015-10-16 17:12:07 +02:00
Francis Dupont
bf15606032 [master] Merge branch 'master' of ssh://git.kea.isc.org/git/kea 2015-10-16 16:00:31 +02:00
Francis Dupont
d90b33c547 [master] Removed extra data_source_unittest.cc file 2015-10-16 16:00:07 +02:00
Tomek Mrugalski
aa12ee895f [master] Compilation fix. 2015-10-16 14:57:52 +02:00
Francis Dupont
c4004f8a6d [master] Fixed bare make distcheck 2015-10-16 14:19:39 +02:00
Francis Dupont
653ed2af44 [master] Fixed Makefile.am 2015-10-16 13:46:02 +02:00
Francis Dupont
9b38ef3cda [master] Updated git hash 2015-10-16 13:44:55 +02:00
Francis Dupont
a8195310c6 [master] Removed remaining references to system_messages.py 2015-10-16 13:44:05 +02:00
Francis Dupont
0dea9af8ef [master] Finished merge of trac3516 (trac3516) 2015-10-16 13:29:41 +02:00
Francis Dupont
ea7f498bda [4060a] Rebased trac4060 2015-10-15 23:07:15 +02:00
Marcin Siodelski
1756b9dfaa [3968] Updated PostgreSQL schema per review comments. 2015-10-15 22:00:42 +02:00
Marcin Siodelski
640d3538c0 [3968] Added ASC sorting for indexes by expiration. 2015-10-15 21:48:01 +02:00
Marcin Siodelski
e7fd02a54c [3968] New constraints added to the upgrade scripts and tests.
Also, updated the lease_hwaddr_source table with missing
entries from the lease.cc.
2015-10-15 21:33:38 +02:00
Marcin Siodelski
f87000bd5d [3968] Merge branch 'master' into trac3968 2015-10-15 19:59:12 +02:00