Marcin Siodelski
35c81ed2bf
[master] Added ChangeLog entry for #3977 .
fdfb_base
2015-10-27 11:58:33 +01:00
Marcin Siodelski
5880e706cb
[master] Merge branch 'trac3977'
2015-10-27 11:19:35 +01:00
Shawn Routhier
91c55ca090
[trac3977] update comment to be v4 instead of v6
2015-10-26 21:25:15 -07:00
Tomek Mrugalski
78d704a725
[4081] .gitignore added.
2015-10-26 20:53:42 +01:00
Tomek Mrugalski
4f70950333
[4081] Boilerplate logger added.
2015-10-26 20:52:28 +01:00
Marcin Siodelski
2cee93c20f
[3977] Addressed review comments.
2015-10-26 20:50:30 +01:00
Tomek Mrugalski
8aeff03fda
[4081] Option::toString() and OptionString::toString() implemented.
2015-10-26 20:12:17 +01:00
Tomek Mrugalski
a7923efa91
[4081] Initial Token implementation added.
2015-10-26 20:11:22 +01:00
Marcin Siodelski
94847b1629
[3979] Updated user guide for lease expiration.
2015-10-26 16:15:55 +01:00
Marcin Siodelski
0533f9d62e
[3979] Removed lease expiration from the server limitations.
2015-10-26 14:08:53 +01:00
Marcin Siodelski
c586b9b8e4
[3979] Removed notes in the statistics about lease expiration not impl.
2015-10-26 14:06:14 +01:00
Marcin Siodelski
f75ba49ed4
[3979] Added examples demonstrating processing expired leases.
2015-10-26 14:00:01 +01:00
Francis Dupont
079b324945
[master] Updated git hash
2015-10-26 13:56:51 +01:00
Francis Dupont
9d5716e5bd
[master] Finished merge of trac3978 (new leases-reclaim command)
2015-10-26 13:55:36 +01:00
Francis Dupont
8a7dae1e17
[master] Finished merge of trac3978 (new leases-reclaim command)
2015-10-26 13:52:43 +01:00
Francis Dupont
53dd16c29d
[master] Merged trac3978 (new leases-reclaim command)
2015-10-26 13:33:56 +01:00
Marcin Siodelski
702b77ce47
[3979] Added description of leases-reclaim command to User Guide.
2015-10-26 12:59:35 +01:00
Shawn Routhier
292c9a036c
[trac3977] Tidy up some typos
2015-10-25 22:25:45 -07:00
Thomas Markwalder
be964a2b42
[3780] MySQL and Postgres lease managers now exit on fatal error detection
...
src/lib/dhcpsrv/dhcpsrv_messages.mes
added messages DHCPSRV_MYSQL_FATAL_ERROR, DHCPSRV_PGSQL_FATAL_ERROR
src/lib/dhcpsrv/mysql_lease_mgr.cc
added MySQL client error code include
MySqlLeaseMgr::checkError() - method is no longer inlined in
the header. Expanded to detect unrecoverable errors, log
them and call exit().
src/lib/dhcpsrv/mysql_lease_mgr.h
Removed inline implemenation of MySqlLeaseMgr::checkError(),
and expanded commentary
src/lib/dhcpsrv/pgsql_lease_mgr.cc
PgSqlLeaseMgr::addLeaseCommon() - now uses checkStatementError()
PgSqlLeaseMgr::checkStatementError() - Expanded to detect
unrecoverable errors, log them and call exit().
src/lib/dhcpsrv/pgsql_lease_mgr.h
Expanded commentary for PgSqlLeaseMgr::checkStatementError()
2015-10-23 16:41:27 -04:00
Marcin Siodelski
74e140a3a8
[3979] Added new chapter about lease reclamation to the User Guide.
2015-10-23 17:06:23 +02:00
Francis Dupont
e03cf770b3
[3978] Addressed comments
2015-10-23 04:23:45 +02:00
Francis Dupont
360b740097
[master] Merge branch 'master' of ssh://git.kea.isc.org/git/kea
2015-10-21 21:22:25 +02:00
Francis Dupont
c7b26c2e62
[master] spelling
2015-10-21 21:21:55 +02:00
Thomas Markwalder
b9124baac0
[master] Added ChangeLog entry 1036 for trac #3969 .
2015-10-21 14:58:02 -04:00
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