1. 28 Oct, 2019 1 commit
  2. 10 Oct, 2019 4 commits
    • Thomas Markwalder's avatar
      [#35,!517] Addressed review comments · 7cfc5d3f
      Thomas Markwalder authored
      Addressed a myriad of minor typos and wording issues.
      
      modified:
      ChangeLog
      doc/examples/kea4/all-keys.json
      doc/examples/kea6/all-keys.json
      doc/sphinx/arm/dhcp4-srv.rst
      doc/sphinx/arm/dhcp6-srv.rst
      src/bin/dhcp4/dhcp4_srv.cc
      src/bin/dhcp4/tests/config_parser_unittest.cc
      src/bin/dhcp4/tests/fqdn_unittest.cc
      src/bin/dhcp6/tests/config_parser_unittest.cc
      src/bin/dhcp6/tests/d2_unittest.cc
      src/bin/dhcp6/tests/fqdn_unittest.cc
      src/lib/dhcpsrv/alloc_engine.cc
      src/lib/dhcpsrv/alloc_engine.h
      src/lib/dhcpsrv/d2_client_cfg.h
      src/lib/dhcpsrv/parsers/base_network_parser.cc
      src/lib/dhcpsrv/srv_config.h
      7cfc5d3f
    • 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 function to move of DDNS cfg elements to global scope to SrvConfig · d3eda7f2
      Thomas Markwalder authored
      src/lib/dhcpsrv/dhcpsrv_messages.*
          DHCPSRV_CFGMGR_DDNS_PARAMETER_IGNORED
          DHCPSRV_CFGMGR_DDNS_PARAMETER_MOVED
      
      src/lib/dhcpsrv/srv_config.*
          SrvConfig::moveDdnsParams() - new method to move
          parameters from dhcp-ddns to configured globals.
      
      src/lib/dhcpsrv/tests/srv_config_unittest.cc
          TEST_F(SrvConfigTest, moveDdnsParamsTest) - new test
      d3eda7f2
    • Thomas Markwalder's avatar
      [#35,!517] Added fetch of scoped DDNS parameters to SrvConfig · f0d9fef2
      Thomas Markwalder authored
      src/lib/dhcpsrv/srv_config.*
          SrvConfig::getDdnsParams() - new method to fetch
          scoped DDNS parameters based on a given subnet
      
      src/lib/dhcpsrv/tests/srv_config_unittest.cc
          TEST_F(SrvConfigTest, getDdnsParamsTest4)
          TEST_F(SrvConfigTest, getDdnsParamsTest6) - new tests
      f0d9fef2
  3. 08 Jul, 2019 1 commit
  4. 10 Apr, 2019 4 commits
  5. 26 Mar, 2019 1 commit
  6. 15 Mar, 2019 2 commits
  7. 26 Feb, 2019 1 commit
    • Thomas Markwalder's avatar
      [#400,!243] kea-dhcp4 now merges in option definitions · 24da432a
      Thomas Markwalder authored
      src/bin/dhcp4/tests/config_backend_unittest.cc
          TEST_F(Dhcp4CBTest, mergeGlobals) - enabled/revamped
      
      src/lib/dhcpsrv/tests/cfg_option_def_unittest.cc
          TEST(CfgOptionDefTest, merge) - new test
      
      src/lib/dhcpsrv/cfg_option_def.*
          CfgOptionDef::merge(CfgOptionDef& other)  - new method
          which merges option definitions
      
      Removed const from "other" parameter in in the following merge methods:
      
          CfgSharedNetworks4::merge(CfgSharedNetworks4& other)
          CfgSubnets4::merge(CfgSharedNetworks4Ptr networks, CfgSubnets4& other);
          SrvConfig::merge(ConfigBase& other)
          SrvConfig::merge4(SrvConfig& other)
          SrvConfig::mergeGlobals4(SrvConfig& other)
          ConfigBase::merge(ConfigBase& other)
      24da432a
  8. 21 Feb, 2019 1 commit
  9. 20 Feb, 2019 1 commit
    • Thomas Markwalder's avatar
      [#402,!224] kea-dhcp4 now merges global values from config backend · 16d2eaa5
      Thomas Markwalder authored
      src/bin/dhcp4/json_config_parser.*
          Moved global merge logic into SrvConfig
      
      src/lib/dhcpsrv/srv_config.*
          SrvConfig::merge(const ConfigBase& other) - now calls protocol
          specific merge methods
      
          SrvConfig::merge4() - new method for v4 merges
          SrvConfig::mergeGlobals4() - new method for merging v4 globals
      
      src/lib/dhcpsrv/tests/srv_config_unittest.cc
          TEST_F(SrvConfigTest, mergeGlobals4) - new test
      16d2eaa5
  10. 05 Feb, 2019 1 commit
  11. 14 Jan, 2019 3 commits
  12. 11 Dec, 2018 2 commits
  13. 07 Nov, 2018 1 commit
  14. 06 Nov, 2018 1 commit
  15. 05 Nov, 2018 1 commit
  16. 01 Nov, 2018 1 commit
    • Thomas Markwalder's avatar
      [#42, !103] Interrim commit, kea-dhcp4 supports "queue-control" · 036d249f
      Thomas Markwalder authored
          kea-dhcp4 will parse and use "queue-control" to configure ring
          buffer size:
      
          "Dhcp4":
          {
              "queue-control": {
                  # max number of packets the ring will hold
                  "capacity" : 100
              },
          :
      
          This is an interrim commit for testing purposes.
          Expect a fair amount of refactoring in subsequent commits.
      
      New files:
      	src/lib/dhcp/queue_control.cc
      	src/lib/dhcp/queue_control.h
      	src/lib/dhcp/tests/queue_control_unittest.cc
      	src/lib/dhcpsrv/parsers/queue_control_parser.cc
      	src/lib/dhcpsrv/parsers/queue_control_parser.h
      
      src/bin/dhcp4/ctrl_dhcp4_srv.cc
          ControlledDhcpv4Srv::processConfig() -
              added logic to set packet queue controller
      
      src/bin/dhcp4/dhcp4_lexer.ll b/src/bin/dhcp4/dhcp4_lexer.ll
      src/bin/dhcp4/dhcp4_parser.yy
      src/bin/dhcp4/parser_context.*
          Added queue-control parsing
      
      src/bin/dhcp4/json_config_parser.cc
          configureDhcp4Server() - recognize and parse "queue-control"
      
      src/bin/dhcp4/tests/config_parser_unittest.cc
          TEST_F(Dhcp4ParserTest, queueControl)
          TEST_F(Dhcp4ParserTest, queueControlInvalid)
          - new tests
      
      src/lib/dhcp/iface_mgr.*
          IfaceMgr::getPacketQueueControl4()
          IfaceMgr::setPacketQueueControl4()
          IfaceMgr::getPacketQueueControl6()
          IfaceMgr::setPacketQueueControl6()
      
      src/lib/dhcp/packet_queue.*
          Use QueueControl class
      
      src/lib/dhcpsrv/srv_config.*
          Added QueueControl member, getter/setter
          SrvConfig::toElement() - now emits queue-control if not null
      036d249f
  17. 05 Oct, 2018 2 commits
    • 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
    • Thomas Markwalder's avatar
      [#32,!23] SrvConfig::toElement now outputs config-control · a8e05f99
      Thomas Markwalder authored
      src/lib/dhcpsrv/srv_config.cc
          SrvConfig::toElement() - added logic to output config-control
      
      src/lib/dhcpsrv/tests/srv_config_unittest.cc
          TEST_F(SrvConfigTest, unparseConfigControlInfo) - new test
      a8e05f99
  18. 07 Sep, 2018 1 commit
  19. 30 Jul, 2018 1 commit
  20. 13 Jun, 2018 1 commit
  21. 07 Jun, 2018 1 commit
    • Thomas Markwalder's avatar
      [5378] kea-dhcp4/6 now keep track of their configured global params · ef1c0b74
      Thomas Markwalder authored
      src/bin/dhcp4/json_config_parser.cc
          configureDhcp4Server() - added extract of configured globals
      
      src/bin/dhcp4/tests/get_config_unittest.cc
      src/bin/dhcp6/tests/get_config_unittest.cc
          Updated extracted and unparsed configs.
      
      src/bin/dhcp6/json_config_parser.cc
          configureDhcp6Server() - added extract of configured globals
      
      src/lib/dhcpsrv/srv_config.h
      src/lib/dhcpsrv/srv_config.cc
          Added storage and maintence of configured globals
          SrvConfig::toElement() - added configured globals to result
      
      src/lib/dhcpsrv/tests/srv_config_unittest.cc
          TEST_F(SrvConfigTest, configuredGlobals) - new test
      ef1c0b74
  22. 29 Nov, 2017 1 commit
  23. 01 Sep, 2017 1 commit
  24. 23 Jul, 2017 1 commit
  25. 08 Mar, 2017 1 commit
  26. 07 Mar, 2017 2 commits
  27. 04 Mar, 2017 2 commits