- 02 Nov, 2016 6 commits
-
-
Marcin Siodelski authored
-
Marcin Siodelski authored
-
Marcin Siodelski authored
This is to make sure that the server doesn't run LFC twice before it is reconfigured.
-
Thomas Markwalder authored
-
Thomas Markwalder authored
-
Marcin Siodelski authored
-
- 01 Nov, 2016 2 commits
-
-
Thomas Markwalder authored
Fixed typos and added decline lease checks for DHCPv6 src/lib/dhcp/duid.h src/lib/dhcp/duid.cc src/lib/dhcp/tests/duid_unittest.cc - Replaced DUID::generateEmpty() with DUID::EMPTY() which returns a constant reference to a static DUID instance. This facilitates comparisions. - Updated TEST(DuidTest,empty) accordingly src/lib/dhcpsrv/csv_lease_file6.cc CSVLeaseFile6::next() - added test to permit the Empty DUID only if state is STATE_DECLINED. src/lib/dhcpsrv/lease.cc Lease6::decline() - modified to use DUID::EMPTY(). src/lib/dhcpsrv/tests/csv_lease_file4_unittest.cc Fixed Typos src/lib/dhcpsrv/tests/csv_lease_file6_unittest.cc TEST_F(CSVLeaseFile6Test, declinedLeaseTest) - new test to verify proper handling of declined leases
-
Francis Dupont authored
-
- 31 Oct, 2016 1 commit
-
-
Marcin Siodelski authored
The test requires that the boost headers are included, otherwise the test reports that gtest doesn't support XXX_TRUE() macros. This change was okayed on jabber.
-
- 28 Oct, 2016 3 commits
-
-
Thomas Markwalder authored
src/bin/lfc/tests/lfc_controller_unittests.cc Fixed test data src/lib/dhcpsrv/dhcpsrv_messages.mes added new error log message DHCPSRV_MEMFILE_LEASE_LOAD_ROW_ERROR src/lib/dhcpsrv/lease_file_loader.h LeaseFileLoader::load() - new emits a error log for each row that fails to load
-
Thomas Markwalder authored
src/lib/dhcpsrv/csv_lease_file4.cc CSVLeaseFile4::next() - modified to produce a read error if the hardware address is empty and the lease state is NOT declined. CSVLeaseFile4::readHWAddr() - no longer throws an exception if the hardware address is empty src/lib/dhcpsrv/tests/csv_lease_file4_unittest.cc src/lib/dhcpsrv/tests/lease_file_loader_unittest.cc Changed test lease data so invalid records do not have lease state of declined
-
Thomas Markwalder authored
src/lib/dhcpsrv/tests/csv_lease_file4_unittest.cc TEST_F(CSVLeaseFile4Test, declinedLeaseTest) - new test
-
- 27 Oct, 2016 2 commits
-
-
Tomek Mrugalski authored
-
Tomek Mrugalski authored
-
- 26 Oct, 2016 2 commits
-
-
Francis Dupont authored
-
Francis Dupont authored
-
- 24 Oct, 2016 1 commit
-
-
Francis Dupont authored
-
- 19 Oct, 2016 1 commit
-
-
Francis Dupont authored
-
- 17 Oct, 2016 1 commit
-
-
Francis Dupont authored
-
- 14 Oct, 2016 3 commits
-
-
Marcin Siodelski authored
-
Marcin Siodelski authored
-
Francis Dupont authored
-
- 13 Oct, 2016 4 commits
-
-
Marcin Siodelski authored
-
Marcin Siodelski authored
-
Marcin Siodelski authored
-
Tomek Mrugalski authored
-
- 12 Oct, 2016 2 commits
-
-
Marcin Siodelski authored
Removed a todo, updated example with multiple options and added item descriptions in the DHCPv6 spec file.
-
Marcin Siodelski authored
-
- 11 Oct, 2016 1 commit
-
-
Marcin Siodelski authored
Also added checks for overlapping pools within a subnet.
-
- 06 Oct, 2016 2 commits
-
-
Marcin Siodelski authored
-
Marcin Siodelski authored
-
- 05 Oct, 2016 3 commits
-
-
Marcin Siodelski authored
-
Marcin Siodelski authored
-
Marcin Siodelski authored
-
- 03 Oct, 2016 1 commit
-
-
Marcin Siodelski authored
-
- 25 Sep, 2016 1 commit
-
-
Patrik Lundin authored
Before change (IPv4): === INFO/test_lib: wait_for_message DHCPSRV_MEMFILE_LFC_EXECUTE: ........... ERROR: Server did not execute LFC. [...] 2016-09-25 14:02:28.988 INFO [kea-dhcp4.dhcpsrv/53382] DHCPSRV_MEMFILE_DB opening memory file lease database: lfc-interval=1 name=/home/ports/pobj/kea-1.1.0-beta/kea-1.1.0-beta/src/bin/dhcp4/tests/test_leases.csv persist=true type=memfile universe=4 [...] 2016-09-25 14:02:31.092 INFO [kea-dhcp4.dhcpsrv/53382] DHCPSRV_MEMFILE_DB opening memory file lease database: lfc-interval=0 name=/home/ports/pobj/kea-1.1.0-beta/kea-1.1.0-beta/src/bin/dhcp4/tests/test_leases.csv persist=false type=memfile universe=4 [...] === Before change (IPv6): === INFO/test_lib: wait_for_message DHCPSRV_MEMFILE_LFC_EXECUTE: ........... ERROR: Server did not execute LFC. [...] 2016-09-25 14:03:46.249 INFO [kea-dhcp6.dhcpsrv/44306] DHCPSRV_MEMFILE_DB opening memory file lease database: lfc-interval=1 name=/home/ports/pobj/kea-1.1.0-beta/kea-1.1.0-beta/src/bin/dhcp6/tests/test_leases.csv persist=true type=memfile universe=6 [...] 2016-09-25 14:03:48.333 INFO [kea-dhcp6.dhcpsrv/44306] DHCPSRV_MEMFILE_DB opening memory file lease database: lfc-interval=0 name=/home/ports/pobj/kea-1.1.0-beta/kea-1.1.0-beta/src/bin/dhcp6/tests/test_leases.csv persist=false type=memfile universe=6 [...] ===
-
- 21 Sep, 2016 4 commits
-
-
Stephen Morris authored
-
Stephen Morris authored
-
Stephen Morris authored
-
Tomek Mrugalski authored
-