1. 17 Nov, 2015 2 commits
    • Thomas Markwalder's avatar
      [4096] Added client class dictionary to SrvConfig · 559c0a69
      Thomas Markwalder authored
      src/lib/dhcpsrv/parsers/client_class_def_parser.cc
          ClientClassDefListParser::commit() - pushes the newly built local
          dictionary to CfgMgr staging
      
      src/lib/dhcpsrv/srv_config.h
      src/lib/dhcpsrv/srv_config.cc
          Added client class dictionary member to SrvConfig
      
      src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc
          TEST_F(ClientClassDefListParserTest, simpleValidList) - now
          verifies that ClientClassDefListParser::commit() pushes its
          local dictionary to CfgMgr staging.
      
      src/lib/dhcpsrv/tests/srv_config_unittest.cc
          Added support to test new client class dictionary member
      559c0a69
    • Thomas Markwalder's avatar
      [4096] Added copy constructors and equality tools to client class storage · 87ed3316
      Thomas Markwalder authored
      In anticipation adding client class storage to SrvConfig:
      
      src/lib/dhcpsrv/client_class_def.h
      src/lib/dhcpsrv/client_class_def.cc
          added copy contructor, equals() method, ==, != operators
          To ClientClassDef and ClientClassDictionary
      
      src/lib/dhcpsrv/tests/client_class_def_unittest.cc
          Added copyAndEquality tests for ClientClassDef and
          ClientClassDictionary
      87ed3316
  2. 16 Nov, 2015 1 commit
    • Thomas Markwalder's avatar
      [4096] Added parsers for client class definitions · dd80413a
      Thomas Markwalder authored
      New Files:
          parsers/client_class_def_parser.cc
          parsers/client_class_def_parser.h
          tests/client_class_def_parser_unittest.cc
      
      src/lib/dhcpsrv/parsers/Makefile.am
          Added entries for new files
          Added EXTRA_DIST entries for several files that were missing.
      
      src/lib/dhcpsrv/parsers/dhcp_parsers.h
          Added typedef for OptionDataListParserPtr
      
      src/lib/dhcpsrv/tests/Makefile.am
          Added entries for new unitest file
      
      src/lib/dhcpsrv/tests/client_class_def_unittest.cc
          Fixed broken unit test TEST(ClientClassDef, cfgOptionBasics)
      dd80413a
  3. 13 Nov, 2015 1 commit
  4. 11 Nov, 2015 10 commits
  5. 10 Nov, 2015 1 commit
    • Thomas Markwalder's avatar
      [4095] Implemented new classes for storing client class definitions · f3e7cffe
      Thomas Markwalder authored
      src/lib/dhcpsrv/client_class_def.cc
      src/lib/dhcpsrv/client_class_def.h
      src/lib/dhcpsrv/tests/client_class_def_unittest.cc
          New files that define client class storage classes and tests
      
      src/lib/dhcp/classify.h
          Amended commentary to reflect how these classes are now being used.
      
      src/lib/dhcp/option.h
          Added typedefs:
              boost::shared_ptr<Option> OptionPtr;
              boost::shared_ptr<OptionCollection> OptionCollectionPtr;
      
      src/lib/dhcpsrv/Makefile.am
          Added entries for new files
      
      src/lib/dhcpsrv/tests/Makefile.am
          Added entries for new file
      
      src/lib/eval/token.h b/src/lib/eval/token.h
          Added typedef:
              boost::shared_ptr<Expression> ExpressionPtr;
      f3e7cffe
  6. 05 Nov, 2015 6 commits
  7. 04 Nov, 2015 6 commits
  8. 03 Nov, 2015 5 commits
  9. 02 Nov, 2015 5 commits
  10. 01 Nov, 2015 3 commits