1. 10 Oct, 2019 4 commits
    • Thomas Markwalder's avatar
      [#35,!517] Added getDdnsParams() to AllocEngine::ClientContext4/6 · 77cfe4bc
      Thomas Markwalder authored
      src/lib/dhcpsrv/alloc_engine.*
          AllocEngine::ClientContext6::getDdnsParams()
          AllocEngine::ClientContext4::getDdnsParams() - new
          methods which return a DdnsParams instance scoped by
          currently selected subnet
      
          Replaced direct references to context::ddns_params_ with
          new getter methods.
      
      src/lib/dhcpsrv/parsers/simple_parser4.cc
      src/lib/dhcpsrv/parsers/simple_parser6.cc
          Removed global defaults for hostname-char-set/replacement
      77cfe4bc
    • Thomas Markwalder's avatar
      [#35,!517] Changed moveDdnsParams to modify element map instead of SrvConfig · 6d6a3eed
      Thomas Markwalder authored
      Moving the parameters needs to be done before defaults are applied to the
      config, so moveDdnsParams was changed to modify a mutable top level
      element map instead of SrvConfig contents.
      
      src/lib/dhcpsrv/parsers/simple_parser4.cc
      src/lib/dhcpsrv/parsers/simple_parser6.cc
          Change ddns-send-updates default to true.
      
      src/lib/dhcpsrv/srv_config.*
          SrvConfig::getConfiguredGlobal() - new method to fetch a
          global by name
      
          SrvConfig::moveDdnsParams() - changed to accept/modify
          a top-level Element map
      
      src/lib/dhcpsrv/tests/srv_config_unittest.cc
          updated unit tests accordingly
      6d6a3eed
    • Thomas Markwalder's avatar
      [#35,!517] Added hostname-char-set to hostname-char-replacement network/subnet scopes · 590767d4
      Thomas Markwalder authored
      src/lib/dhcpsrv/d2_client_cfg.*
          Added hostname-char-set and hostname-char-replacement to DdnsParms
          DdnsParams::getHostnameSanitizer()  - new function to return a sanitizer
      
      src/lib/dhcpsrv/d2_client_mgr.h
          D2ClientMgr::adjustDomainName() - now gets sanitizer from ddns_params
      
      src/lib/dhcpsrv/network.*
      src/lib/dhcpsrv/parsers/base_network_parser.cc
      src/lib/dhcpsrv/parsers/simple_parser4.cc
      src/lib/dhcpsrv/parsers/simple_parser6.cc
          Added hostname-char-set and hostname-char-replacement to networks and subnets
      590767d4
    • Thomas Markwalder's avatar
      [#35,!517] Added DDDNS parameters to networks,subnets, and their parsers · e782a9d5
      Thomas Markwalder authored
      src/lib/dhcpsrv/network.*
          Network - added DDNS parameters: Optional members, getters, setters
          Network::toElement() - added DDNS parameters
      
      src/lib/dhcpsrv/parsers/base_network_parser.*
          BaseNetworkParser::parseDdnsParams() - new method to parse DDNS parameters
      
          BaseNetworkParser::parseLifetime() - fixed unitialized variables warning
      
      src/lib/dhcpsrv/parsers/dhcp_parsers.cc
          Subnet4ConfigParser::initSubnet()
          Subnet6ConfigParser::initSubnet()  - added call to parseDdnsParms().
      
      src/lib/dhcpsrv/parsers/shared_network_parser.cc
          SharedNetwork4Parser::parse()
          SharedNetwork6Parser::parse() - added call to parseDdnsParms().
      
      src/lib/dhcpsrv/parsers/simple_parser4.cc
          SimpleParser4::GLOBAL4_PARAMETERS
          SimpleParser4::GLOBAL4_DEFAULTS
          SimpleParser4::SUBNET4_PARAMETERS
          SimpleParser4::INHERIT_TO_SUBNET4
          SimpleParser4::SHARED_NETWORK4_PARAMETERS - added DDNS parameters
      
      src/lib/dhcpsrv/parsers/simple_parser6.cc
          SimpleParser6::GLOBAL6_PARAMETERS
          SimpleParser6::GLOBAL6_DEFAULTS
          SimpleParser6::SUBNET6_PARAMETERS
          SimpleParser6::INHERIT_TO_SUBNET6
          SimpleParser6::SHARED_NETWORK6_PARAMETERS - added DDNS parameters
      
      src/lib/dhcpsrv/tests/cfg_shared_networks4_unittest.cc
      src/lib/dhcpsrv/tests/cfg_shared_networks6_unittest.cc
      src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
      src/lib/dhcpsrv/tests/network_unittest.cc
      src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc
      src/lib/dhcpsrv/tests/shared_network_unittest.cc
      src/lib/dhcpsrv/tests/subnet_unittest.cc
          Updated tests.
      e782a9d5
  2. 07 Jul, 2019 2 commits
  3. 01 Jul, 2019 2 commits
    • Thomas Markwalder's avatar
      [#686,!403] Addressed review comments · 68b2cb03
      Thomas Markwalder authored
           Fixed cosmetics. Spacing etc...
      68b2cb03
    • Thomas Markwalder's avatar
      [#686,!403] LFC now sees sanity checking as disabled · e292f3a2
      Thomas Markwalder authored
      Add CfgConsistency defaults to application level parsing
      
      src/lib/dhcpsrv/cfg_consistency.h
          Changed constructor default mode to LEASE_CHECK_NONE
      
      src/lib/dhcpsrv/lease_file_loader.h
          LeaseFileLoader::load() - modified to create and use a
          sanity_checker only if checking is enabled.  This avoids
          senselessly making the same decisions for every lease loaded.
      
      src/lib/dhcpsrv/parsers/simple_parser4.*
      src/lib/dhcpsrv/parsers/simple_parser6.*
          Added sanity checks defaults so they can be properly set at
          the application level.
      
      src/lib/dhcpsrv/sanity_checker.h
          SanityChecker::leaseCheckingEnabled() - new static function
          to test if sanity checking for leases is enabled
      
      src/lib/dhcpsrv/tests/sanity_checks_unittest.cc
      src/lib/dhcpsrv/tests/srv_config_unittest.cc
          updated tests for new constructor default value
      e292f3a2
  4. 22 Jun, 2019 2 commits
  5. 13 Jun, 2019 1 commit
  6. 22 May, 2019 2 commits
  7. 26 Apr, 2019 2 commits
    • Thomas Markwalder's avatar
      [#365,!296] Addressed review comments. · e8632125
      Thomas Markwalder authored
      e8632125
    • 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
  8. 15 Mar, 2019 1 commit
  9. 07 Mar, 2019 1 commit
  10. 10 Dec, 2018 1 commit
    • Thomas Markwalder's avatar
      [#277, !164] Congestion Handling is now disabled by default · 2d0e62f1
      Thomas Markwalder authored
      src/lib/dhcpsrv/parsers/simple_parser4.cc
      src/lib/dhcpsrv/parsers/simple_parser6.cc
          Changed enable-queue default to false
      
      src/bin/dhcp4/tests/get_config_unittest.cc
      src/bin/dhcp6/tests/get_config_unittest.cc
          Rebuilt generated tests
      
      doc/guide/congestion-handling.xml
          Updated verbage on default setting
      2d0e62f1
  11. 21 Nov, 2018 1 commit
  12. 20 Nov, 2018 2 commits
  13. 12 Nov, 2018 1 commit
  14. 05 Oct, 2018 1 commit
    • Thomas Markwalder's avatar
      [#32,!23] - Added server-tag global to SrvConfig and kea-dhcp4/6 · 7fd4a5c0
      Thomas Markwalder authored
      src/bin/dhcp4/dhcp4_lexer.ll
      src/bin/dhcp4/dhcp4_parser.yy
      src/bin/dhcp4/json_config_parser.cc
          added server-tag
      
      src/bin/dhcp4/tests/config_parser_unittest.cc
          TEST_F(Dhcp4ParserTest, serverTag) - new test
      
      src/bin/dhcp6/dhcp6_lexer.ll
      src/bin/dhcp6/dhcp6_parser.yy
      src/bin/dhcp6/json_config_parser.cc
          added server-tag
      
      src/bin/dhcp6/tests/config_parser_unittest.cc
          TEST_F(Dhcp6ParserTest, serverTag)
      
      src/lib/dhcpsrv/parsers/simple_parser4.cc
      src/lib/dhcpsrv/parsers/simple_parser6.cc
          Added server-tag to global defaults
      
      src/lib/dhcpsrv/srv_config.cc
          Added server_tag_ memger to SrvConfig
      
      src/lib/dhcpsrv/tests/srv_config_unittest.cc
          TEST_F(SrvConfigTest, serverTag)
          TEST_F(SrvConfigTest, unparseConfigControlInfo6) - new tests
      7fd4a5c0
  15. 13 Jun, 2018 1 commit
  16. 18 May, 2018 2 commits
  17. 16 May, 2018 1 commit
  18. 15 Sep, 2017 2 commits
  19. 13 Sep, 2017 2 commits
  20. 15 Aug, 2017 1 commit
  21. 28 Jul, 2017 1 commit
  22. 07 Jul, 2017 1 commit
  23. 04 Jul, 2017 1 commit
  24. 07 Mar, 2017 1 commit
  25. 27 Jan, 2017 1 commit
  26. 26 Jan, 2017 3 commits