1. 02 Feb, 2019 1 commit
    • Thomas Markwalder's avatar
      [#399,!215] kea-dhcp4 now merges in config backend shared netwokrs · 6dc4c06c
      Thomas Markwalder authored
          CfgSharedNetworks4::merge() - new method to merge
          shared network configs
          CfgSubnets4::merge() - reworked to reflect new rules
          SrvConfig::merge() - now merges shared networks
          checkMergedSubnet() - convenience function for
          verifying subnet content
          TEST(CfgSubnets4Test, mergeSubnets) - revamped to
          reflect new network assigment rules
          TEST_F(Dhcp4CBTest, mergeSharedNetworks)  - enabled test
  2. 03 Feb, 2019 2 commits
  3. 31 Jan, 2019 4 commits
  4. 30 Jan, 2019 8 commits
  5. 29 Jan, 2019 18 commits
  6. 24 Jan, 2019 3 commits
    • Thomas Markwalder's avatar
      [#101,!202] Interrim commit - v4 fetch and merge functional · dc74694d
      Thomas Markwalder authored
      Server fetches config, populates external SrvConfig and invokes
      merge. libdhcpsrv still lacks merging of globals,opt defs,options,
      and shared networks.
          configureDhcp4Server() - restored call to databaseConfigFetch()
          databaseConfigFetch(const SrvConfigPtr& srv_cfg) - completed
          implementation, now fetches external config and invokes merge
          handleImplicitGlobal() - new functions for populating external
          config globals with backend globals
          config_backend_unittest.cc - new file that tests config fetch and merge
          StampedValue::toElement(Element::types elem_type) - new method for
          creating Elements from StampedValues
          TEST(StampedValueTest, toElement) - new test
          TestConfigBackend() - fixed host_ assignment
    • Marcin Siodelski's avatar
      [#405,!212] Fixed a typo. · 145a95ef
      Marcin Siodelski authored
    • Francis Dupont's avatar
      [405-update-cb_cmds] Missing space · 2f4cc620
      Francis Dupont authored
  7. 22 Jan, 2019 1 commit
  8. 18 Jan, 2019 3 commits
    • Tomek Mrugalski's avatar
    • Francis Dupont's avatar
      [283-perfdhcp-indicated-requests-rate-is-not-kept-during-testing] Fixed lib... · e2662b08
      Francis Dupont authored
      [283-perfdhcp-indicated-requests-rate-is-not-kept-during-testing] Fixed lib dhcp comments, removed unused iface control_buf_
    • Michal Nowikowski's avatar
      [#283,!135] Fixed request rate accuracy issue in perfdhcp introducing 2... · 552e8267
      Michal Nowikowski authored
      [#283,!135] Fixed request rate accuracy issue in perfdhcp introducing 2 threads (for sending and receiving).
      Delays in sending and receiving (e.g. timeout is select) was causing time slips so sending new packets was always late.
      The fix splits receiving into separate thread to not interfere with sending in main thread.
      RateController was changed. Now it tracks actual request rate estimating it from the beginning of the test.
      In every iteration of sending main loop it is checked if actual request rate is lower than expected.
      In such case packets are sent immediatelly. This way actual request rate is always accurate.
      The receiver thread receives packets from socket using select as before but do not have to worry about delaying sending.
      Read packet are parsed and then passed to main sending thread for further processing.
      This processing involves updating stats, matching with sent packets and issueing responses if necessary.
      There have been removed some features that do not make sense after introducing these changes.
      These includes: aggresivity and some custom statistics.