]>
git.ipfire.org Git - thirdparty/kea.git/log
Tomek Mrugalski [Thu, 25 Aug 2016 14:54:40 +0000 (16:54 +0200)]
[4626] methods reordered
Tomek Mrugalski [Thu, 25 Aug 2016 14:44:55 +0000 (16:44 +0200)]
[4626] Changes after review
- Dhcp4Srv::vendorClassSpecificProcessing removed
- User's Guide updated
- disabled obsolete test (will need to be rewritten to take advantage
of new classification code)
- classes definitions now use strings for server-name and filename
- unused configuration removed from unit-tests
- textFixedFields is now documented
- Unit-tests now have short descriptions
Tomek Mrugalski [Wed, 24 Aug 2016 17:41:31 +0000 (19:41 +0200)]
[4626] Documentation for fixed fields in classification written.
Tomek Mrugalski [Wed, 24 Aug 2016 17:23:51 +0000 (19:23 +0200)]
[4626] Unit-tests implemented for parser.
Tomek Mrugalski [Wed, 24 Aug 2016 16:51:28 +0000 (18:51 +0200)]
[4626] Unit-tests for classification + fixed fields in DHCPv4 implemented.
Tomek Mrugalski [Wed, 24 Aug 2016 12:51:19 +0000 (14:51 +0200)]
[4626] setFixedFields called for Discover, Request and InfRequest
Tomek Mrugalski [Wed, 24 Aug 2016 12:30:16 +0000 (14:30 +0200)]
[4626] class parser updated to handle next-server, server-name and boot-file-name
Tomek Mrugalski [Wed, 24 Aug 2016 11:17:19 +0000 (13:17 +0200)]
[4626] Prototype implementation for fields storage done.
Tomek Mrugalski [Tue, 23 Aug 2016 19:43:38 +0000 (21:43 +0200)]
[master] Fixed recently introduced cpp-check
Tomek Mrugalski [Tue, 23 Aug 2016 19:12:04 +0000 (21:12 +0200)]
[master] ChangeLog updated.
Tomek Mrugalski [Tue, 23 Aug 2016 19:10:42 +0000 (21:10 +0200)]
[master] Merge branch 'trac4483' (integer literal in classification)
Tomek Mrugalski [Tue, 23 Aug 2016 16:30:42 +0000 (18:30 +0200)]
[4483] Obsolete comment removed.
Tomek Mrugalski [Tue, 23 Aug 2016 16:28:42 +0000 (18:28 +0200)]
[4483] Fix for sometimes-uninitialized problem in evaluate_unittest.cc
Shawn Routhier [Tue, 23 Aug 2016 16:25:27 +0000 (09:25 -0700)]
[trac4883] A couple more typos
Tomek Mrugalski [Tue, 23 Aug 2016 11:18:07 +0000 (13:18 +0200)]
[4483] Parser files regenerated.
Tomek Mrugalski [Tue, 23 Aug 2016 11:17:38 +0000 (13:17 +0200)]
[4483] Review comments addressed
- Implemented new test for checking integer boundaries
- checkTokenInteger documented
- indentation fixed in parser.yy
- integer check in lexer.ll extended from int to int64_t
- a bug fixed in EvalContext::convertUint32
- User's Guide now explicitly mentions network order
Marcin Siodelski [Tue, 23 Aug 2016 08:32:06 +0000 (10:32 +0200)]
[master] Created ChangeLog entry for #4282.
Marcin Siodelski [Tue, 23 Aug 2016 08:21:25 +0000 (10:21 +0200)]
[master] Merge branch 'trac4282'
Marcin Siodelski [Tue, 23 Aug 2016 08:08:35 +0000 (10:08 +0200)]
[4282] Addressed review comments - minor edits in user's guide.
Shawn Routhier [Mon, 22 Aug 2016 23:14:57 +0000 (16:14 -0700)]
[trac4282] Tidy up some grammar and typo level items
Shawn Routhier [Mon, 22 Aug 2016 22:27:36 +0000 (15:27 -0700)]
[trac4483] Fix a couple more typos
Thomas Markwalder [Mon, 22 Aug 2016 17:50:11 +0000 (13:50 -0400)]
[master] Added ChangeLog entry 1151 for #4279.
Thomas Markwalder [Mon, 22 Aug 2016 17:25:36 +0000 (13:25 -0400)]
[master] MySQL and PostgreSQL backends now support HR client classes
Merges in trac4279.
Marcin Siodelski [Mon, 22 Aug 2016 15:48:20 +0000 (17:48 +0200)]
[4279] Fixed indentation of comments in generic host data source tests.
Thomas Markwalder [Mon, 22 Aug 2016 15:34:15 +0000 (11:34 -0400)]
[4279] Addressed review comments
src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc
GenericHostDataSourceTest::compareClientClasses() - now uses
std::equal()
GenericHostDataSourceTest::testMultipleClientClasses4()
GenericHostDataSourceTest::testMultipleClientClasses6() - added
steps for each of the host getters defined in BaseHostDataSource
src/lib/dhcpsrv/tests/generic_host_data_source_unittest.h
src/lib/dhcpsrv/tests/mysql_host_data_source_unittest.cc
src/lib/dhcpsrv/tests/pgsql_host_data_source_unittest.cc - fixed typo
Tomek Mrugalski [Mon, 22 Aug 2016 10:57:17 +0000 (12:57 +0200)]
[master] ChangeLog updated.
Tomek Mrugalski [Mon, 22 Aug 2016 10:56:09 +0000 (12:56 +0200)]
[master] Merge branch 'trac4553' (extend gcc/boost workaround for gcc 5.4-5.9999)
Tomek Mrugalski [Mon, 22 Aug 2016 10:55:40 +0000 (12:55 +0200)]
[4553] Updated comment after Francis' review.
Shawn Routhier [Mon, 22 Aug 2016 04:45:21 +0000 (21:45 -0700)]
[trac4483] Tidy up some typos and spacing
Marcin Siodelski [Fri, 19 Aug 2016 20:56:17 +0000 (22:56 +0200)]
[master] Added ChangeLog entry for #4544.
Marcin Siodelski [Fri, 19 Aug 2016 19:48:18 +0000 (21:48 +0200)]
[master] Merge branch 'trac4544'
Marcin Siodelski [Fri, 19 Aug 2016 19:38:22 +0000 (21:38 +0200)]
[4282] Added pointer to wiki for inserting reservations to database.
Tomek Mrugalski [Fri, 19 Aug 2016 17:57:35 +0000 (19:57 +0200)]
[4483] Several examples corrected in the User's Guide.
Tomek Mrugalski [Fri, 19 Aug 2016 17:49:37 +0000 (19:49 +0200)]
[4483] Parser regenerated.
Tomek Mrugalski [Fri, 19 Aug 2016 17:49:20 +0000 (19:49 +0200)]
[4483] Extra unit-tests added.
Tomek Mrugalski [Fri, 19 Aug 2016 17:48:51 +0000 (19:48 +0200)]
[4483] User's Guide updated.
Tomek Mrugalski [Fri, 19 Aug 2016 17:38:18 +0000 (19:38 +0200)]
[4483] Example configs added.
Tomek Mrugalski [Fri, 19 Aug 2016 17:06:00 +0000 (19:06 +0200)]
[4483] Added pkt4.msgtype and pkt4.transid
Tomek Mrugalski [Fri, 19 Aug 2016 16:37:27 +0000 (18:37 +0200)]
[4483] Parser regenerated.
Tomek Mrugalski [Fri, 19 Aug 2016 16:37:13 +0000 (18:37 +0200)]
[4483] Generic unit-tests for evaluating expressions written
Tomek Mrugalski [Fri, 19 Aug 2016 15:21:52 +0000 (17:21 +0200)]
[4483] Several existing instances converted to fromUint32
Tomek Mrugalski [Fri, 19 Aug 2016 15:08:55 +0000 (17:08 +0200)]
[4483] Integers in expressions implemented.
Marcin Siodelski [Fri, 19 Aug 2016 12:28:24 +0000 (14:28 +0200)]
[4282] Updated sections of User's Guide with PgSQL host storage.
Tomek Mrugalski [Fri, 19 Aug 2016 08:41:57 +0000 (10:41 +0200)]
[4553] Patch updated to cover all versions up to 6.0
Tomek Mrugalski [Thu, 18 Aug 2016 21:41:52 +0000 (23:41 +0200)]
[master] ChangeLog updated.
Tomek Mrugalski [Thu, 18 Aug 2016 21:40:27 +0000 (23:40 +0200)]
[master] Merge branch 'trac4271' (vendor options support in classification)
# Conflicts:
# src/lib/eval/lexer.cc
# src/lib/eval/lexer.ll
# src/lib/eval/location.hh
# src/lib/eval/parser.cc
# src/lib/eval/parser.h
# src/lib/eval/parser.yy
# src/lib/eval/position.hh
# src/lib/eval/stack.hh
# src/lib/eval/tests/context_unittest.cc
# src/lib/eval/tests/token_unittest.cc
# src/lib/eval/token.cc
# src/lib/eval/token.h
Francis Dupont [Thu, 18 Aug 2016 17:41:08 +0000 (19:41 +0200)]
[4271] spelling
Francis Dupont [Thu, 18 Aug 2016 17:33:29 +0000 (19:33 +0200)]
[4271] Fixed parser
Francis Dupont [Thu, 18 Aug 2016 17:10:39 +0000 (19:10 +0200)]
[4271] Reindent (align actions)
Tomek Mrugalski [Thu, 18 Aug 2016 14:06:01 +0000 (16:06 +0200)]
[4271] parser regenerated
Tomek Mrugalski [Thu, 18 Aug 2016 14:05:43 +0000 (16:05 +0200)]
[4271] Changes after review
- User's Guide clearified couple things.
- messages orded alphabetically
- indentation increased in parser.yy
- debugging message formats updated slightly ('1234' => 0x1234)
- one new case in vendorClass4SpecificVendorData added
- verbose_ flag in log_utils.h commented
Tomek Mrugalski [Thu, 18 Aug 2016 13:04:20 +0000 (15:04 +0200)]
[4553] Unit-test workaround from #4243 extended to gcc-5.4 (ubuntu 16.04)
Marcin Siodelski [Thu, 18 Aug 2016 10:22:54 +0000 (12:22 +0200)]
[4544] Prevent unexpected closing of connection to the host database.
Shawn Routhier [Wed, 17 Aug 2016 07:24:30 +0000 (00:24 -0700)]
[4271] Mostly typo level clean up
Francis Dupont [Tue, 16 Aug 2016 15:29:47 +0000 (17:29 +0200)]
[master] Fixed merge error
Francis Dupont [Tue, 16 Aug 2016 15:10:08 +0000 (17:10 +0200)]
[master] Updated git hash
Francis Dupont [Tue, 16 Aug 2016 15:08:59 +0000 (15:08 +0000)]
master: regen eval/*.hh
Francis Dupont [Tue, 16 Aug 2016 15:04:34 +0000 (17:04 +0200)]
[master] Finished merge of trac4272a (meta-info in classification)
Stephen Morris [Thu, 11 Aug 2016 09:52:31 +0000 (10:52 +0100)]
[master] Added ChangeLog entry 1147 for #4533.
Shawn Routhier [Thu, 11 Aug 2016 05:58:33 +0000 (22:58 -0700)]
[4533] Fix up some typos in the comments
Tomek Mrugalski [Wed, 10 Aug 2016 17:06:56 +0000 (19:06 +0200)]
[4271] Minor doc update.
Tomek Mrugalski [Wed, 10 Aug 2016 17:01:41 +0000 (19:01 +0200)]
[4271] Limitations sections trimmed down
Tomek Mrugalski [Wed, 10 Aug 2016 16:58:51 +0000 (18:58 +0200)]
[4271] User's Guide updated.
Tomek Mrugalski [Wed, 10 Aug 2016 14:38:03 +0000 (16:38 +0200)]
[4271] Logging checks added for TokenVendor and TokenVendorClass
Tomek Mrugalski [Tue, 9 Aug 2016 14:36:48 +0000 (16:36 +0200)]
[4271] Messages are now more terse.
Tomek Mrugalski [Tue, 9 Aug 2016 14:36:04 +0000 (16:36 +0200)]
[4271] Debug in LogContnetTest class implemented.
Tomek Mrugalski [Tue, 9 Aug 2016 14:08:11 +0000 (16:08 +0200)]
[4271] Debug logging added.
Tomek Mrugalski [Tue, 9 Aug 2016 13:37:42 +0000 (15:37 +0200)]
[4271] Lexer files regenerated.
Tomek Mrugalski [Tue, 9 Aug 2016 13:36:46 +0000 (15:36 +0200)]
[4271] Vendor and Vendor-class tokens implemented.
Francis Dupont [Mon, 8 Aug 2016 14:51:49 +0000 (14:51 +0000)]
trac4272a: regen lexer/parser
Francis Dupont [Mon, 8 Aug 2016 14:46:31 +0000 (16:46 +0200)]
[4272a] Addressed comments
Stephen Morris [Mon, 8 Aug 2016 13:52:08 +0000 (14:52 +0100)]
[4533] -Werror must now be specifically enabled at configuration time
Change the default so that the -Werror compiler flag is only enabled
if specifically requested at configure time.
Thomas Markwalder [Mon, 8 Aug 2016 12:04:21 +0000 (08:04 -0400)]
[4279] Completed support for HR client classes in PostgreSQL and MySQL
src/lib/dhcpsrv/mysql_host_data_source.cc
MySqlHostExchange::createBindForSend() - removed extraneous buffer length
assignment for client class text.
src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc
- Added implementations for:
GenericHostDataSourceTest::compareClientClasses()
GenericHostDataSourceTest::testMultipleClientClasses4()
GenericHostDataSourceTest::testMultipleClientClasses6()
GenericHostDataSourceTest::testMultipleClientClassesBoth()
src/lib/dhcpsrv/tests/mysql_host_data_source_unittest.cc
- Added implementations for:
TEST_F(MySqlHostDataSourceTest, multipleClientClasses4)
TEST_F(MySqlHostDataSourceTest, multipleClientClasses6)
TEST_F(MySqlHostDataSourceTest, multipleClientClassesBoth)
src/lib/dhcpsrv/tests/pgsql_host_data_source_unittest.cc
- Added implementations for:
TEST_F(PgSqlHostDataSourceTest, multipleClientClasses4) {
TEST_F(PgSqlHostDataSourceTest, multipleClientClasses6) {
TEST_F(PgSqlHostDataSourceTest, multipleClientClassesBoth) {
Shawn Routhier [Wed, 3 Aug 2016 20:04:05 +0000 (13:04 -0700)]
[4511] add commit number to change log
Shawn Routhier [Wed, 3 Aug 2016 19:58:27 +0000 (12:58 -0700)]
[trac4511] Add description of the forensic log hooks configuration to admin guide
Shawn Routhier [Wed, 3 Aug 2016 19:32:14 +0000 (12:32 -0700)]
[trac4511] Update per review comments
Shawn Routhier [Mon, 1 Aug 2016 05:21:56 +0000 (22:21 -0700)]
[trac4511] Add description of the legal log hooks configuration and use
Thomas Markwalder [Tue, 26 Jul 2016 13:07:57 +0000 (09:07 -0400)]
[master] Added ChangeLog entry 1145 for #4277.
Thomas Markwalder [Tue, 26 Jul 2016 12:03:11 +0000 (08:03 -0400)]
[master] Addes support for Host Reservations to PostgreSQL backend
Merge branch 'trac4277'
Thomas Markwalder [Tue, 26 Jul 2016 12:01:09 +0000 (08:01 -0400)]
[4277] Addressed review comments
src/lib/dhcpsrv/pgsql_host_data_source.h
- added comment about v6 Duplicate constraint when added host reservations
Marcin Siodelski [Tue, 26 Jul 2016 04:24:38 +0000 (06:24 +0200)]
[master] Added ChangeLog entry for pull request #23.
Marcin Siodelski [Tue, 26 Jul 2016 04:22:22 +0000 (06:22 +0200)]
[master] Updated AUTHORS file with author of pull request #23.
Marcin Siodelski [Mon, 25 Jul 2016 17:35:12 +0000 (19:35 +0200)]
[github23] Corrected setting port number for DHCPv4 server.
For the DHCPINFORM case set destination port 68 if:
- direct message sent without ciaddr,
- ciaddr present
Also updated unit test to verify port number for the directly
sent DHCPINFORM without ciaddr.
Michal Humpula [Mon, 13 Jun 2016 15:50:04 +0000 (17:50 +0200)]
[github23] Select client port for DHCPINFORM message.
Tomek Mrugalski [Mon, 25 Jul 2016 18:04:20 +0000 (20:04 +0200)]
[4277] Added several @todos and fixed formatting.
Francis Dupont [Fri, 15 Jul 2016 12:54:35 +0000 (14:54 +0200)]
[master] Updated git tag
Francis Dupont [Fri, 15 Jul 2016 12:53:38 +0000 (14:53 +0200)]
[master] Finished merge of trac4273 (DHCP4o6 user doc)
Francis Dupont [Fri, 15 Jul 2016 12:48:33 +0000 (14:48 +0200)]
[4273] Italic and indent
Thomas Markwalder [Thu, 14 Jul 2016 20:35:12 +0000 (16:35 -0400)]
[4277] Fixed tagged_statements name collision
Wrapped declaration of tagged_statements[] in pgsql_host_data_source.cc
and mysql_host_data_source.cc in anonymous namespace. They collide
otherwise.
Thomas Markwalder [Thu, 14 Jul 2016 13:09:03 +0000 (09:09 -0400)]
[4277] Added PostgreSQL HR Managment section to developer's guide
src/lib/dhcprsrv/images/pgsql_host_data_source.svg
- New class diagram for PgSqlHostDataSource
doc/Doxyfile
- Added src/lib/dhcprsrv/images to IMAGE_PATH
src/lib/dhcpsrv/Makefile.am
- Added images/pgsql_host_data_source.svg to EXTRA_DIST
src/lib/dhcpsrv/libdhcpsrv.dox
- Added subsection postgreSQLHostMgr
src/lib/dhcpsrv/pgsql_connection.h
src/lib/dhcpsrv/pgsql_exchange.h
- Minor cleanup
Thomas Markwalder [Thu, 14 Jul 2016 11:34:06 +0000 (07:34 -0400)]
[4277] Addressed bulk of review comments
src/lib/dhcpsrv/tests/pgsql_exchange_unittest.cc
- Added PgSqlBasicsTest test fixture class and tests which exercise all of
the PostgreSQL data types we currently use with round-trip database writes
and reads
src/lib/dhcpsrv/pgsql_connection.cc
src/lib/dhcpsrv/pgsql_connection.h
- Moved PgSqlResult function impls from .h
- Added exception safe implementation of getColumnLabel() to PgSqlResult
src/lib/dhcpsrv/pgsql_exchange.cc
src/lib/dhcpsrv/pgsql_exchange.h
- PsqlBindArray::add() variants which accept raw pointers now throw
if the pointer is NULL
- PgSqlExchange::getColumnLabel() is now a wrapper around PgSqlResult method
src/lib/dhcpsrv/pgsql_host_data_source.h
src/lib/dhcpsrv/pgsql_host_data_source.cc
- Commentary clean up
src/lib/dhcpsrv/pgsql_lease_mgr.cc
- Commentary clean up
Shawn Routhier [Wed, 13 Jul 2016 19:22:17 +0000 (12:22 -0700)]
[master] Add git tag for change log 1142
Shawn Routhier [Wed, 13 Jul 2016 19:20:50 +0000 (12:20 -0700)]
[master] Uncomment the example column from some rows in the list of classifciation values
Shawn Routhier [Mon, 11 Jul 2016 19:59:19 +0000 (12:59 -0700)]
[trac4273] Minor typos in port description
Francis Dupont [Sat, 9 Jul 2016 09:08:30 +0000 (11:08 +0200)]
[4273] Addressed comments
Francis Dupont [Sat, 9 Jul 2016 07:51:33 +0000 (09:51 +0200)]
[master] Merged trac4531 (test -> expr for <)
Francis Dupont [Sat, 9 Jul 2016 07:47:17 +0000 (09:47 +0200)]
[4531] Patrick -> Patrik
Francis Dupont [Sat, 9 Jul 2016 07:45:46 +0000 (09:45 +0200)]
[4531] Updated AUTHORS
Marcin Siodelski [Fri, 8 Jul 2016 21:01:52 +0000 (23:01 +0200)]
[master] Added ChangeLog entry for #4497.
Marcin Siodelski [Fri, 8 Jul 2016 20:34:59 +0000 (22:34 +0200)]
[master] Merge branch 'trac4497_rebase'