Skip to content
  • Thomas Markwalder's avatar
    [4294] PostgreSQL now supports IPv6 lease stats recounting · efbf437f
    Thomas Markwalder authored
    src/lib/dhcpsrv/pgsql_lease_mgr.h
    src/lib/dhcpsrv/pgsql_lease_mgr.cc
        - Added TaggedStatement RECOUNT_LEASE6_STATS
        - PgSqlAddressStatsQuery6 - new class PgSql derivation of the IPv6
        statistical lease data query
        - PgSqlLeaseMgr::startAddressStatsQuery6() - new virtual method which
        creates and runs the IPv6 lease stats query
    
    src/lib/dhcpsrv/tests/pgsql_lease_mgr_unittest.cc
        TEST_F(PgSqlLeaseMgrTest, recountAddressStats6) - new test
    efbf437f