1. 02 May, 2019 1 commit
  2. 01 May, 2019 1 commit
    • Thomas Markwalder's avatar
      [#591,!#313] kea-dhcp6 skips sanity checks for prefix leases · abfa55b9
      Thomas Markwalder authored
      src/lib/dhcpsrv/sanity_checker.*
          SanityChecker::checkLease(Lease6Ptr& lease, bool current) - now
          simply returns if lease type is TYPE_PD.
      
      src/lib/dhcpsrv/tests/lease_file_loader_unittest.cc
          TEST_F(LeaseFileLoaderTest, sanityChecker6PD) - new test to
          verify PD leases are not sanity checked
      
      ChangeLog -  added proposed entry
      abfa55b9
  3. 29 Apr, 2019 7 commits
  4. 26 Apr, 2019 9 commits
    • Thomas Markwalder's avatar
      [#365] Updated ChangeLog · 21213bac
      Thomas Markwalder authored
      21213bac
    • Tomek Mrugalski's avatar
      144b83a8
    • 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] Regenned parsers, added ChangeLog and doc · 9c8ca39b
      Thomas Markwalder authored
      ChangeLog - added proposed entry
      
      doc/guide/dhcp6-srv.xml
          added section describing calculate-tee-times, t1-percent, t2-percent
      
      src/bin/dhcp6/dhcp6_lexer.cc
      src/bin/dhcp6/dhcp6_parser.cc
      src/bin/dhcp6/dhcp6_parser.h
      src/bin/dhcp6/dhcp6_parser.yy
          Added missing parameter declares and regenned parsers
      
      src/bin/dhcp6/tests/config_parser_unittest.cc
          Updated expected timer values
      
      src/bin/dhcp6/tests/get_config_unittest.cc
          Updated generated tests
      
      /src/bin/dhcp6/tests/simple_parser6_unittest.cc
          TEST_F(SimpleParser6Test, globalDefaults6) - updated test
      9c8ca39b
    • Thomas Markwalder's avatar
      [#365,!296] Added kea-dhcp6 parsing support for calculate-tee-time and percents · c1954eb6
      Thomas Markwalder authored
      src/bin/dhcp6/dhcp6_lexer.ll
      src/bin/dhcp6/dhcp6_parser.yy
      src/bin/dhcp6/json_config_parser.cc
      src/lib/dhcpsrv/parsers/simple_parser6.cc
          added support for calculate-tee-times, t1-percent and t2-percent
      
      src/bin/dhcp6/tests/tee_times_unittest.cc
          - new file with tests for t1/t2 determination
      
      src/lib/dhcpsrv/parsers/dhcp_parsers.cc
          Subnet6ConfigParser::initSubnet() - added invocation
          of  parseTeePercents()
      
      src/lib/dhcpsrv/tests/cfg_shared_networks6_unittest.cc
          updated tests
      
      src/lib/dhcpsrv/tests/cfg_subnets6_unittest.cc
          TEST(CfgSubnets6Test, teeTimePercentValidation) - new test
      c1954eb6
    • 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
    • Marcin Siodelski's avatar
      [#579,!309] Added ChangeLog for #579. · 884d9d5b
      Marcin Siodelski authored
      884d9d5b
  5. 25 Apr, 2019 1 commit
  6. 23 Apr, 2019 1 commit
  7. 19 Apr, 2019 20 commits