1. 13 Jun, 2018 2 commits
  2. 12 Jun, 2018 3 commits
  3. 11 Jun, 2018 2 commits
  4. 07 Jun, 2018 3 commits
    • Thomas Markwalder's avatar
      [5378] kea-dhcp4/6 now keep track of their configured global params · ef1c0b74
      Thomas Markwalder authored
      src/bin/dhcp4/json_config_parser.cc
          configureDhcp4Server() - added extract of configured globals
      
      src/bin/dhcp4/tests/get_config_unittest.cc
      src/bin/dhcp6/tests/get_config_unittest.cc
          Updated extracted and unparsed configs.
      
      src/bin/dhcp6/json_config_parser.cc
          configureDhcp6Server() - added extract of configured globals
      
      src/lib/dhcpsrv/srv_config.h
      src/lib/dhcpsrv/srv_config.cc
          Added storage and maintence of configured globals
          SrvConfig::toElement() - added configured globals to result
      
      src/lib/dhcpsrv/tests/srv_config_unittest.cc
          TEST_F(SrvConfigTest, configuredGlobals) - new test
      ef1c0b74
    • Tomek Mrugalski's avatar
      [5449] Removed explicit throws() in data.h · 4dfee545
      Tomek Mrugalski authored
       - dynamic exception specifications are deprecated in C++11
      4dfee545
    • Francis Dupont's avatar
      [5549a] Code, examples and doc updated · 116962dd
      Francis Dupont authored
      116962dd
  5. 05 Jun, 2018 2 commits
    • Thomas Markwalder's avatar
      [5599] Control channel now emits info on any discarded data · e47da044
      Thomas Markwalder authored
      doc/guide/ctrl-channel.xml
          Minor update to using socat
      
      src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc
      src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc
          Updated testing for server response to server
          side control channel timeouts
      
      src/lib/cc/json_feed.h
              JSONFeed::getProcessedText() - new method that
              returns a copy of the current accumulation of
              accepted text
      
      src/lib/config/config_messages.mes
      src/lib/config/command_mgr.cc
          Connection::receiveHandler() - added log info about
          discarded data when client closes connection
      
          Connection::timeoutHandler() - added info about discarded
          data to server's response to client on server side timeout
      e47da044
    • Marcin Siodelski's avatar
      [5638] Added commenary to simpleAlloc tests. · e8ed8fe0
      Marcin Siodelski authored
      As a result of review.
      e8ed8fe0
  6. 04 Jun, 2018 2 commits
  7. 01 Jun, 2018 2 commits
  8. 31 May, 2018 5 commits
    • Thomas Markwalder's avatar
      [5629] Cql lease and host now validate schema version · 868996c8
      Thomas Markwalder authored
      src/lib/dhcpsrv/cql_host_data_source.cc
          CqlHostDataSourceImpl::CqlHostDataSourceImpl() - added schema
          version validation
      
      src/lib/dhcpsrv/cql_lease_mgr.cc
          CqlLeaseMgr::CqlLeaseMgr() - added schema version validation
      868996c8
    • Francis Dupont's avatar
      [5449] Extra fixes · ba30f1b4
      Francis Dupont authored
      ba30f1b4
    • Thomas Markwalder's avatar
      [5629] MySQL and PostgreSQL host backends now verify schema version · 3a4e9893
      Thomas Markwalder authored
      src/lib/dhcpsrv/mysql_host_data_source.cc
          MySqlHostDataSourceImpl::getVersion() - new function to
          fetch version accessible to impl constructor
      
          MySqlHostDataSourceImpl() - added schema validation after
          connecting
      
          MySqlHostDataSource::getVersion() - new uses impl method
      
      src/lib/dhcpsrv/pgsql_host_data_source.cc
          PgSqlHostDataSourceImpl()) - added schema validation after
          connecting
      
          PgSqlHostDataSourceImpl::getVersion() - no longer uses
          pre-prepared statement
      3a4e9893
    • Thomas Markwalder's avatar
      [5629] PostgreSQL Lease back end now properly validates schema version · 28e33a3c
      Thomas Markwalder authored
      src/lib/dhcpsrv/pgsql_lease_mgr.cc
          PgSqlLeaseMgr::PgSqlLeaseMgr() - now validates schema version before
          preparing SQL statements
      
          PgSqlLeaseMgr::getVersion() - no longers uses pre-prepared statement
          or formal statement execution error checking
      28e33a3c
    • Thomas Markwalder's avatar
      [5629] MySQL Lease back end now validates schema after connecting · 7614eb8d
      Thomas Markwalder authored
      src/lib/dhcpsrv/mysql_lease_mgr.*
          MySqlLeaseMgr::MySqlLeaseMgr() - now validates schema
          after connecting
      
          MySqlLeaseMgr::getVersion()  - no longer relies on
          pre-prepared statement or formal statement execution
          error handling
      
      src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.cc
          LeaseMgrDbLostCallbackTest::testDbLostCallback() - replaced
          use of getVersion() with getLease4() for testing DB usability
      7614eb8d
  9. 30 May, 2018 2 commits
  10. 29 May, 2018 3 commits
  11. 28 May, 2018 2 commits
  12. 26 May, 2018 1 commit
  13. 25 May, 2018 2 commits
    • 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
    • Marcin Siodelski's avatar
      09dcfbca
  14. 24 May, 2018 3 commits
  15. 18 May, 2018 4 commits
  16. 17 May, 2018 1 commit
  17. 16 May, 2018 1 commit