Marcin Siodelski
4355febb75
[ #1928 ] Do not re-position the class on update
...
When follow_class_name value is null, do not change the class position.
2021-07-21 10:49:50 +00:00
Marcin Siodelski
1faffe41ce
[ #1928 ] DHCPv4 client classes in MySQL
2021-07-21 10:49:50 +00:00
Marcin Siodelski
725f3259b9
[ #1928 ] Client classes added to CB API
...
The CB API exposes a couple new API calls to support getting, adding and
deleting client classes in DHCPv4.
2021-07-21 10:49:50 +00:00
Razvan Becheriu
959bb775a3
[ #1375 ] implemented db reconnect for cb
2020-12-09 19:12:46 +02:00
Francis Dupont
4e32b5880f
[ #1247 ] Checkpoint before rebase and resume
2020-07-06 15:05:13 +02:00
Francis Dupont
44e0cf8d2c
[ #1247 ] Checkpoint: fixed for audit entries
2020-07-06 15:05:13 +02:00
Marcin Siodelski
f27f45ec3b
[#680,!426] Delete embedded options when subnet gets deleted in mysql_cb.
2019-07-25 03:58:11 -04:00
Marcin Siodelski
8a7ca7c80a
[#717,!417] Documented server selectors allowed for subnets.
2019-07-12 11:58:16 -04:00
Marcin Siodelski
834010d46c
[#717,!417] Use ANY server selector when fetching subnets for shared net.
2019-07-12 11:58:16 -04:00
Marcin Siodelski
dc80c46576
[#716,!412] Documented and tested server selection for shared networks.
...
Also fixed the code where it accepted unsupported selectors. Implemented
deleting the unassigned subnets.
2019-07-09 14:37:29 -04:00
Marcin Siodelski
1d0b6efdc9
[#642,!373] Do not allow to update the logical server 'all'.
2019-06-27 14:51:31 -04:00
Marcin Siodelski
72bc8cc964
[#642,!373] Addressed review comments.
...
- Don't allow for deleting logical server 'all'.
- Additional tests to make sure that other servers aren't affected by deletion.
- Added note that getAll() doesn't return logical server all.
2019-06-27 14:51:31 -04:00
Francis Dupont
75a976fc7c
[642-update-mysql-cb-with-calls-to-set-delete-and-retrieve-servers] Minor comment fixes in hook header files
2019-06-27 14:51:31 -04:00
Marcin Siodelski
0a648a9efb
[#642,!373] Explained how globals are fetched for various selectors.
2019-06-27 14:51:31 -04:00
Marcin Siodelski
ad8a7cd71f
[#642,!373] Updated MySQL Config Backend with simple server mgmt functions.
2019-06-27 14:51:31 -04:00
Marcin Siodelski
7870284b2a
[#641,!352] Added stub implementation of the servers management in MySQL.
2019-06-10 08:39:17 -04:00
Razvan Becheriu
3d7cf83cea
added log messages
2019-05-16 19:44:50 +03:00
Francis Dupont
00c6aa9ce3
[397-cb-implement-mysqlconfigbackenddhcpv6] Checkpoint before code move
2019-04-18 15:52:51 +02:00
Marcin Siodelski
658c680352
[#103,!277] Implemented CBControlBase class.
2019-03-26 03:08:56 -04:00
Francis Dupont
0905408bce
[512-remote-network4-del-update] Added deleteSharedNetworkSubnets4 support
2019-03-11 11:39:21 -04:00
Marcin Siodelski
0576737748
[#440,!218] Implemented getSharedNetworkSubnets4 for DHCPv4 CB.
2019-02-04 21:36:47 +01:00
Marcin Siodelski
d4095bbcb4
[#396,!205] Add notes about using local time in CB functions.
2019-01-30 10:18:59 +01:00
Marcin Siodelski
5e181f7ac7
[#396,!205] Added audit for global parameters.
2019-01-30 10:18:59 +01:00
Marcin Siodelski
892ab41d35
[#93,!63] Throw exception if the server selector is unassigned.
2018-10-18 13:35:08 +02:00
Thomas Markwalder
bb09113888
[#101,!58] Addressed review comments
2018-10-11 14:17:14 -04:00
Thomas Markwalder
f4b4bb9f6e
[#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
2018-10-10 14:51:59 -04:00
Marcin Siodelski
52dad7c3ae
[#93,!56] Updated MySQL config backend to manage global parameters.
2018-10-08 22:01:27 +02:00
Marcin Siodelski
f6d60a6393
[#93,!51] Rebased !51 against !35 .
2018-10-08 20:09:51 +02:00
Marcin Siodelski
bfe0c99c11
[#93,!51] Fetching global options is now possible.
2018-10-08 20:09:51 +02:00
Marcin Siodelski
5f33dc7ddd
[#93,!51] Added options management in MySQL DHCPv4 config backend.
2018-10-08 20:09:51 +02:00
Marcin Siodelski
502a4daa0f
[#93,!35] Config Backend API returns number of deleted entries.
2018-10-08 16:39:22 +02:00
Marcin Siodelski
4d56eac737
[#93,!35] Addressed minor and refectoring issues.
2018-10-08 16:39:22 +02:00
Marcin Siodelski
fca3e6e825
[#93,!35] Removed spurious whitespace.
2018-10-08 16:39:22 +02:00
Marcin Siodelski
9994f64b54
[ #93 ] Added mysql_cb hooks library.
2018-10-08 16:39:22 +02:00