1. 13 Jun, 2018 1 commit
  2. 25 May, 2018 1 commit
    • Thomas Markwalder's avatar
      [5596] renew-timer and rebind-timer now optional for DHCPv4 · dec8d15f
      Thomas Markwalder authored
      v4 Parsing now allows renew/rebind timers to be unspecified,
      and kea-dhcp4 logic now matchs ISC DHCP:
      
      1. Send T2 only if it is specified and is less than lease lifetime
      2. Send T1 only if it is specified and is less than either T2
      if specified, or lease lifetime in the absence of T2
      
      doc/guide/dhcp4-srv.xml
          Updated discussion of rebind/renew-timers
      
      src/bin/dhcp4/dhcp4_srv.cc
          Dhcpv4Srv::assignLease() - modified to sanity check
          T1 and T2
      
      src/bin/dhcp4/tests/config_parser_unittest.cc
      src/bin/dhcp4/tests/get_config_unittest.cc
      src/bin/dhcp4/tests/simple_parser4_unittest.cc
      src/bin/dhcp6/tests/get_config_unittest.cc
      src/lib/dhcpsrv/tests/cfg_shared_networks4_unittest.cc
      src/lib/dhcpsrv/tests/cfg_shared_networks6_unittest.cc
          updated numerous tests
      
      src/lib/dhcpsrv/network.cc
          Network::toElement() - only outputs T1, T2, and
          valid lifetime if they are specified
      
      src/lib/dhcpsrv/network.h
          Network() - inits t1_, t2_, and valid_ to unspecified
          Triplet value
      
      src/lib/dhcpsrv/parsers/dhcp_parsers.cc
          Subnet4ConfigParser::initSubnet() - allow renew-timer and
          rebind-timer to be optional
      
      src/lib/dhcpsrv/parsers/simple_parser4.cc
          SimpleDefaults SimpleParser4::GLOBAL4_DEFAULTS - removed
          entries for renew-timer and rebind-timer
      dec8d15f
  3. 26 Apr, 2018 1 commit
  4. 10 Apr, 2018 1 commit
  5. 09 Apr, 2018 1 commit
  6. 06 Apr, 2018 2 commits
    • Thomas Markwalder's avatar
      [5556a] MySQL lease and host backends now support configurable auto-reconnect · f09bf17e
      Thomas Markwalder authored
          src/lib/dhcpsrv/mysql_connection.h
              MySqlConnection::checkError<>() - modified to invoke
              db lost callback
      
          src/lib/dhcpsrv/dhcpsrv_messages.mes
              Updated log messages
      
          src/lib/dhcpsrv/mysql_lease_mgr.cc
              MySqlLeaseMgr::getVersion() - updated to use checkError()
      
          src/lib/dhcpsrv/pgsql_connection.*
              PgSqlResult::PgSqlResult(PGresult *result) - now supports
              construction with null PGresult. This is to accomodate rare
              cases when PQ* statements can return NULL.
      
          src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.*
              class LeaseMgrDbLostCallbackTest - new test fixture for
              testing LeaseMgr DBLostCallback behavior
      
          src/lib/dhcpsrv/tests/host_mgr_unittest.cc
              class HostMgrDbLostCallbackTest
              class MySQLHostMgrDbLostCallbackTest
              class PostgreSQLHostMgrDbLostCallbackTest
              - new test fixtures for testing HostMgr DBLostCallback behavior
      
          src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc
              class MySQLLeaseMgrDbLostCallbackTest - new test fixture for
              testing MySQL LeaseMgr DBLostCallback behavior
      
          src/lib/dhcpsrv/tests/pgsql_lease_mgr_unittest.cc
              class PgSqlLeaseMgrDbLostCallbackTest - new test fixture for
              testing Postgresql LeaseMgr DBLostCallback behavior
      
          src/lib/dhcpsrv/tests/test_utils.*
              int findLastSocketFd() - new function used for finding what
              should be the fd of the SQL client socket
      
          doc/guide/dhcp4-srv.xml
          doc/guide/dhcp6-srv.xml
              Updated lease and host database parameter sections
      f09bf17e
    • Francis Dupont's avatar
  7. 05 Apr, 2018 1 commit
  8. 01 Apr, 2018 1 commit
  9. 14 Mar, 2018 1 commit
  10. 12 Mar, 2018 1 commit
  11. 19 Feb, 2018 1 commit
  12. 12 Feb, 2018 1 commit
  13. 07 Feb, 2018 1 commit
  14. 25 Jan, 2018 1 commit
  15. 19 Jan, 2018 1 commit
  16. 18 Jan, 2018 2 commits
  17. 17 Dec, 2017 1 commit
  18. 05 Dec, 2017 1 commit
  19. 29 Nov, 2017 1 commit
  20. 28 Nov, 2017 2 commits
  21. 27 Nov, 2017 1 commit
  22. 19 Nov, 2017 1 commit
  23. 03 Nov, 2017 1 commit
  24. 25 Oct, 2017 1 commit
  25. 24 Oct, 2017 1 commit
  26. 23 Oct, 2017 3 commits
  27. 22 Oct, 2017 1 commit
  28. 18 Oct, 2017 1 commit
  29. 17 Oct, 2017 7 commits