Razvan Becheriu
cee2540e10
[ #891 ] use if and else instead of template function
2020-02-05 21:57:37 +02:00
Razvan Becheriu
0fc6654e8f
[#891,!592] use boost::scoped_ptr instead of mutable
2020-02-05 21:57:37 +02:00
Razvan Becheriu
ed1241729d
[#891,!592] use boost:: instead of std::
2020-02-05 21:57:37 +02:00
Razvan Becheriu
e5c30d0b0e
[#891,!592] remove mutex from StatContext as all functions are called in a thread safe context from StatsMgr
2020-02-05 21:57:37 +02:00
Razvan Becheriu
ea07b72c0e
[#891,!592] use c++11 syntax - compile without errors on clang and g++
2020-02-05 21:57:37 +02:00
Razvan Becheriu
ea9cc210b7
[#891,!592] updated doxygen
2020-02-05 21:57:37 +02:00
Razvan Becheriu
e0df1d7091
[#891,!592] clean up code
2020-02-05 21:57:37 +02:00
Razvan Becheriu
5e2effaa5c
[#891,!592] make code more readable
2020-02-05 21:57:37 +02:00
Razvan Becheriu
bc27471ec2
[#891,!592] updated doxygen
2020-02-05 21:57:37 +02:00
Razvan Becheriu
a6d2cd1afd
[#891,!592] updated unit tests
2020-02-05 21:57:37 +02:00
Razvan Becheriu
5157eb17e9
[#891,!592] updated unit tests
2020-02-05 21:57:37 +02:00
Razvan Becheriu
116119198e
[#891,!592] use generic Lockable object
2020-02-05 21:57:37 +02:00
Razvan Becheriu
5b4a18c376
[#891,!592] updated doxygen
2020-02-05 21:57:37 +02:00
Razvan Becheriu
dae2a768e8
[#891,!592] code cleanup
2020-02-05 21:57:37 +02:00
Razvan Becheriu
0a00312c79
[#891,!592] make StatsMgr thread safe
2020-02-05 21:57:37 +02:00
Thomas Markwalder
86d384da7a
[ #1097 ] Addresses review comments
...
Minor cleanups
2020-02-04 09:35:48 -05:00
Thomas Markwalder
cd7b2807f4
[ #1097 ] CommandMgr now handles orphaned control sockets
...
Added a ChangeLog entry.
src/lib/config/command_mgr.cc
CommandMgrImpl::openCommandSocket() - now attempts to open and
lock a lock file whose name is derived from the control socket
name. If the lock cannot be established, it is assumed that the
socket is in use.
CommandMgr::closeCommandSocket() - removes the lock file after
the socket file is removed.
src/lib/config/tests/command_mgr_unittests.cc
TEST_F(CommandMgrTest, exclusiveOpen) - new unit test
2020-01-30 15:37:22 -05:00
Razvan Becheriu
0968486e31
[ #890 ] addressed review
2020-01-29 16:50:54 +02:00
Razvan Becheriu
223d543a97
[ #890 ] addressed review
2020-01-29 16:09:41 +02:00
Razvan Becheriu
088709fada
[ #890 ] addressed review
2020-01-29 16:03:24 +02:00
Razvan Becheriu
3aaf092f83
[ #890 ] addressed review
2020-01-29 15:39:59 +02:00
Razvan Becheriu
07954313dd
[ #890 ] make allocation engine thread safe
2020-01-28 17:06:21 +02:00
Razvan Becheriu
f132d56049
[ #1101 ] addressed review
Kea-1.7.4
2020-01-28 12:05:09 +02:00
Razvan Becheriu
48c591c06b
[ #1101 ] bump up libs version
2020-01-28 11:55:16 +02:00
Razvan Becheriu
620c1f2938
[ #1101 ] bump up libs version and hooks version
2020-01-28 11:48:55 +02:00
Razvan Becheriu
529d2f647b
[ #1101 ] bump up libs version
2020-01-27 21:49:19 +02:00
Michal Nowikowski
ba41c187b5
[ #1098 ] updated more copyright dates
2020-01-27 19:52:58 +01:00
Michal Nowikowski
fafdd1639a
[ #1098 ] updated list of supported systems in ARM
2020-01-27 19:50:37 +01:00
Michal Nowikowski
d6b254e414
[ #1098 ] regenerated parsers
2020-01-27 19:50:37 +01:00
Michal Nowikowski
78233068df
[ #1098 ] adjusted code for release
...
- update copyright dates
- prepare messages files
- added release entry in ChangeLog file
2020-01-27 19:50:37 +01:00
Michal Nowikowski
d9f75b6a3d
[ #1098 ] removed old man pages in docbook
2020-01-27 19:49:58 +01:00
Thomas Markwalder
7bc3b87f9f
[ #981 ] Addressed review comments
...
Minor clean ups
src/lib/dhcpsrv/tests/srv_config_unittest.cc
TEST_F(SrvConfigTest, getDdnsParamsNoSubnetTest4)
TEST_F(SrvConfigTest, getDdnsParamsNoSubnetTest6)
- new unit tests
2020-01-27 12:57:29 -05:00
Thomas Markwalder
5c92f9097b
[ #981 ] Minor improvements
...
src/lib/dhcpsrv/srv_config.*
Renamed DdnsParams::enable_updates_ to d2_client_enabled_
src/lib/cc/data.h
MapElement::get() - revamped to only do the lookup once.
src/lib/dhcpsrv/d2_client_cfg.cc
D2ClientConfig::stringToReplaceClientNameMode() - removed
use of boost::iequals(). Config parsing lowercases it already.
2020-01-27 12:56:55 -05:00
Thomas Markwalder
bb4e4c5309
[ #981 ] Added commentary and ChangeLog entry
2020-01-27 12:56:55 -05:00
Thomas Markwalder
a65be143ec
[ #981 ] Reworked DdnsParams to allow on-demand value fetching
...
src/lib/dhcpsrv/d2_client_cfg.*
Moved DdnsParams to srv_config.*
src/lib/dhcpsrv/network.h
respaced
src/lib/dhcpsrv/srv_config.*
DdnsParams relocated here from d2_client_cfg.*.
Added SubnetPtr member.
Added constructors from Subnet4Ptr and Subnet6Ptr
Replaced individual members with getters.
src/lib/dhcpsrv/tests/d2_client_unittest.cc
src/lib/dhcpsrv/tests/srv_config_unittest.cc
Retrofitted tests accordingly.
src/lib/dhcpsrv/alloc_engine.*
src/lib/dhcpsrv/d2_client_mgr.*
Updated DdnsParams references
src/bin/dhcp4/dhcp4_srv.cc
src/bin/dhcp4/tests/fqdn_unittest.cc
Updated DdnsParams references
src/bin/dhcp6/dhcp6_srv.cc
src/bin/dhcp6/tests/fqdn_unittest.cc
Updated DdnsParams references
2020-01-27 12:55:24 -05:00
Francis Dupont
dc5fccbbe2
[ #1093 ] Spelling error
2020-01-27 10:27:11 -05:00
Thomas Markwalder
a882ca5df5
[ #1023 ] Added unit tests and ChangeLog entry
...
Added a ChangeLog entry
src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.cc
src/hooks/dhcp/mysql_cb/mysql_cb_dhcp6.cc
updated copyright year
src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc
TEST_F(MySqlConfigBackendDHCPv4Test, subnetOptionIdOrder)
TEST_F(MySqlConfigBackendDHCPv4Test, sharedNetworkOptionIdOrder) -
new unit tests
src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp6_unittest.cc
TEST_F(MySqlConfigBackendDHCPv6Test, subnetOptionIdOrder)
TEST_F(MySqlConfigBackendDHCPv6Test, sharedNetworkOptionIdOrder) -
new unit tests
2020-01-27 10:27:11 -05:00
Thomas Markwalder
2be11920ca
[ #1093 ] Reest sub-component trackers during CB data fetches
...
Initial correction. Unit tests forthcoming
src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.cc
MySqlConfigBackendDHCPv4Impl::getSubnets4()
MySqlConfigBackendDHCPv4Impl::getSharedNetworks4()
- reset sub-component tracking on new object row
src/hooks/dhcp/mysql_cb/mysql_cb_dhcp6.cc
MySqlConfigBackendDHCPv4Impl::getSubnets6()
MySqlConfigBackendDHCPv4Impl::getSharedNetworks6()
- reset sub-component tracking on new object row
2020-01-27 10:26:32 -05:00
Razvan Becheriu
c752f28b2b
[ #1073 ] addressed review
2020-01-27 16:59:48 +02:00
Razvan Becheriu
73c36cf1ca
[ #1073 ] addressed review
2020-01-27 16:57:36 +02:00
Razvan Becheriu
430cefea69
[ #1073 ] addressed review
2020-01-27 16:57:36 +02:00
Tomek Mrugalski
3061507cb9
[ #1073 ] Added minor comments
2020-01-27 16:57:36 +02:00
Razvan Becheriu
6619331f40
[ #1073 ] thread safe initialization of atexit function
2020-01-27 16:57:36 +02:00
Razvan Becheriu
99b0521968
[ #1073 ] minor changes
2020-01-27 16:57:36 +02:00
Razvan Becheriu
371e699ae7
[ #1073 ] minor changes
2020-01-27 16:57:36 +02:00
Razvan Becheriu
84dd2039ff
[ #1073 ] minor changes
2020-01-27 16:57:36 +02:00
Razvan Becheriu
f5403c7f51
[ #1073 ] minor changes
2020-01-27 16:57:36 +02:00
Razvan Becheriu
349f37dc15
[ #1073 ] fixed rebase
2020-01-27 16:57:36 +02:00
Razvan Becheriu
b6850b3005
[ #1073 ] fixed rebase
2020-01-27 16:57:36 +02:00
Razvan Becheriu
5141967d22
[ #1073 ] minor changes
2020-01-27 16:57:36 +02:00