1. 29 Jan, 2018 2 commits
  2. 26 Jan, 2018 1 commit
  3. 19 Jan, 2018 1 commit
  4. 18 Jan, 2018 1 commit
  5. 07 Oct, 2017 1 commit
  6. 21 Sep, 2017 2 commits
  7. 19 Sep, 2017 1 commit
    • Tomek Mrugalski's avatar
      [5306] Changes after review: · 9079ba12
      Tomek Mrugalski authored
       - max attempts set to 0 in unit-tests (matching production code)
       - couple typos
       - new unit-test added (selectSharedNetworkByRelayAddressSubnetLevel)
       - ClientContext4 is now noncopyable
       - unused network parameter removed
      9079ba12
  8. 18 Sep, 2017 1 commit
  9. 23 Jan, 2017 1 commit
  10. 14 Dec, 2016 1 commit
  11. 27 Oct, 2016 1 commit
  12. 26 Oct, 2016 1 commit
  13. 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
  14. 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
  15. 13 Jun, 2016 1 commit
  16. 06 Jun, 2016 4 commits
  17. 04 Jun, 2016 1 commit
  18. 27 Apr, 2016 1 commit
  19. 26 Apr, 2016 1 commit
  20. 14 Apr, 2016 1 commit
  21. 13 Apr, 2016 1 commit
  22. 21 Dec, 2015 1 commit
  23. 16 Dec, 2015 1 commit
  24. 11 Dec, 2015 4 commits
  25. 26 Oct, 2015 1 commit
  26. 21 Oct, 2015 1 commit
  27. 20 Oct, 2015 1 commit
    • Marcin Siodelski's avatar
      [3977] Name change requests are now generated when lease is reused. · 5de74693
      Marcin Siodelski authored
      This change triggered a lot of code refactoring for generating the
      NameChangeRequests. Long story short is that the functions responsible
      for generating NCRs from the lease information have been moved to
      the libdhcpsrv where they better fit and where they may be used
      by both allocation engine and the servers.
      5de74693
  28. 12 Oct, 2015 2 commits
  29. 02 Oct, 2015 1 commit
  30. 01 Oct, 2015 1 commit
  31. 29 Sep, 2015 1 commit