1. 02 Jul, 2019 1 commit
  2. 26 Jun, 2019 1 commit
  3. 22 Jun, 2019 1 commit
  4. 15 May, 2019 2 commits
    • Thomas Markwalder's avatar
      [#597,!323] Use round() when calculating T1/T2 to ensure consistent results · 8f1fb501
      Thomas Markwalder authored
      src/bin/dhcp4/dhcp4_srv.cc
          Dhcpv4Srv::setTeeTimes() - added use of round()
      
      src/bin/dhcp6/dhcp6_srv.cc
          Dhcpv6Srv::setTeeTimes() - added use of round()
      
      src/bin/dhcp6/tests/dhcp6_test_utils.cc
          Dhcpv6SrvTest::checkIA_NA() - replaced used of
          EXPECTED_EQ with logic to add a failure so callers
          can ASSERT_NO_FATAL_FAILURE and pinpoint the invocation.
      
      src/bin/dhcp6/tests/hooks_unittest.cc
          Wrapped calls to checkIA_NA() with ASSERT_NO_FATAL_FAILURE
          Updated expected T1 values to adjust for use of round().
      8f1fb501
    • Thomas Markwalder's avatar
      [#557,!310] Fixed kea-dhcp6 DNS updates on renewals with generated FQDNs · 66fc02e1
      Thomas Markwalder authored
      Moved logic for detecting FQDN changes from the alloc engine to the
      kea-dhcp6 server proper.  This allows the change detection to be done after
      FQDN generation.
      
      src/bin/dhcp6/dhcp6_srv.*
          Dhcpv6Srv::createNameChangeRequests() - modified to detect when changes
          to a valid lease require a DNS remove
      
          Dhcpv6Srv::generateFqdn() - updated to store the generated name in
          the current context
      
      src/lib/dhcpsrv/alloc_engine.cc
          AllocEngine::extendLease6()
          AllocEngine::updateLeaseData() - removed logic that checks for FQDN changes
      
      src/bin/dhcp6/dhcp6_messages.*
          Revamped a message
      66fc02e1
  5. 26 Apr, 2019 4 commits
    • Thomas Markwalder's avatar
      [#365,!296] Relaxed sanity checks · 59044637
      Thomas Markwalder authored
      T2 may now be specified as any value >= 0, T1 must be less than T2.
      This allows both values to exceed the valid life time.
      59044637
    • Thomas Markwalder's avatar
      [#365,!296] Changed to use preferred lease time · 239bbbb2
      Thomas Markwalder authored
      doc/guide/dhcp6-srv.xml
          Updated to reflect the use to preferred life time vs valid life time
      
      src/bin/dhcp6/dhcp6_srv.*
          Updated to use preferred lease time for tee time calculation
          Dhcpv6Srv::setTeeTimes() - updated to allow values to less than or
          equal, rathe than the just less than
      
      src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
      src/bin/dhcp6/tests/hooks_unittest.cc
      src/bin/dhcp6/tests/tee_times_unittest.cc
          updated unit tests accordingly
      239bbbb2
    • Thomas Markwalder's avatar
      [#365,!296] Addressed review comments. · e8632125
      Thomas Markwalder authored
      e8632125
    • Thomas Markwalder's avatar
      [#365,!296] kea-dhcp6 calculates tee times · 7751303e
      Thomas Markwalder authored
      Server calcultates T1 & T2 when enabled.  Does not
      include parser support for calculate-tee-times,
      t1-percent, or t2-percent
      
      src/bin/dhcp6/dhcp6_srv.*
          Dhcpv6Srv::setTeeTimes() - new method to
          calcualte T1 and T2
      
          Dhcpv6Srv::assignIA_NA()
          Dhcpv6Srv::extendIA_NA()
          Dhcpv6Srv::assignIA_PD()
          Dhcpv6Srv::extendIA_NA() - modified to call setTeeTimes()
      
      src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
          TEST_F(Dhcpv6SrvTest, calculateTeeTimers)  - new test
      
      src/bin/dhcp6/tests/hooks_unittest.cc
          Removed overriding of Lease::t1_ and t2_ from tests
      7751303e
  6. 26 Mar, 2019 1 commit
    • Thomas Markwalder's avatar
      [#104,!290] kea-dhcpv6 now supports fetching config from backends · f5fe96c6
      Thomas Markwalder authored
          Infrastructure has been added to kea-dhcp6 such that it can
          now be configured to fetch full and then periodic updates
          from config backends.
      
          Merging the actual fetched content will be done under subsequent
          issues.
      
      src/bin/dhcp6
          ctrl_dhcp6_srv.*
              - ControlledDhcpv6Srv::processConfig() - added logic to schedule CB update timer
              - ControlledDhcpv6Srv::cbFetchUpdates() - new callback function for CB updates
      
          dhcp6_lexer.ll
          dhcp6_parser.yy
              -  Added config-fetch-wait-time
      
          dhcp6_messages.mes
              -  New log messages
      
          dhcp6_srv.*
              - Dhcpv6Srv::cb_control_  - new member for config backend access
              - Dhcpv6Srv::inTestMode() - new function to test for unit test mode
      
          json_config_parser.cc
              - configureDhcp6Server() - invokes full fetch from config backend
      
      src/bin/dhcp6/tests
          config_backend_unittest.cc - new file/tests for config backend testing
          config_pa...
      f5fe96c6
  7. 19 Feb, 2019 2 commits
  8. 18 Jan, 2019 2 commits
  9. 06 Dec, 2018 2 commits
  10. 21 Sep, 2018 1 commit
  11. 29 Jun, 2018 1 commit
  12. 13 Jun, 2018 1 commit
  13. 11 Jun, 2018 1 commit
  14. 07 Jun, 2018 1 commit
  15. 31 May, 2018 1 commit
  16. 18 May, 2018 1 commit
  17. 16 May, 2018 1 commit
  18. 15 May, 2018 1 commit
    • Thomas Markwalder's avatar
      [5564] Servers dump cached and parked packets on reconfig and shutdown · 5b9b5e26
      Thomas Markwalder authored
      src/bin/dhcp4/dhcp4_srv.*
          - dumpPackets() - new function that frees all cached and parked packets
          - Dhcpv4Srv::~Dhcpv4Srv() - added call to dumpPackets() for cleanliness
      
      src/bin/dhcp4/json_config_parser.cc
          configureDhcp4Server() - added a call Dhcpv4Srv::dumpPackets()
      
      src/bin/dhcp6/dhcp6_srv.*
          - dumpPackets() - new function that frees all cached and parked packets
          - Dhcpv6Srv::~Dhcpv6Srv() - added call to dumpPackets() for cleanliness
      
      src/bin/dhcp6/json_config_parser.cc
          configureDhcp6Server() - added a call Dhcpv6Srv::dumpPackets()
      
      src/lib/hooks/hooks_manager.h
          - clearParkingLots() - new convenience function for clearing
           all parking lots
          - clearParkingLotsInternal() - private impl of the above
      5b9b5e26
  19. 12 May, 2018 1 commit
  20. 11 May, 2018 1 commit
  21. 30 Apr, 2018 1 commit
  22. 27 Apr, 2018 6 commits
  23. 25 Apr, 2018 1 commit
  24. 23 Apr, 2018 1 commit
  25. 19 Apr, 2018 1 commit
  26. 12 Apr, 2018 1 commit
  27. 07 Apr, 2018 1 commit
  28. 06 Apr, 2018 1 commit