1. 29 Nov, 2016 9 commits
  2. 21 Nov, 2016 1 commit
  3. 02 Nov, 2016 2 commits
  4. 29 Oct, 2016 1 commit
  5. 27 Oct, 2016 1 commit
  6. 26 Oct, 2016 3 commits
  7. 21 Oct, 2016 1 commit
  8. 18 Oct, 2016 1 commit
  9. 14 Oct, 2016 1 commit
  10. 13 Oct, 2016 2 commits
  11. 12 Oct, 2016 1 commit
  12. 06 Oct, 2016 1 commit
  13. 05 Oct, 2016 3 commits
  14. 03 Oct, 2016 1 commit
  15. 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
  16. 21 Sep, 2016 1 commit
  17. 19 Sep, 2016 2 commits
  18. 16 Sep, 2016 1 commit
    • Thomas Markwalder's avatar
      [5007] Addressed review comments · 1a986cf4
      Thomas Markwalder authored
      This is solution #2:
      
      src/lib/dhcpsrv/alloc_engine.h
      src/lib/dhcpsrv/alloc_engine.cc
          AllocEngine::extendLease6() - replaced logic to set the context flags with
          simply adding the original lease to the changed_leases_ list.
      
          AllocEngine::updateLeaseData() - removed logic to set the context flags.
      
      src/bin/dhcp6/dhcp6_srv.cc
          Dhcpv6Srv::createNameChangeRequests() - replaced the context flag check
          with logic which looks for candidate IA addresses in the ctx.changed_leases_
          list.  If found and the FDQN doman name has not changed, we move on to the
          next candidate.
      
      src/bin/dhcp6/tests/fqdn_unittest.cc
          TEST_F(FqdnDhcpv6SrvTest, createNameChangeRequestsNoAddr) - removed
          testing of context flag permutations
      1a986cf4
  19. 15 Sep, 2016 1 commit
    • Thomas Markwalder's avatar
      [5007] Suppress DDNS updates on DHCPv6 lease renewals unless the FQDN changes · 46f4c9fd
      Thomas Markwalder authored
      src/lib/dhcpsrv/alloc_engine.h
      src/lib/dhcpsrv/alloc_engine.cc
          - AllocEngine::extendLease6()
          - AllocEngine::updateLeaseData() - logic was added to clear the context
          DNS update flags when the renewal does not alter the lease's FQDN.
      
      src/bin/dhcp6/dhcp6_srv.h
      src/bin/dhcp6/dhcp6_srv.cc
          - Dhcpv6Srv::createNameChangeRequests() - added context as second parameter,
          and modified function to return without creating NCR(s) if both update flags
          in the context are false.
      
      src/bin/dhcp6/tests/fqdn_unittest.cc
          - TEST_F(FqdnDhcpv6SrvTest, createNameChangeRequests) - modified to verify
          combinations of context update flags
      
          - TEST_F(FqdnDhcpv6SrvTest, DISABLED_processTwoRequests) - renamed
          to TEST_F(FqdnDhcpv6SrvTest, processTwoRequestsDiffFqdn) and enabled.
          It had been disabled pending 3677 which has been completed.
      
          - TEST_F(FqdnDhcpv6SrvTest, processTwoRequestsSameFqdn)  - new test
          which verifies that client "renewing" a lease by sending a second
          request with the different FQDN generates the correct NCRs
      
          - TEST_F(FqdnDhcpv6SrvTest, DISABLED_processRequestRenew) - renamed
          to TEST_F(FqdnDhcpv6SrvTest, processRequestRenewDiffFqdn) and enabled.
          It had been disabled pending 3677 which has been completed.
      
          - TEST_F(FqdnDhcpv6SrvTest, processRequestRenewSameFqdn) - new test
          which verifies that client renewing a lease by sending a renew
          with the same FQDN does NOT generate any NCRs
      46f4c9fd
  20. 14 Sep, 2016 1 commit
  21. 13 Sep, 2016 1 commit
  22. 03 Sep, 2016 2 commits
  23. 02 Sep, 2016 1 commit
  24. 28 Aug, 2016 1 commit