1. 29 Jun, 2018 1 commit
  2. 13 Jun, 2018 1 commit
  3. 08 May, 2018 2 commits
  4. 08 Mar, 2018 1 commit
  5. 23 Feb, 2018 1 commit
  6. 20 Feb, 2018 1 commit
  7. 13 Feb, 2018 1 commit
    • Tomek Mrugalski's avatar
      [github36] Large chunk of review work completed: · 86980fa9
      Tomek Mrugalski authored
       - common code extracted to testutils/host_data_source_utils.cc|h
       - doxygen comments written
       - compilation warnings removed
       - each leasemgr benchmark have at least a short description
       - HostDataSource benchmarks partially done, but still WIP
       - overall, the diff is 4k and counting...
      86980fa9
  8. 25 Jan, 2018 1 commit
  9. 04 Jan, 2018 1 commit
  10. 31 Dec, 2017 1 commit
  11. 14 Dec, 2017 1 commit
  12. 01 Dec, 2017 1 commit
  13. 29 Nov, 2017 1 commit
  14. 28 Nov, 2017 1 commit
  15. 23 Oct, 2017 1 commit
  16. 20 Oct, 2017 1 commit
  17. 19 Oct, 2017 2 commits
  18. 17 Oct, 2017 1 commit
  19. 29 Sep, 2017 1 commit
  20. 28 Sep, 2017 1 commit
    • Thomas Markwalder's avatar
      [master] Added BOOST_LIBS to library Makefiles · cdfbc195
      Thomas Markwalder authored
          Several libraries depend on boost_system lib according to
          otool, but lacked linking to $(BOOST_LIBS) in their Makefile.am.
          This has been corrected:
      
          src/lib/asiodns/Makefile.am
          src/lib/config/Makefile.am
          src/lib/dhcp/Makefile.am
          src/lib/dhcp_ddns/Makefile.am
          src/lib/dhcpsrv/Makefile.am
          src/lib/eval/Makefile.am
          src/lib/stats/Makefile.am
      cdfbc195
  21. 01 Sep, 2017 1 commit
  22. 31 Aug, 2017 2 commits
  23. 18 Aug, 2017 1 commit
    • Andrei Pavel's avatar
      Google Benchmark support · 29440ea0
      Andrei Pavel authored
      ReentrantSetUp* methods are needed because you can't control iteration
      count
      Usage:
        ./configure --with-benchmark
            OR
        ./configure --with-benchmark-source=/path/to/benchmark/src
      
        make
        cd src/lib/dhcpsrv/benchmarks
      
        ./run-benchmarks
            OR
        ./run-benchmarks --benchmark_filter="RegExP*"
      29440ea0
  24. 15 Aug, 2017 2 commits
  25. 03 Aug, 2017 1 commit
  26. 04 Apr, 2017 1 commit
  27. 07 Mar, 2017 2 commits
  28. 03 Mar, 2017 1 commit
  29. 23 Feb, 2017 1 commit
  30. 11 Jan, 2017 1 commit
    • Andrei Pavel's avatar
      Cassandra Host Data Source stress test · 6efa71b9
      Andrei Pavel authored
      It is part of the generic_host_data_source_unittest.cc, able to be
      implemented for other HDS as well. It executes INSERT statements and
      a certain SELECT statement which Cassandra struggles in performance
      with since it has to do two queries instead of a join. All statement
      executions are timed and repeated on an increasingly number of hosts.
      It is placed last and DISABLED_ as you don't want to run this during
      a usual make check.
      6efa71b9
  31. 27 Dec, 2016 1 commit
  32. 22 Dec, 2016 1 commit
  33. 14 Dec, 2016 3 commits
    • Andrei Pavel's avatar
      Cassandra Host Data Source · f3598e76
      Andrei Pavel authored
      Added src/share/database/scripts/cql/upgrade_1.0_to_2.0.sh to include host_reservations table in Cassandra.
      Updated documentation to indicate that Cassandra now supports host reservations.
      Added src/lib/dhcpsrv/cql_host_data_source.cc and cql_host_data_source.h.
      Fixed a bug in CfgOption::mergeInternal() where formatted_value_ was not taken into consideration when merging, this is needed for merging the denormalized results on host retrieval in Cassandra. The method is not used elsewhere so there is no regression impact.
      Added Cassandra support in HostDataSourceFactory.
      Implemented a todo in mysql_host_data_source.cc
      Added cql_host_data_source_unittest.cc
      Functionality that Cassandra is not capable of like ORDER BY clause is
      adjusted in generic_host_data_source_unittest.cc.
      f3598e76
    • Andrei Pavel's avatar
      Cassandra Host Data Source · 6bc15852
      Andrei Pavel authored
      Added src/share/database/scripts/cql/upgrade_1.0_to_2.0.sh to include host_reservations table in Cassandra.
      Updated documentation to indicate that Cassandra now supports host reservations.
      Added src/lib/dhcpsrv/cql_host_data_source.cc and cql_host_data_source.h.
      Fixed a bug in CfgOption::mergeInternal() where formatted_value_ was not taken into consideration when merging, this is needed for merging the denormalized results on host retrieval in Cassandra. The method is not used elsewhere so there is no regression impact.
      Added Cassandra support in HostDataSourceFactory.
      Implemented a todo in mysql_host_data_source.cc
      Added cql_host_data_source_unittest.cc
      Functionality that Cassandra is not capable of like ORDER BY clause is
      adjusted in generic_host_data_source_unittest.cc.
      6bc15852
    • Andrei Pavel's avatar
      Cassandra update · 50fd7903
      Andrei Pavel authored
      Replaced unrecommended backticks with $() in cql_version() in bash scripts.
      
      *_execute() and *_execute_script() functions from src/bin/admin/admin-utils.sh now pass the parameters to the underlying backend binary whenever they are given rather than when there are 2 or more.
      
      Corrected cql_version() return error in src/bin/admin/admin-utils.sh.
      
      Removed redundant "USE" from cql_init() in src/bin/admin/kea-admin.in.
      
      Inserted a newline in src/bin/admin/tests/Makefile.am to separate unrelated targets.
      
      Style changes in cql_*_test() functions in src/bin/admin/tests/cql_tests.sh.in.
      
      src/bin/admin/tests/dhcpdb_create_1.0.cql:
          "perfromance" typo
          Added comment headers
          Added index on expire since it is used in WHERE clauses (further performance testing may be required)
          Removed dhcp4_options and dhcp6_options table since they are not required for Cassandra
      
      Added DROP INDEX in src/share/database/scripts/cql/dhcpdb_drop.cql.
      
      Added sql_common.h
      Added cql_exchange.h and cql_exchange.cc which mediate communication with Cassandra.
      Added cql_lease_mgr.h and cql_lease_mgr.cc
      
      Parameterized reconnect-wait-time, connect-timeout, request-timeout, tcp-keepalive, tcp-nodelay for Cassandra in kea.conf. Changes are in src/lib/dhcpsrv/cql_connection.cc and src/lib/dhcpsrv/parsers/dbaccess_parser.cc.
      
      Reformated x != NULL into !x as specified in the Kea style guidelines
      
      src/lib/dhcpsrv/cql_connection.cc:
          Added range check for port
          Added CqlConnection:setConsistency
          Added CqlConnection::startTransaction  which is a noop
          Added CqlTransaction method implementations.
          Corrected ending brace of namespace declaration, it doesn't need semicolon.
      
      src/lib/dhcpsrv/cql_connection.h:
          Added explicit on CqlConnection constructor. Unlikely that this class will ever be derived, but it's good practice.
          Changed some comments.
          Added CqlTransaction class definition.
      
      src/lib/dhcpsrv/cql_lease_mgr.cc:
          Formatted the entire code.
          Changed data types to cass_ types.
      
      Added some log messages.
      
      Moved structs, enums and typedefs from src/lib/dhcpsrv/lease_mgr.h to src/lib/dhcpsrv/sql_common.h
      
      Added some missing tests in src/lib/dhcpsrv/tests/cql_lease_mgr_unittest.cc
      50fd7903