1. 17 Oct, 2018 1 commit
  2. 16 Oct, 2018 1 commit
    • Thomas Markwalder's avatar
      [#101,!73] kea-dhcp4 can init CB backends based on config · 210105df
      Thomas Markwalder authored
      src/bin/dhcp4/json_config_parser.*
          databaseConfigConnect(const SrvConfigPtr& srv_cfg)
          databaseConfigFetch(const SrvConfigPtr& srv_cfg, ElementPtr /*global_scope*/)
          - new functions
      
          configureDhcp4Server() - modified to call databaseConfigFetch() after
          loading hook libs
      
      src/bin/dhcp4/tests/config_parser_unittest.cc
          TEST_F(Dhcp4ParserTest, configControlInfoNoFactory) - new test
          TEST_F(Dhcp4ParserTest, configControlInfo) - modified to register
          dummy backend
      
      src/lib/dhcpsrv/testutils/test_config_backend_dhcp4.*
          New files that implement DHPC4 dummy backend for testing
      210105df
  3. 08 Oct, 2018 1 commit
  4. 03 Sep, 2018 7 commits
  5. 13 Aug, 2018 2 commits
  6. 09 Aug, 2018 1 commit
  7. 07 Aug, 2018 1 commit
    • Thomas Markwalder's avatar
      [5704] host backends and kea-dhcp4/6 support global HR storage · f1b3b3c7
      Thomas Markwalder authored
      - Added constants for special SubnetIDs:
          SUBNET_ID_GLOBAL, SUBNET_ID_MAX, SUBNET_ID_UNUSED
      
      - Modified code throughout to use these constants, rather than hard-coded
        values.   Note, MySQL and PostgreSQL host backends convert from NULL to
        UNUSED and back.
      
      - kea-dhcp4/6 servers will now parse a "reservations" element at the global
        level.
      
      src/lib/dhcpsrv/subnet_id.h
          Added constants SubnetID SUBNET_ID_GLOBAL, SUBNET_ID_MAX, SUBNET_ID_UNUSED
      
      src/bin/dhcp4/dhcp4_lexer.ll
      src/bin/dhcp4/dhcp4_parser.yy
      src/bin/dhcp4/json_config_parser.cc
          kea-dhcp4 parsing now handles reservations as a global element
      
      src/bin/dhcp4/tests/config_parser_unittest.cc
          TEST_F(Dhcp4ParserTest, globalReservations) - new test to
          verify global HR parsing
      
      src/bin/dhcp4/tests/dora_unittest.cc
      src/lib/dhcpsrv/cfg_hosts.cc
      src/lib/dhcpsrv/host.cc
      src/lib/dhcpsrv/host_mgr.cc
      src/lib/dhcpsrv/mysql_host_data_source.cc
      src/lib/dhcpsrv/parsers/host_reservation_parser.cc
      src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc
      src/lib/dhcpsrv/tests/alloc_engine_utils.cc
      src/lib/dhcpsrv/tests/host_mgr_unittest.cc
      src/lib/dhcpsrv/tests/host_reservation_parser_unittest.cc
      src/lib/dhcpsrv/tests/host_reservations_list_parser_unittest.cc
      src/lib/dhcpsrv/tests/host_unittest.cc
          Replaced SubnetID 0 with SUBNET_ID_UNUSED
      
      src/lib/dhcpsrv/srv_config.cc
          SrvConfig::toElement() - added global reservations output
      
      src/lib/dhcpsrv/tests/cfg_hosts_unittest.cc
          TEST_F(CfgHostsTest, globalSubnetIDs)
          TEST_F(CfgHostsTest, unusedSubnetIDs) - new tests
      
      src/lib/dhcpsrv/tests/host_unittest.cc
          Replaced SubnetID 0 with SUBNET_ID_UNUSED
          TEST_F(HostTest, toText)  - updated to verify global ID output
      
      src/lib/dhcpsrv/tests/mysql_host_data_source_unittest.cc
          TEST_F(MySqlHostDataSourceTest, globalSubnetId4)
          TEST_F(MySqlHostDataSourceTest, globalSubnetId6) - new tests
      
      src/lib/dhcpsrv/tests/srv_config_unittest.cc
          TEST_F(SrvConfigTest, unparseHR) - added global HRs
      
      src/lib/dhcpsrv/testutils/generic_host_data_source_unittest.*
          GenericHostDataSourceTest::testGlobalSubnetId4()
          GenericHostDataSourceTest::testGlobalSubnetId6()
      
      src/bin/dhcp6/dhcp6_lexer.ll
      src/bin/dhcp6/dhcp6_parser.yy
      src/bin/dhcp6/json_config_parser.cc
          kea-dhcp6 now parses reservations as a global element
      
      src/bin/dhcp6/tests/config_parser_unittest.cc
          TEST_F(Dhcp6ParserTest, globalReservations) - new test
      f1b3b3c7
  8. 02 Aug, 2018 1 commit
  9. 23 Jul, 2018 5 commits
  10. 24 May, 2018 2 commits
  11. 18 May, 2018 2 commits
  12. 16 May, 2018 1 commit
  13. 11 Apr, 2018 1 commit
  14. 08 Mar, 2018 1 commit
  15. 07 Mar, 2018 2 commits
  16. 24 Feb, 2018 1 commit
  17. 23 Feb, 2018 1 commit
  18. 22 Feb, 2018 1 commit
  19. 18 Feb, 2018 1 commit
  20. 16 Feb, 2018 1 commit
  21. 15 Feb, 2018 2 commits
  22. 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
  23. 23 Jan, 2018 1 commit
  24. 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
  25. 12 Apr, 2017 1 commit