1. 02 Nov, 2016 6 commits
  2. 01 Nov, 2016 2 commits
    • Thomas Markwalder's avatar
      [5058] - Addressed review comments · 43ad2f49
      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
      43ad2f49
    • Francis Dupont's avatar
      d3682634
  3. 31 Oct, 2016 1 commit
  4. 28 Oct, 2016 3 commits
  5. 27 Oct, 2016 2 commits
  6. 26 Oct, 2016 2 commits
  7. 24 Oct, 2016 1 commit
  8. 19 Oct, 2016 1 commit
  9. 17 Oct, 2016 1 commit
  10. 14 Oct, 2016 3 commits
  11. 13 Oct, 2016 4 commits
  12. 12 Oct, 2016 2 commits
  13. 11 Oct, 2016 1 commit
  14. 06 Oct, 2016 2 commits
  15. 05 Oct, 2016 3 commits
  16. 03 Oct, 2016 1 commit
  17. 25 Sep, 2016 1 commit
    • Patrik Lundin's avatar
      Use correct CONFIG variable in LFC test. · 66c027f5
      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
      [...]
      ===
      66c027f5
  18. 21 Sep, 2016 4 commits