2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00
Commit Graph

1340 Commits

Author SHA1 Message Date
Francis Dupont
460a3e2ed0 [master] Merged trac5010 (fix --with-cql) 2017-05-26 17:03:07 +02:00
Francis Dupont
445ffa7ad0 [5214] prefix can be still set to NONE 2017-05-12 01:06:28 +02:00
Francis Dupont
212b35a090 [5010] Comment addressed 2017-05-11 14:28:25 +02:00
Wlodek Wencel
92856d9fa8 [master] version bumped up after release 2017-04-28 21:57:44 +02:00
Tomek Mrugalski
fd3b6a3d7e [5208] C++11 detection code moved to ax_cpp11.m4 2017-04-20 19:44:15 +02:00
Marcin Siodelski
390d687d0f [master] Merge branch 'trac5102' 2017-04-20 13:36:17 +02:00
Francis Dupont
f354240011 [master] Finished merge of trac4242 (boost version detection) 2017-04-18 16:38:30 +02:00
Francis Dupont
5e66394bcc [4242] Addressed comments 2017-04-15 15:34:30 +02:00
Marcin Siodelski
ec873ef2f2 [5102] Updated MySQL and PgSQL schemas with 'client-id' host id type. 2017-04-14 23:39:13 +02:00
Francis Dupont
d3db2d05a3 [5196] Fixed the python detection (hack the list vs call twice the macro) 2017-04-03 23:15:35 +02:00
Francis Dupont
a01b3eb47d [master] Merged trac5170 (kea-shell install) 2017-04-03 19:38:02 +02:00
Marcin Siodelski
3e3e6f1c23 [5078] Moved test unix socket to a library.
It can be now used in other tests.
2017-03-29 18:41:52 +02:00
Francis Dupont
3a4567fa6e [master] Added botan-2 botan-1.11 to configure.ac BOTAN_VERSIONS 2017-03-21 17:12:28 +01:00
Francis Dupont
8d4a4511c8 [5170] Done 2017-03-12 02:41:53 +01:00
Tomek Mrugalski
df38c26f95 [master] Merge branch 'trac5114' (toElement aka unparse)
# Conflicts:
#	configure.ac
#	src/bin/agent/tests/Makefile.am
2017-03-10 19:39:27 +01:00
Tomek Mrugalski
816dc5ccfa [master] Merge branch 'trac5137' (kea-shell) 2017-03-09 13:14:38 +01:00
Tomek Mrugalski
5e03c7da8d [5137] Comments improved 2017-03-09 12:57:03 +01:00
Francis Dupont
f0494b2149 [5137] A few fixes and many python style improvements 2017-03-09 01:17:03 +01:00
Tomek Mrugalski
82d9586d45 [5137] configure.ac modified, Makefiles added/updated 2017-03-07 22:45:17 +01:00
Francis Dupont
0a6b0221e3 [fdunparse2] Finished d2 and agent 2017-03-07 13:42:58 +01:00
Francis Dupont
406bb64b20 [fdunparse2] Some fixes, did D2, began CA 2017-03-07 13:42:58 +01:00
Francis Dupont
0beffc6e25 [fdunparse2] Rebased, still reservations to do 2017-03-07 13:42:58 +01:00
Francis Dupont
99705e8b96 [master] Merged trac1205a (unparse design) 2017-03-03 23:23:41 +01:00
Tomek Mrugalski
828304f2f4 [master] Merge branch 'trac5134_rebase'
# Conflicts:
#	src/bin/agent/Makefile.am
#	src/bin/agent/ca_cfg_mgr.cc
#	src/bin/agent/tests/.gitignore
#	src/bin/agent/tests/Makefile.am
#	src/bin/agent/tests/ca_cfg_mgr_unittests.cc
#	src/lib/process/tests/d_cfg_mgr_unittests.cc
2017-03-02 11:11:22 +01:00
Marcin Siodelski
58859405e5 [5107] Renamed ctrl_agent_* to ca_* and unittest to unittests. 2017-02-28 17:01:43 +01:00
Marcin Siodelski
e868d5b1fd [5134] Fixed some typos, commentaries and copyright dates. 2017-02-27 12:40:15 +01:00
Francis Dupont
efebb1a857 [1205a] Added variadic template check in configure 2017-02-24 12:57:33 +01:00
Tomek Mrugalski
bed54a8d23 [5134] Unit-tests implemented. 2017-02-17 14:06:49 +01:00
Francis Dupont
43281bd9de [master] Finished merge of trac4633 (update cryptolink) 2017-02-10 18:54:07 +01:00
Francis Dupont
325d49a7c6 [5010] Trivial fix (uppercase CQL_CONFIG) 2017-01-22 17:57:50 +01:00
Andrei Pavel
8c71bbbc9d Cassandra update
Replaced unrecommended backticks with $() in cql_version() in bash scripts.

