1. 19 Mar, 2020 1 commit
    • Marcin Siodelski's avatar
      [#1155] Backported #1139 from master · 01d583f6
      Marcin Siodelski authored
      This is an enhancement to client classification in DHCPv4
      and DHCPv6 servers. The client classes spefified in the
      host database are taken into account in evaluation of the
      client classes specified within the configuration files.
      This works both for the global reservations and for the
      non-global reservations when the selected subnet belongs
      to a shared network. It can be used to influence subnet
      selection within a shared network using host reservations
      or pool selection within a subnet that doesn't necessarily
      belong to a shared network.
      01d583f6
  2. 21 Feb, 2020 1 commit
  3. 19 Feb, 2020 1 commit
  4. 12 Feb, 2020 2 commits
  5. 11 Feb, 2020 3 commits
    • Thomas Markwalder's avatar
      [#1110] Reset sbu-component trackers during CB data fetches · 31ef2b60
      Thomas Markwalder authored
      Backports #1093 to v1_6_0
      
      modified:
          ChangeLog
          src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.cc
          src/hooks/dhcp/mysql_cb/mysql_cb_dhcp6.cc
          src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc
          src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp6_unittest.cc
      31ef2b60
    • Thomas Markwalder's avatar
      [#1112] Include client-supplied ciaddr in dhcpinform ack · cdb2e072
      Thomas Markwalder authored
      Backport #992 changes to v1_6_0
      
      Changes:
          ChangeLog
          src/bin/dhcp4/dhcp4_srv.cc
          src/bin/dhcp4/tests/inform_unittest.cc
      cdb2e072
    • Thomas Markwalder's avatar
      [#1114] Servers execute shutdown on unrecoverable DBs · 675f6d3e
      Thomas Markwalder authored
          Backprot #1108 changes to v1_6_0.
      
      Added ChangeLog entry
      
      src/bin/dhcp4/ctrl_dhcp4_srv.*
          ControlledDhcpv4Srv::dbLostCallback() - schedules a shutdown
          once retries have been exhausted/disableld
      
      src/bin/dhcp6/ctrl_dhcp6_srv.*
          ControlledDhcpv6Srv::dbLostCallback() - schedules a shutdown
          once retries have been exhausted/disableld
      
      src/lib/database/database_connection.h
          class DbUnrecoverableError - new exception
      
      src/lib/mysql/mysql_connection.h
          MySqlConnection::check_error() - throws DbUnrecoverableError
          instead of calling exit()
      
      src/lib/pgsql/pgsql_connection.*
          PgSqlConnection::checkStatementError() - throws DbUnrecoverableError
          instead of calling exit()
      675f6d3e
  6. 10 Feb, 2020 1 commit
  7. 04 Feb, 2020 1 commit
  8. 19 Nov, 2019 1 commit
    • Thomas Markwalder's avatar
      [#1019] Bumped lib versions for 1.6.1 · ebea6be7
      Thomas Markwalder authored
      Both libs should have bumped by current, but to avoid
      collisions with master libs, they bumped only revision.
      
      src/lib/dhcp/Makefile.am -> 13:2:0
      src/lib/http/Makefile.am -> 6:2:0
      ebea6be7
  9. 18 Nov, 2019 2 commits
  10. 12 Nov, 2019 5 commits
    • Thomas Markwalder's avatar
      [#900,!587] Addressed review comments · 29b104ea
      Thomas Markwalder authored
      src/lib/testutils/Makefile.am
          Added gtest_utils.h
      29b104ea
    • Thomas Markwalder's avatar
      [#900,!587] Added ChangeLog entry · 2b0eef57
      Thomas Markwalder authored
      2b0eef57
    • Thomas Markwalder's avatar
      [#900,!561] Addressed review comments · a9b0930c
      Thomas Markwalder authored
      Cherry picked master c75a7c10
      
      src/lib/dhcp/libdhcp++.cc
          Cleaned up necessary exception decls
      
      src/lib/dhcp/option.h
          Added commentary for SkipThisOptionError
      
      src/lib/dhcp/option_definition.cc
          Cleaned up unnecessary exception decls
      
      src/lib/dhcp/option_string.cc
          Replaced NULL with nul
      
      src/lib/testutils/gtest_utils.h
          Added emissions of exception type name
      a9b0930c
    • Thomas Markwalder's avatar
      [#900,!561] kea-dhcp4/6 now quietly drop empty or all-null string options · 88167106
      Thomas Markwalder authored
      Cherry picked from master a917e4ae
      
      src/lib/dhcp/option.h
          class SkipThisOptionError - new exception type
      
      src/lib/dhcp/libdhcp++.cc
          LibDHCP::unpackOptions4()
          LibDHCP::unpackOptions6() - explicitly catches and handles
          SkipThisOptionError expceptions
      
      src/lib/dhcp/option_definition.cc
          OptionDefinition::optionFactory() - now rethrows SkipThisOptionError
      
      src/lib/dhcp/option_int.h
          OptionInt::unpack() - altered ambiguous exception text
      
      src/lib/dhcp/option_int_array.h
          OptionIntArray::unpack() - altered ambiguous exception text
      
      src/lib/dhcp/option_string.cc
          OptionString::unpack() - now throws SkipThisOptionError if option, once
          trimmed, is empty
      
      src/lib/dhcp/tests/option_string_unittest.cc
          Updated tests
      
      src/lib/dhcp/tests/pkt4_unittest.cc
          TEST_F(Pkt4Test, testSkipThisOptionError) - new test
      
      src/lib/dhcp/tests/pkt6_unittest.cc
          TEST_F(Pkt6Test, testSkipThisOptionError) - new test
      
      src/lib/dhcpsrv/tests/cfg_option_unittest.cc
          Updated expected exception text
      
      src/lib/testutils/gtest_utils.h
          Added two macros to emit exception info on throws.
          #define EXPECT_NO_THROW_LOG(statement)
          #define ASSERT_NO_THROW_LOG(statement)
      88167106
    • Thomas Markwalder's avatar
      [#964] Addressed review comments · ab957169
      Thomas Markwalder authored
          Fixed typo in ChangeLog.
      ab957169
  11. 06 Nov, 2019 1 commit
  12. 29 Aug, 2019 1 commit
  13. 26 Aug, 2019 13 commits
  14. 24 Aug, 2019 1 commit
  15. 23 Aug, 2019 2 commits
  16. 22 Aug, 2019 3 commits
  17. 21 Aug, 2019 1 commit