1. 05 Feb, 2019 1 commit
  2. 02 Feb, 2019 1 commit
    • Thomas Markwalder's avatar
      [#399,!215] kea-dhcp4 now merges in config backend shared netwokrs · 6dc4c06c
      Thomas Markwalder authored
      src/lib/dhcpsrv/cfg_shared_networks.*
          CfgSharedNetworks4::merge() - new method to merge
          shared network configs
      
      src/lib/dhcpsrv/cfg_subnets4.*
          CfgSubnets4::merge() - reworked to reflect new rules
      
      src/lib/dhcpsrv/srv_config.cc
          SrvConfig::merge() - now merges shared networks
      
      src/lib/dhcpsrv/tests/cfg_subnets4_unittest.cc
          checkMergedSubnet() - convenience function for
          verifying subnet content
      
          TEST(CfgSubnets4Test, mergeSubnets) - revamped to
          reflect new network assigment rules
      
      src/bin/dhcp4/tests/config_backend_unittest.cc
          TEST_F(Dhcp4CBTest, mergeSharedNetworks)  - enabled test
      6dc4c06c
  3. 30 Jan, 2019 3 commits
  4. 29 Jan, 2019 13 commits
  5. 24 Jan, 2019 1 commit
    • Thomas Markwalder's avatar
      [#101,!202] Interrim commit - v4 fetch and merge functional · dc74694d
      Thomas Markwalder authored
      Server fetches config, populates external SrvConfig and invokes
      merge. libdhcpsrv still lacks merging of globals,opt defs,options,
      and shared networks.
      
      src/bin/dhcp4/json_config_parser.*
          configureDhcp4Server() - restored call to databaseConfigFetch()
          databaseConfigFetch(const SrvConfigPtr& srv_cfg) - completed
          implementation, now fetches external config and invokes merge
      
          addGlobalsToConfig()
          handleExplicitGlobal()
          handleImplicitGlobal() - new functions for populating external
          config globals with backend globals
      
      src/bin/dhcp4/tests
          config_backend_unittest.cc - new file that tests config fetch and merge
      
      src/lib/cc/stamped_value.*
          StampedValue::toElement(Element::types elem_type) - new method for
          creating Elements from StampedValues
      
      src/lib/cc/tests/stamped_value_unittest.cc
          TEST(StampedValueTest, toElement) - new test
      
      src/lib/dhcpsrv/testutils/test_config_backend.h
          TestConfigBackend() - fixed host_ assignment
      dc74694d
  6. 14 Jan, 2019 4 commits
  7. 10 Jan, 2019 3 commits
  8. 09 Jan, 2019 1 commit
    • Thomas Markwalder's avatar
      [#365,!194] kea-dhcp4 can be configured to calculate T1 and T2 · 9a7cd6e0
      Thomas Markwalder authored
      doc/guide/dhcp4-srv.xml
          Updated user guide with new parameters and details on rules
      
      src/lib/cc/data.cc
          DoubleElement::toJSON(std::ostream& ss) - modified to ensure whole number
           values are suffixed with ".0"
      
      src/lib/utils/doubles.h - new file
         provides a function for equating doubles within a given tolerance
      
      src/lib/cc/simple_parser.*
          SimpleParser::getDouble() - new method for fetching real number
          parameters as DoulbeElements
      
      src/lib/dhcpsrv/network.*
          Added members and support for new paramters to Network4:
              calculate_tee_times_, t1_percent_, t2_percent_
      
      src/lib/dhcpsrv/parsers/dhcp_parsers.cc
      src/lib/dhcpsrv/parsers/simple_parser4.cc
          Added support for new parameters to Subnet4ConfigParser
      
      src/bin/dhcp4/dhcp4_lexer.ll
      src/bin/dhcp4/dhcp4_parser.yy
      src/bin/dhcp4/json_config_parser.cc
          Added parser support for calculate-tee-times, t1-percent, and t2-percent
      
      src/bin/dhcp4/dhcp4_srv.*
          Dhcpv4Srv::setTeeTimes(lease, subnet, resp) - new method for
          determining T1 adn T2 values
      9a7cd6e0
  9. 20 Dec, 2018 5 commits
  10. 11 Dec, 2018 3 commits
  11. 10 Dec, 2018 3 commits
  12. 06 Dec, 2018 2 commits