Stephen Morris
1d3dac9de3
[4485] Change type of variables to overcome compiler objections
...
One compiler was objecting to placing the address of a size_t variable
into a variable declared as "unsigned long*". Changing the
declaration from "size_t" to "unsigned long" fixes the problem.
2016-05-10 15:03:02 +01:00
Tomek Mrugalski
b167235b9c
[4112_rebase] Minor change after review
...
- check for address being :: updated
2016-05-10 14:39:57 +02:00
Thomas Markwalder
324d766474
[master] Added ChangeLog entry 1112 for #4492 .
2016-05-09 09:26:22 -04:00
Thomas Markwalder
2a4792b355
[master] Fixed unit test compilation post merge
...
HooksManager::loadLibraries() call now requires
LibraryCollection as parameter
2016-05-09 09:19:59 -04:00
Thomas Markwalder
69dc6dfa0b
[master] Server destructors now explicitly unload hooks libraries
...
Merge branch 'trac4492'
2016-05-09 08:31:55 -04:00
Thomas Markwalder
552ce310fe
[4492] Addressed review comments
...
src/bin/dhcp4/tests/hooks_unittest.cc
src/bin/dhcp6/tests/hooks_unittest.cc
Fixed includes, copyright, and removed unnecessary calls to
IfaceMgr::instance().deleteAllExternalSockets();
2016-05-09 07:32:51 -04:00
Thomas Markwalder
05561a60d5
[4492] Addressed review comments
...
src/bin/dhcp4/tests/hooks_unittest.cc
TEST_F(LoadUnloadDhcpv4SrvTest, unloadLibaries) - new test that
verifies Hooks libraries are unloaded by the Dhcpv4Srv destructor
src/bin/dhcp6/tests/hooks_unittest.cc
TEST_F(LoadUnloadDhcpv6SrvTest, unloadLibaries) - new test that
verifies Hooks libraries are unloaded by the Dhcpv4Srv destructor
2016-05-06 09:07:31 -04:00
Tomek Mrugalski
de9d01b7e1
[4112] 2 new unit-tests added.
2016-05-05 15:41:47 +02:00
Tomek Mrugalski
ff432b1898
[master] Minor correction in doxygen comments.
...
Thanks to wpk for reporting this issue.
2016-05-05 14:55:57 +02:00
Tomek Mrugalski
38a25c7c22
[4112] selectSubnet4o6 implemented + one unit-test
2016-05-05 14:23:04 +02:00
Marcin Siodelski
3e7e09179f
[master] Added ChangeLog entry for #4493 .
2016-05-04 20:06:05 +02:00
Marcin Siodelski
9757a93110
[master] Merge branch 'trac4493'
2016-05-04 19:26:01 +02:00
Marcin Siodelski
669ff08326
[4493] Optimize lookup of timed out packets.
2016-05-04 18:15:48 +02:00
Marcin Siodelski
0f36ed7fc6
[4493] Updated statistics calculation.
...
Presented rate is now the number of ACK/Reply messages,
rather than DO/SA.
2016-05-02 19:29:12 +02:00
Tomek Mrugalski
b10602a3aa
[master] ChangeLog updated after #4297 merge.
2016-05-02 17:13:50 +02:00
Tomek Mrugalski
f45d0b5d29
[master] Merge branch 'trac4297' (hook libs can now take parameters)
2016-05-02 16:42:14 +02:00
Marcin Siodelski
854aebd5c6
[4493] Extended perfdhcp test for collected packets.
...
The extended test verifies that the stats manager is
still usable after some packets have been collected.
2016-05-02 15:26:46 +02:00
Marcin Siodelski
54b114ef03
[4493] Improve packet collecting mechanisms in perfdhcp.
...
When the perfdhcp performs unordered packet lookup within
a bucket of sent packets, it will remove all timed out
transactions.
2016-05-02 14:25:23 +02:00
Marcin Siodelski
db358c1a35
[master] Corrected invalid parameter passed to the test function.
...
This is to eliminate some of the recently found covertity isssues.
Reviewed on jabber.
2016-05-02 11:03:35 +02:00
Thomas Markwalder
98141971d3
[4492] Explicitly unload hook libraries prior during shutdown
...
A call to HooksManager::getHooksManager().unloadLibraries() was added to
the destructors Dhcpv4Srv::~Dhcpv4Srv() and Dhcpv6Srv::~Dhcpv6Srv(). This
ensures hook libraries are unloaded prior to static objects.
2016-04-29 10:24:36 -04:00
Francis Dupont
12b174bbce
[4297] spelling
2016-04-28 16:15:41 +02:00
Marcin Siodelski
aae4a9db6b
[4281] Alterations to MySQL host database schema.
...
- Option code in dhcp6_options table is now SMALLINT.
- Subnet ids are now unsigned.
2016-04-28 11:33:43 +02:00
Marcin Siodelski
05033744b8
[4303] Added Changelog entry for #4303 .
2016-04-27 19:25:17 +02:00
Tomek Mrugalski
7e760b7d97
[4297] Corrected headers installation dir.
2016-04-27 17:56:33 +02:00
Tomek Mrugalski
0640b86395
[4297] Addressed review comments:
...
- returnining different values in callout_params_library.cc
- returned values are now described for getParameter
- corrected index syntax comment in getParameter
- added missing include
- hooks_user.dox updated
- hooks unit test moved, so it is now next to other hooks tests
2016-04-27 17:48:08 +02:00
Marcin Siodelski
942808400e
[master] Merge branch 'trac4303'
2016-04-27 17:40:55 +02:00
Marcin Siodelski
97f5350c04
[4303] Removed unnecessary variable initialization.
2016-04-27 17:29:49 +02:00
Marcin Siodelski
aec8c63604
[4303] Address second round of review comments.
...
- No additional check for HR mode in findReservations
- Additional commentary in the loop collecting host ids.
2016-04-27 15:34:33 +02:00
Thomas Markwalder
a0477d9f40
[master] Added ChangeLog entry 1108 for #4239
2016-04-27 09:14:33 -04:00
Thomas Markwalder
131fcf52f2
[master] Unit tests now use production database scripts
...
Merges in trac4239.
2016-04-27 08:48:50 -04:00
Francis Dupont
6ad5c07e9e
[master] Updated ChangeLog
2016-04-27 14:25:50 +02:00
Francis Dupont
5d1397efc0
[master] regen
2016-04-27 11:44:02 +00:00
Thomas Markwalder
e7bf36660d
[4303] Added commentary in dhcp4_srv.h
2016-04-27 07:41:47 -04:00
Francis Dupont
e95f32ebf7
[master] Finish merge of trac4268a (DHCPv4 fields)
2016-04-27 13:32:59 +02:00
Marcin Siodelski
88da7d9cee
[4303] Addressed remaining review comments.
2016-04-27 11:29:14 +02:00
Marcin Siodelski
9a34bbb53c
[4303] Renamed CfgHostReservations to CfgHostOperations.
...
This change was suggested during a ticket review.
2016-04-26 17:18:45 +02:00
Shawn Routhier
0b30f90dd6
[trac4268] Tidy up some documentation strings
2016-04-25 22:39:03 -07:00
Francis Dupont
777a9979a2
[4268a] Fixes and cleanups
2016-04-25 16:57:39 +02:00
Francis Dupont
c8ab56f272
[4268a] Updated tests for 4 byte padding
2016-04-25 16:43:28 +02:00
Francis Dupont
f093418dd9
[4268a] untabify
2016-04-25 16:43:08 +02:00
Francis Dupont
bc80ce57a5
[4268a] Padded hlen/htype pkt4
2016-04-25 16:36:10 +02:00
Thomas Markwalder
f116221859
[4239] Addressed review comments
...
src/lib/dhcpsrv/pgsql_lease_mgr.cc
Amended commentary for getColumnValue() variants
Added decription of Uiaid union
Changed std::system to ::system
src/lib/dhcpsrv/testutils/mysql_schema.cc
Changed std::system to ::system
src/lib/dhcpsrv/testutils/mysql_schema.h
Fixed typo
src/lib/dhcpsrv/testutils/pgsql_schema.cc
Removed extraneous include
Changed std::system to ::system
2016-04-25 10:35:30 -04:00
Francis Dupont
18542d6e6e
[4268a] Added extracted field lengthes
2016-04-25 16:28:20 +02:00
Shawn Routhier
f531624a5f
[master] Update changelog with commit number for 4269
2016-04-14 21:18:05 -07:00
Shawn Routhier
48be5f5cea
Merge branch 'trac4269' Merge 4269 after updates to fix conflicts
2016-04-15 03:45:08 +00:00
Shawn Routhier
7549535b3a
[trac4269] Updates per review comments, basically change some variable names
2016-04-14 21:24:16 +00:00
Marcin Siodelski
440fd061d3
[4303] Values in 'host-reservation-identifiers' used by the servers.
...
Both DHCPv4 and DHCPv6.
2016-04-14 14:40:55 +02:00
Marcin Siodelski
6e22807310
[4303] Implemented parser for 'host-reservation-identifiers' list.
2016-04-14 11:35:47 +02:00
Marcin Siodelski
af0439c035
[4303] Added class holding configuration of host identifiers.
...
The identifiers are held on an ordered list and the server will
use them to search for host reservations for each client using
this order.
2016-04-13 12:23:14 +02:00
Marcin Siodelski
1f0f7c7d21
[4303] Servers now search for host reservations using any identifier.
2016-04-13 12:05:25 +02:00