]>
git.ipfire.org Git - thirdparty/kea.git/log
Francis Dupont [Wed, 17 Oct 2018 15:55:46 +0000 (17:55 +0200)]
[65-libyang-host_rebased] Rebased before merging
Tomek Mrugalski [Wed, 17 Oct 2018 15:43:01 +0000 (17:43 +0200)]
[#65,!46] Minor clarifications in comments.
Tomek Mrugalski [Wed, 17 Oct 2018 15:42:28 +0000 (17:42 +0200)]
[#65,!46] Missing unit-test added.
Francis Dupont [Wed, 17 Oct 2018 12:29:30 +0000 (14:29 +0200)]
[5-netconf-doc-config] Final changes
Tomek Mrugalski [Wed, 17 Oct 2018 10:19:17 +0000 (12:19 +0200)]
[#5,!53] Updated netconf docs
Francis Dupont [Tue, 16 Oct 2018 21:05:26 +0000 (23:05 +0200)]
[5-netconf-doc-config] Removed to resolved comments
Francis Dupont [Tue, 16 Oct 2018 20:18:58 +0000 (22:18 +0200)]
[5-netconf-doc-config] typo (comment)
Francis Dupont [Tue, 16 Oct 2018 20:16:52 +0000 (22:16 +0200)]
[5-netconf-doc-config] Updated netconf doc
Tomek Mrugalski [Tue, 16 Oct 2018 18:16:37 +0000 (20:16 +0200)]
[#5,!53] Updated user's guide after review.
Francis Dupont [Sun, 14 Oct 2018 17:24:19 +0000 (19:24 +0200)]
[5-netconf-doc-config] More about module change subscriptions
Francis Dupont [Sun, 14 Oct 2018 11:23:44 +0000 (13:23 +0200)]
[5-netconf-doc-config] Updated manual page
Francis Dupont [Sun, 14 Oct 2018 11:09:45 +0000 (13:09 +0200)]
[5-netconf-doc-config] Filled netconf agent doc
Francis Dupont [Tue, 16 Oct 2018 16:39:13 +0000 (18:39 +0200)]
[master] [master] Update git hash
Francis Dupont [Tue, 16 Oct 2018 16:27:24 +0000 (18:27 +0200)]
[153-netconf-control-socket] Addressed review comments
Tomek Mrugalski [Tue, 16 Oct 2018 12:49:56 +0000 (14:49 +0200)]
[#153, !60] Minor changes after review.
Francis Dupont [Thu, 11 Oct 2018 13:58:33 +0000 (15:58 +0200)]
[153-netconf-control-socket] Fixes from Ubuntu
Francis Dupont [Sun, 7 Oct 2018 21:10:09 +0000 (23:10 +0200)]
[153-netconf-control-socket] Added control socket code from kea-yang
Francis Dupont [Sun, 7 Oct 2018 21:09:23 +0000 (23:09 +0200)]
[153-netconf-control-socket] Extended command
Francis Dupont [Tue, 16 Oct 2018 15:46:57 +0000 (17:46 +0200)]
[65-libyang-host_rebased] Addressed rebase conflicts
Tomek Mrugalski [Tue, 16 Oct 2018 13:29:52 +0000 (15:29 +0200)]
[#65,!28] Minor comment changes after review.
Francis Dupont [Sun, 14 Oct 2018 08:26:26 +0000 (10:26 +0200)]
[65-libyang-database_rebased] Addressed rebase conflicts
Francis Dupont [Sun, 14 Oct 2018 08:22:52 +0000 (10:22 +0200)]
[65-libyang-host_rebased] Addressed rebase conflicts
Francis Dupont [Sat, 13 Oct 2018 08:29:37 +0000 (10:29 +0200)]
[65-libyang-control-socket_rebase] Rebasing before merge
Francis Dupont [Sat, 13 Oct 2018 08:28:20 +0000 (10:28 +0200)]
[65-libyang-control-socket] Note that kea-dhcp-ddns server not yet support it
Thomas Markwalder [Fri, 12 Oct 2018 14:46:30 +0000 (10:46 -0400)]
[master] Added ConfigBackendDHCPv4Mgr
Merge branch '101-cb-add-two-step-configuration-to-the-dhcpv4-server'
Tomek Mrugalski [Fri, 12 Oct 2018 13:24:59 +0000 (15:24 +0200)]
[#65, !27] Minor comments connection.
Thomas Markwalder [Fri, 12 Oct 2018 13:24:49 +0000 (09:24 -0400)]
[#101,!58] Rebased for merge
modified: AUTHORS
modified: doc/guide/netconf.xml
modified: src/bin/netconf/netconf_controller.cc
modified: src/bin/netconf/netconf_controller.h
modified: src/lib/process/Makefile.am
deleted: src/share/database/scripts/mysql/dhcpdb_create.mysql.orig
deleted: src/share/database/scripts/mysql/upgrade_6.0_to_7.0.sh.in.orig
Franciszek Gorski [Fri, 12 Oct 2018 12:30:05 +0000 (14:30 +0200)]
[147-pid-files-dir-error] dhcp_data_dir added to Makefile.am
Thomas Markwalder [Thu, 11 Oct 2018 18:15:25 +0000 (14:15 -0400)]
[#101,!53] Addressed review comments
Thomas Markwalder [Wed, 10 Oct 2018 18:51:59 +0000 (14:51 -0400)]
[#101,!58] Implemented ConfigBackendDhcp4Mgr, mysql backend registers/unregisters
src/hooks/dhcp/mysql_cb/mysql_cb_callouts.cc
load() - added call to register MySQL backend
unload() - added call to unregister MySQL backend
src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.*
MySqlConfigBackendDHCPv4::registerBackendType()
MySqlConfigBackendDHCPv4::unregisterBackendType()
- new static methods for registering/unregistering
src/hooks/dhcp/mysql_cb/tests/Makefile.am
mysql_cb_dhcp4_mgr_unittest.cc - new file
src/lib/config_backend/base_config_backend_mgr.h
bool unregisterBackendFactory(const std::string& db_type)
- new method to unregister factory and delete backends
src/lib/config_backend/base_config_backend_pool.h
void delAllBackends(const std::string& db_type)
- new method to delete all backends of a given type
/src/lib/config_backend/tests/config_backend_mgr_unittest.cc
TEST_F(ConfigBackendMgrTest, unregister) - new test
src/lib/dhcpsrv/Makefile.am
src/lib/dhcpsrv/config_backend_dhcp4.h
src/lib/dhcpsrv/config_backend_dhcp4.cc
New files that implement ConfigBackendDhcp4Mgr
src/lib/dhcpsrv/config_backend_pool_dhcp4.h
Added missing public scope, removed pure virtual function
src/lib/eval/tests/Makefile.am
Added new dependency libkea-cc
Thomas Markwalder [Thu, 11 Oct 2018 18:15:25 +0000 (14:15 -0400)]
[#101,!58] Addressed review comments
Włodzimierz Wencel [Thu, 11 Oct 2018 13:29:36 +0000 (09:29 -0400)]
Update AUTHORS
Franciszek Gorski [Thu, 11 Oct 2018 13:00:51 +0000 (15:00 +0200)]
[147-pid-files-dir-error] dhcp_data_dir added to Makefile.am
Francis Dupont [Thu, 11 Oct 2018 09:29:41 +0000 (11:29 +0200)]
[master] Added swig in netconf dependencies
Thomas Markwalder [Wed, 10 Oct 2018 18:51:59 +0000 (14:51 -0400)]
[#101,!58] Implemented ConfigBackendDhcp4Mgr, mysql backend registers/unregisters
src/hooks/dhcp/mysql_cb/mysql_cb_callouts.cc
load() - added call to register MySQL backend
unload() - added call to unregister MySQL backend
src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.*
MySqlConfigBackendDHCPv4::registerBackendType()
MySqlConfigBackendDHCPv4::unregisterBackendType()
- new static methods for registering/unregistering
src/hooks/dhcp/mysql_cb/tests/Makefile.am
mysql_cb_dhcp4_mgr_unittest.cc - new file
src/lib/config_backend/base_config_backend_mgr.h
bool unregisterBackendFactory(const std::string& db_type)
- new method to unregister factory and delete backends
src/lib/config_backend/base_config_backend_pool.h
void delAllBackends(const std::string& db_type)
- new method to delete all backends of a given type
/src/lib/config_backend/tests/config_backend_mgr_unittest.cc
TEST_F(ConfigBackendMgrTest, unregister) - new test
src/lib/dhcpsrv/Makefile.am
src/lib/dhcpsrv/config_backend_dhcp4.h
src/lib/dhcpsrv/config_backend_dhcp4.cc
New files that implement ConfigBackendDhcp4Mgr
src/lib/dhcpsrv/config_backend_pool_dhcp4.h
Added missing public scope, removed pure virtual function
src/lib/eval/tests/Makefile.am
Added new dependency libkea-cc
Marcin Siodelski [Wed, 10 Oct 2018 11:26:51 +0000 (13:26 +0200)]
[master] Removed accidentally committed files.
Reviewed by Wlodek.
Francis Dupont [Sat, 6 Oct 2018 16:31:01 +0000 (18:31 +0200)]
[154-netconf-disable-reload] Added processSignal redefine
Marcin Siodelski [Mon, 8 Oct 2018 18:48:50 +0000 (20:48 +0200)]
[#93,!56] Delete methods must return number of affected rows.
Marcin Siodelski [Sun, 7 Oct 2018 17:52:30 +0000 (19:52 +0200)]
[#93,!56] Addressed review comments.
Marcin Siodelski [Sun, 7 Oct 2018 11:27:41 +0000 (13:27 +0200)]
[#93,!56] Updated MySQL config backend to manage global parameters.
Marcin Siodelski [Wed, 3 Oct 2018 12:36:52 +0000 (14:36 +0200)]
[#93,!56] Implemented StampedValue.
Marcin Siodelski [Mon, 8 Oct 2018 19:56:45 +0000 (21:56 +0200)]
[#93,!51] Used buffer length constants in mysql cb impl.
Marcin Siodelski [Mon, 8 Oct 2018 18:33:52 +0000 (20:33 +0200)]
[#93,!51] Removed accidentally inserted characters.
Marcin Siodelski [Mon, 8 Oct 2018 18:11:38 +0000 (20:11 +0200)]
[#93,!51] Fixed compilation issue in Config Backend pool.
Marcin Siodelski [Sun, 7 Oct 2018 16:56:52 +0000 (18:56 +0200)]
[#93,!51] Enclose option creation in transactions.
Marcin Siodelski [Sun, 7 Oct 2018 16:40:15 +0000 (18:40 +0200)]
[#93,!51] Fixed MySQL upgrade unit test.
Marcin Siodelski [Sun, 7 Oct 2018 16:40:02 +0000 (18:40 +0200)]
[#93,!51] Added config backend constants with buffer lengths.
Marcin Siodelski [Sun, 7 Oct 2018 14:47:16 +0000 (16:47 +0200)]
[#93,!51] Addressed review comments.
Marcin Siodelski [Sat, 6 Oct 2018 18:30:19 +0000 (20:30 +0200)]
[#93,!51] Rebased !51 against !35.
Marcin Siodelski [Tue, 2 Oct 2018 17:09:05 +0000 (19:09 +0200)]
[#93,!51] Pool specific options are now managed in MySQL database.
Marcin Siodelski [Tue, 2 Oct 2018 11:28:11 +0000 (13:28 +0200)]
[#93,!51] Fetching global options is now possible.
Marcin Siodelski [Tue, 2 Oct 2018 09:09:19 +0000 (11:09 +0200)]
[#93,!51] Added options management in MySQL DHCPv4 config backend.
Marcin Siodelski [Mon, 8 Oct 2018 17:23:41 +0000 (19:23 +0200)]
[#93,!35] Removed extra dist causing mysql_cb build to fail.
Marcin Siodelski [Fri, 5 Oct 2018 20:24:19 +0000 (22:24 +0200)]
[#93,!35] Shared network name is now associated with subnet.
Marcin Siodelski [Fri, 5 Oct 2018 15:35:10 +0000 (17:35 +0200)]
[#93,!35] Optimize update queries for shared networks and subnets.
Marcin Siodelski [Fri, 5 Oct 2018 15:02:05 +0000 (17:02 +0200)]
[#93,!35] Enclose subnet/network creation in transaction.
Marcin Siodelski [Fri, 5 Oct 2018 13:26:53 +0000 (15:26 +0200)]
[#93,!35] Check results of the delete operations.
Marcin Siodelski [Thu, 4 Oct 2018 18:20:17 +0000 (20:20 +0200)]
[#93,!35] Config Backend API returns number of deleted entries.
Marcin Siodelski [Thu, 4 Oct 2018 16:20:54 +0000 (18:20 +0200)]
[#93,!35] Check for binding errors in the MySqlConnection class.
Marcin Siodelski [Thu, 4 Oct 2018 16:20:35 +0000 (18:20 +0200)]
[#93,!35] Added missing column in MySQL upgrade script.
Marcin Siodelski [Thu, 4 Oct 2018 15:48:22 +0000 (17:48 +0200)]
[#93,!35] Addressed minor and refectoring issues.
Marcin Siodelski [Thu, 27 Sep 2018 15:08:09 +0000 (17:08 +0200)]
[#93,!35] Removed spurious letter in Makefile.am
Marcin Siodelski [Thu, 27 Sep 2018 15:04:09 +0000 (17:04 +0200)]
[#93,!35] Commented another unused variable.
Marcin Siodelski [Thu, 27 Sep 2018 13:54:02 +0000 (15:54 +0200)]
[#93,!35] Tempoarily commented out unused parameters.
Marcin Siodelski [Thu, 27 Sep 2018 10:37:50 +0000 (12:37 +0200)]
[#93,!35] Removed spurious whitespace.
Marcin Siodelski [Thu, 27 Sep 2018 10:34:20 +0000 (12:34 +0200)]
[#93,!35] Changed option def code from tinyint to smallint.
Marcin Siodelski [Thu, 27 Sep 2018 10:28:17 +0000 (12:28 +0200)]
[#93,!35] Moved common CB functions to a parent class.
Marcin Siodelski [Thu, 27 Sep 2018 08:33:04 +0000 (10:33 +0200)]
[#93,!35] Added deletion of subnets, networks and option defs in MySQL CB.
Marcin Siodelski [Wed, 26 Sep 2018 16:54:09 +0000 (18:54 +0200)]
[#93,!35] Implemented fetching option definitions from the database.
Marcin Siodelski [Wed, 26 Sep 2018 07:42:52 +0000 (09:42 +0200)]
[#93,!35] Updated DHCPv4 Config Backend to insert and fetch shared network.
Marcin Siodelski [Tue, 25 Sep 2018 11:54:43 +0000 (13:54 +0200)]
[#93,!35] Pools are stored with IPv4 subnets.
Marcin Siodelski [Tue, 25 Sep 2018 08:50:13 +0000 (10:50 +0200)]
[#93,!35] Implemented subnet fetching in MySQL Config Backend.
Marcin Siodelski [Tue, 18 Sep 2018 06:36:53 +0000 (08:36 +0200)]
[#93,!35] Extended MySqlConnection with generic query functions.
Marcin Siodelski [Fri, 14 Sep 2018 07:37:47 +0000 (09:37 +0200)]
[#93] Added mysql_cb hooks library.
Thomas Markwalder [Mon, 8 Oct 2018 13:04:14 +0000 (09:04 -0400)]
[master] Fixed distcheck broken by #32,!23
Corrected filenames in lib/process/Makefile.am
Francis Dupont [Sat, 6 Oct 2018 10:46:24 +0000 (12:46 +0200)]
[master] Install new header yang_models.h
Francis Dupont [Sat, 6 Oct 2018 10:29:28 +0000 (12:29 +0200)]
[65-libyang-database_rebased] Updated after pool merge
Francis Dupont [Sat, 6 Oct 2018 10:28:16 +0000 (12:28 +0200)]
[65-libyang-database_rebased] Rebased on master after pool merge
Francis Dupont [Sat, 6 Oct 2018 10:26:25 +0000 (12:26 +0200)]
[65-libyang-control-socket_rebased] Updated after pool merge
Francis Dupont [Sat, 6 Oct 2018 10:24:33 +0000 (12:24 +0200)]
[65-libyang-control-socket_rebased] Rebased on master after pool merge
Francis Dupont [Sat, 6 Oct 2018 10:22:07 +0000 (12:22 +0200)]
[65-libyang-host_rebased] Updated after pool merge
Francis Dupont [Sat, 6 Oct 2018 00:46:26 +0000 (02:46 +0200)]
[128-netconf-config] Addressed comments
Francis Dupont [Thu, 4 Oct 2018 11:52:37 +0000 (13:52 +0200)]
[128-netconf-config] Added netconf config code from kea-yang
Francis Dupont [Fri, 5 Oct 2018 22:57:08 +0000 (00:57 +0200)]
[65-libyang-pool_rebased] Rebase on last master before merge
Francis Dupont [Fri, 5 Oct 2018 22:54:44 +0000 (00:54 +0200)]
[65-libyang-pool] Addressed comments and updated base code
Tomek Mrugalski [Fri, 5 Oct 2018 15:03:09 +0000 (17:03 +0200)]
[#65,!44] Minor changes after review.
Tomek Mrugalski [Fri, 5 Oct 2018 14:48:17 +0000 (16:48 +0200)]
[#65,!44] yang_models.h added.
Thomas Markwalder [Fri, 5 Oct 2018 13:57:15 +0000 (09:57 -0400)]
[master] Added ChangeLog entry 1456.
Thomas Markwalder [Fri, 5 Oct 2018 13:55:49 +0000 (09:55 -0400)]
[master] kea-dhcp4/6 now parser "server-tag" and "config-control"
Merge branch '32-extend-dhcp-configuration-to-point-to-the-config-backend'
Thomas Markwalder [Fri, 5 Oct 2018 12:47:52 +0000 (08:47 -0400)]
[#32,!23] Fixed doxygen issue
src/lib/process/config_ctl_info.h
Added code/endcode around JSON
Thomas Markwalder [Thu, 4 Oct 2018 13:58:41 +0000 (09:58 -0400)]
[#32, !23] Addressed review comments
Thomas Markwalder [Mon, 1 Oct 2018 18:17:59 +0000 (14:17 -0400)]
[#32,!23] - Added server-tag global to SrvConfig and kea-dhcp4/6
src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
src/bin/dhcp4/json_config_parser.cc
added server-tag
src/bin/dhcp4/tests/config_parser_unittest.cc
TEST_F(Dhcp4ParserTest, serverTag) - new test
src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.yy
src/bin/dhcp6/json_config_parser.cc
added server-tag
src/bin/dhcp6/tests/config_parser_unittest.cc
TEST_F(Dhcp6ParserTest, serverTag)
src/lib/dhcpsrv/parsers/simple_parser4.cc
src/lib/dhcpsrv/parsers/simple_parser6.cc
Added server-tag to global defaults
src/lib/dhcpsrv/srv_config.cc
Added server_tag_ memger to SrvConfig
src/lib/dhcpsrv/tests/srv_config_unittest.cc
TEST_F(SrvConfigTest, serverTag)
TEST_F(SrvConfigTest, unparseConfigControlInfo6) - new tests
Thomas Markwalder [Mon, 1 Oct 2018 12:55:13 +0000 (08:55 -0400)]
[#32,!23] dhcp6 now parses "config-control" element
Thomas Markwalder [Mon, 1 Oct 2018 10:54:39 +0000 (06:54 -0400)]
[#32,!23] Updated dhcp4/tests/get_config_unitttest.cc
Updated generated config tests for dhcp4
Thomas Markwalder [Fri, 28 Sep 2018 20:41:11 +0000 (16:41 -0400)]
[#32,!23] dhcp4 now parses "config-control" element
src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
Added parsing support for config-control and config-databases
src/bin/dhcp4/json_config_parser.cc
configureDhcp4Server() - added handler for config-control element
src/bin/dhcp4/parser_context.*
added CONFIG_CONTROL and CONFIG_DATABASE
src/bin/dhcp4/tests/config_parser_unittest.cc
TEST_F(Dhcp4ParserTest, configControlInfo) - new test
Thomas Markwalder [Fri, 28 Sep 2018 19:36:21 +0000 (15:36 -0400)]
[#32,!23] SrvConfig::toElement now outputs config-control
src/lib/dhcpsrv/srv_config.cc
SrvConfig::toElement() - added logic to output config-control
src/lib/dhcpsrv/tests/srv_config_unittest.cc
TEST_F(SrvConfigTest, unparseConfigControlInfo) - new test
Thomas Markwalder [Fri, 28 Sep 2018 18:06:04 +0000 (14:06 -0400)]
[#32,!23] Added storage of ConfigControlInfo to process:ConfigBase
ConfigBase now houses ConfigControlInfo
Relocated ConfigControl from libconfig to libprocess
Thomas Markwalder [Thu, 27 Sep 2018 14:27:27 +0000 (10:27 -0400)]
[#32,!23] Added ControlConfigParser to lib/config
src/lib/config/config_ctl_parser.*
- new files implementing ControlConfigParser
src/lib/config/Makefile.am
- added new files
src/lib/config/tests/config_ctl_parser_unittests.cc
- new file which tests new parser
src/lib/config/tests/Makefile.am
- added new file
Thomas Markwalder [Wed, 26 Sep 2018 14:17:04 +0000 (10:17 -0400)]
[#32,!23] Added ControlConfigInfo to lib/config
src/lib/config/config_ctl_info.*
New files, implementing ConfigDbInfo and ConfigControlInfo
classes use for housing configuration backend and control
information
src/lib/config/Makefile.am
Added config_ctl_info.h/cc
Added libkea-database.la
src/lib/config/tests/config_ctl_info_unitests.cc
New file which unit tests new classes
src/lib/database/database_connection.*
DatabaseConnection::toElement(const ParameterMap& params) - new
static function which turns a parameter map into Elements
DatabaseConnection::toElementDbAccessString(const std::string& dbaccess)
- new static function which turns an access string into Elements
src/lib/database/dbaccess_parser.*
Replaced StringPairMap with DatabaseConnection::ParameterMap
src/lib/database/tests/database_connection_unittest.cc
TEST(DatabaseConnection, toElementDbAccessStringValid)
TEST(DatabaseConnection, toElementDbAccessStringInvalid)
TEST(DatabaseConnection, toElementDbAccessStringEmpty) - new tests
src/lib/dhcpsrv/cfg_db_access.*
CfgDbAccess::toElementDbAccessString() - moved to
lib/database/database_connection.cc so it can be shared
Francis Dupont [Thu, 4 Oct 2018 11:19:08 +0000 (13:19 +0200)]
[128-netconf-use-libprocess] Final update before merge