1. 23 Jul, 2017 6 commits
  2. 31 Mar, 2017 1 commit
  3. 10 Mar, 2017 1 commit
  4. 07 Mar, 2017 2 commits
  5. 04 Mar, 2017 3 commits
  6. 17 Feb, 2017 1 commit
  7. 27 Jan, 2017 1 commit
  8. 16 Jan, 2017 1 commit
  9. 13 Jan, 2017 2 commits
  10. 12 Jan, 2017 2 commits
  11. 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
  12. 07 Jan, 2017 1 commit
  13. 05 Jan, 2017 2 commits
  14. 04 Jan, 2017 1 commit
  15. 30 Dec, 2016 1 commit
  16. 28 Dec, 2016 1 commit
    • Tomek Mrugalski's avatar
      [5021] Changes after review: · 8e2c1545
      Tomek Mrugalski authored
       - using const_pointer_cast in dhcp{4,6}/json_config_parser.cc
       - removed obsolete comment from dhcp_parsers_unittest.cc
       - updated simple_parser.h comments
       - added include <vector> in simple_parser.h
      8e2c1545
  17. 22 Dec, 2016 2 commits
  18. 14 Dec, 2016 1 commit
  19. 12 Dec, 2016 2 commits
  20. 29 Nov, 2016 1 commit
    • Tomek Mrugalski's avatar
      [5014_phase2] SimpleParser implemented, 4 parsers converted · f9abab4b
      Tomek Mrugalski authored
       - SimpleParser concept implemented
       - Converted 4 parsers (option data, option data list, option defintion,
         option definition list)
       - updated unit-tests
       - converted other parsers (HostReservationParser{4,6}, ClientClassDefParser)
         to use those new parsers
       - converted kea-dhcp{4,6} to use those new parsers
      
      Conflicts:
      	src/bin/dhcp6/json_config_parser.cc
      	src/lib/dhcpsrv/parsers/dhcp_parsers.cc
      f9abab4b
  21. 26 Oct, 2016 1 commit
  22. 13 Sep, 2016 1 commit
  23. 19 May, 2016 1 commit
  24. 28 Apr, 2016 1 commit
  25. 27 Apr, 2016 1 commit
    • Tomek Mrugalski's avatar
      [4297] Addressed review comments: · 0640b863
      Tomek Mrugalski authored
       - returnining different values in callout_params_library.cc
       - returned values are now described for getParameter
       - corrected index syntax comment in getParameter
       - added missing include
       - hooks_user.dox updated
       - hooks unit test moved, so it is now next to other hooks tests
      0640b863
  26. 06 Apr, 2016 1 commit
    • Thomas Markwalder's avatar
      [4259] Addressed review comments · 773659ff
      Thomas Markwalder authored
          Moved string/enum conversion functions inside D2ClientConfig
      
          Changed underscores to hypens in replace-client-name values and changed
          all literal values to lower case.
      
          Fixed minor wording issues in admin guide and new log messages.
      
          Added commentary and extra error logging to unit tests
      
          Added test case for invalid value of replace-client-name
      773659ff
  27. 04 Apr, 2016 1 commit
    • Thomas Markwalder's avatar
      [4259] Converted replace-client-name from boolean to enumeration · d80e28d3
      Thomas Markwalder authored
          The D2 client configuration parameter, replace-client-name, was
          changed from a boolean, to an enumerated list of modes:
      
              "NEVER" - do not alter or supply the client name
              "ALWAYS" - always replace the client name, or supply it if
               not sent by the client
              "WHEN_PRESENT" - replace the client name sent by the client,
               do not supply one otherwise
              "WHEN_NOT_PRESENT" - supply the client name only if one was
              not sent by the client
      
          src/lib/dhcpsrv/d2_client_cfg.cc
          src/lib/dhcpsrv/d2_client_cfg.h
              Added the D2ClientConfig::ReplaceClientNameMode enumeration.
      
          src/lib/dhcpsrv/parsers/dhcp_parsers.cc
              - Alter replace-client-name parsing to parse the mode labels.
              - Maps boolean literals true and false to RCM_WHEN_PRESENT and
              RCM_NEVER respectively
      
          src/bin/dhcp4/dhcp6_srv.cc
          src/bin/dhcp4/dhcp4_srv.cc
          src/lib/dhcpsrv/d2_client_mgr.h
              - Adapted to use the enumeration
      
          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/fqdn_unittest.cc
          src/lib/dhcpsrv/tests/cfgmgr_unittest.cc
          src/lib/dhcpsrv/tests/d2_client_unittest.cc
          src/lib/dhcpsrv/tests/d2_udp_unittest.cc
          src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
              - Alter existing tests to use the enumeration. Note false was replaced
              with RCM_NEVER and true with RCM_WHEN_PRESENT
      d80e28d3