1. 11 Dec, 2018 2 commits
  2. 07 Nov, 2018 1 commit
  3. 06 Nov, 2018 1 commit
  4. 05 Nov, 2018 1 commit
  5. 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
  6. 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
  7. 07 Sep, 2018 1 commit
  8. 30 Jul, 2018 1 commit
  9. 13 Jun, 2018 1 commit
  10. 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
  11. 29 Nov, 2017 1 commit
  12. 01 Sep, 2017 1 commit
  13. 23 Jul, 2017 1 commit
  14. 08 Mar, 2017 1 commit
  15. 07 Mar, 2017 2 commits
  16. 04 Mar, 2017 3 commits
  17. 24 Feb, 2017 1 commit
  18. 23 Feb, 2017 1 commit
  19. 11 Feb, 2017 1 commit
  20. 10 Feb, 2017 1 commit
  21. 26 Jan, 2017 1 commit
  22. 18 Jan, 2017 1 commit
  23. 17 Jan, 2017 1 commit
  24. 16 Jan, 2017 1 commit
  25. 12 Jan, 2017 1 commit
  26. 11 Jan, 2017 1 commit
    • Thomas Markwalder's avatar
      [5033] - migrated D2ClientConfigParser to SimpleParser, kea-dhcp4 uses it · 85640c19
      Thomas Markwalder authored
      src/bin/dhcp4/json_config_parser.cc
          createGlobalDhcp4ConfigParser()
          - added clause to invoke new D2ClientConfigParser to
          set staging config
          - added clause to apply staged D2ClientConfig (formerly done
          by parser commit
      
      src/bin/dhcp4/parser_context.h
      src/bin/dhcp4/parser_context.cc
          aded PARSER_DHCP_DDNS context
      
      src/bin/dhcp4/simple_parser4.h
      src/bin/dhcp4/simple_parser4.cc
          defined SimpleParser4::D2_CLIENT_CONFIG_DEFAULTS
          SimpleParser4::setAllDefaults() - now sets defaults
          for D2ClientConfig
      
      src/bin/dhcp4/tests/d2_unittest.cc
      src/bin/dhcp4/tests/fqdn_unittest.cc
          Updated replace-name-mode values (true/false no longer supported)
      
      src/lib/dhcpsrv/parsers/dhcp_parsers.h
      src/lib/dhcpsrv/parsers/dhcp_parsers.cc
          D2ClientConfig now derives from SimpleParser
      
      src/lib/dhcpsrv/srv_config.h
      src/lib/dhcpsrv/srv_config.cc
          Added a D2ClientConfigPtr member to SrvConfig.
      
      src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
          Updated tests to set D2 client config defaults
      
      doc/guide/dhcp4-srv.xml
          Updated, replace-client-name no longer accepts booleans
      85640c19
  27. 14 Dec, 2016 1 commit
  28. 11 May, 2016 1 commit
  29. 26 Apr, 2016 1 commit
  30. 14 Apr, 2016 1 commit
  31. 01 Mar, 2016 1 commit
  32. 12 Jan, 2016 1 commit
  33. 16 Dec, 2015 1 commit
  34. 10 Dec, 2015 1 commit
    • Marcin Siodelski's avatar
      Revert "[master] Merge branch 'trac4106'" · 6bc8c1cb
      Marcin Siodelski authored
      This reverts commit 8f2a1f8a, reversing
      changes made to ed7edadc.
      
      This  merge introduced regressions in our build farm and revealed
      issues in the DHCP4o6 IPC code. It also revealed some differences
      in sockets handling under Linux and BSD. Rather than continue
      patching this here, we should work on the branch to resolve all
      issues and then merge 1.1.
      6bc8c1cb
  35. 17 Nov, 2015 1 commit