Skip to content
  • Thomas Markwalder's avatar
    [#2344] MySql CB use conditional bindings for lifetime triplets · 5be06a0e
    Thomas Markwalder authored and Razvan Becheriu's avatar Razvan Becheriu committed
    src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.cc
        MySqlConfigBackendDHCPv4Impl::createUpdateClientClass4()
        - use createBinding() to conditionally create bindings
        for valid lifetime triplet
    
    src/hooks/dhcp/mysql_cb/mysql_cb_dhcp6.cc
        MySqlConfigBackendDHCPv6Impl::createUpdateClientClass6()
        - use createBinding() to conditionally create bindings
        for valid lifetime and preferred lifetime triplets
    
    src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc
        GenericConfigBackendDHCPv4Test::initTestClientClasses()
        - set class option defs to empty def collection to match the way
        we actually create them
    
        GenericConfigBackendDHCPv4Test::setAndGetAllClientClasses4Test()
        - test now compares fetched class content to source class content
    
    src/lib/dhcpsrv/testutils/generic_cb_dhcp6_unittest.cc
        GenericConfigBackendDHCPv6Test::SetUp() - set CfgMgr family
    
        GenericConfigBackendDHCPv6Test::initTestClientClasses()
        - set class option defs to empty def collection to match the way
        we actually create them, also set preferred lifetime triplet
    
        GenericConfigBackendDHCPv6Test::setAndGetAllClientClasses4Test()
        - test now compares fetched class content to source class content
    5be06a0e
To find the state of this project's repository at the time of any of these versions, check out the tags.