1. 07 Jun, 2018 1 commit
    • 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
  2. 06 Jun, 2018 1 commit
  3. 05 Jun, 2018 6 commits
  4. 04 Jun, 2018 5 commits
  5. 02 Jun, 2018 1 commit
  6. 01 Jun, 2018 9 commits
  7. 31 May, 2018 4 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
    • 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
  8. 30 May, 2018 9 commits
  9. 29 May, 2018 4 commits