*_execute() and *_execute_script() functions from src/bin/admin/admin-utils.sh now pass the parameters to the underlying backend binary whenever they are given rather than when there are 2 or more.

Corrected cql_version() return error in src/bin/admin/admin-utils.sh.

Removed redundant "USE" from cql_init() in src/bin/admin/kea-admin.in.

Inserted a newline in src/bin/admin/tests/Makefile.am to separate unrelated targets.

Style changes in cql_*_test() functions in src/bin/admin/tests/cql_tests.sh.in.

src/bin/admin/tests/dhcpdb_create_1.0.cql:
    "perfromance" typo
    Added comment headers
    Added index on expire since it is used in WHERE clauses (further performance testing may be required)
    Removed dhcp4_options and dhcp6_options table since they are not required for Cassandra

Added DROP INDEX in src/share/database/scripts/cql/dhcpdb_drop.cql.

Added sql_common.h
Added cql_exchange.h and cql_exchange.cc which mediate communication with Cassandra.
Added cql_lease_mgr.h and cql_lease_mgr.cc

Parameterized reconnect-wait-time, connect-timeout, request-timeout, tcp-keepalive, tcp-nodelay for Cassandra in kea.conf. Changes are in src/lib/dhcpsrv/cql_connection.cc and src/lib/dhcpsrv/parsers/dbaccess_parser.cc.

Reformated x != NULL into !x as specified in the Kea style guidelines

src/lib/dhcpsrv/cql_connection.cc:
    Added range check for port
    Added CqlConnection:setConsistency
    Added CqlConnection::startTransaction  which is a noop
    Added CqlTransaction method implementations.
    Corrected ending brace of namespace declaration, it doesn't need semicolon.

src/lib/dhcpsrv/cql_connection.h:
    Added explicit on CqlConnection constructor. Unlikely that this class will ever be derived, but it's good practice.
    Changed some comments.
    Added CqlTransaction class definition.

src/lib/dhcpsrv/cql_lease_mgr.cc:
    Formatted the entire code.
    Changed data types to cass_ types.

Added some log messages.

Moved structs, enums and typedefs from src/lib/dhcpsrv/lease_mgr.h to src/lib/dhcpsrv/sql_common.h

Added some missing tests in src/lib/dhcpsrv/tests/cql_lease_mgr_unittest.cc
2017-01-11 14:14:43 +02:00
Francis Dupont
91a546c3f1 [master] Missing ; after class declaration 2017-01-10 23:29:40 +01:00
Francis Dupont
ca6f2af77b [5088] Merged trac5092 diff 2016-12-23 19:24:41 +01:00
Francis Dupont
f23ce81982 [5088] Added cbegin/cend and final C++11 feature checks 2016-12-23 19:21:04 +01:00
Marcin Siodelski
cd72284b5b [master] Merge branch 'trac5077' 2016-12-19 17:10:17 +01:00
Marcin Siodelski
1ec7586da5 [master] Merge branch 'trac5075' 2016-12-19 14:48:05 +01:00
Francis Dupont
90d4113bcb [5077] Added lambda (and auto as a side effect) C++ feature check 2016-12-16 13:01:55 +01:00
Andrei Pavel
ac189cbb94 --with-dhcp-backend -> --with-backend 2016-12-14 16:58:39 +02:00
Marcin Siodelski
f7c734bbb7 [5077] Created libkea-http library. 2016-12-13 13:52:08 +01:00
Francis Dupont
cf9c4f395b [master] Merged trac5066 (enforce C++11) 2016-12-08 17:57:08 +01:00
Francis Dupont
37555482f3 [5066] Simplified the C++11 for loop 2016-12-08 17:56:04 +01:00
Marcin Siodelski
ceb361c79c [5075] Created Control Agent application stub. 2016-12-05 15:55:51 +01:00
Marcin Siodelski
4563925f79 [master] Merge branch 'trac5074' 2016-12-02 16:39:51 +01:00
Marcin Siodelski
91e39181ca [5074] Created libkea-process library. 2016-12-01 12:40:12 +01:00
Francis Dupont
818d58d73c [5066] Enforced C++11 following #4631 discussion 2016-11-30 15:39:42 +01:00
Francis Dupont
cbba4ee6e6 [master] Merged trac5057 (configure vs gtest-1.8.0) 2016-11-28 21:21:45 +01:00
Tomek Mrugalski
5ff51f28a1 [master] Merge branch 'trac5027' (premium support) 2016-11-23 14:10:36 +01:00
Tomek Mrugalski
b8a797df0f [trac5027] Renamed "found"=>yes, "not found"=>no for premium 2016-11-23 14:09:46 +01:00
Francis Dupont
72961fc6df [5057] Added --with-gtest-source googletest directory helper 2016-11-21 15:10:19 +01:00
Francis Dupont
754d44be2b [4633] Addressed comments 2016-11-21 14:53:37 +01:00