Searched refs:client_resrv (Results 1 – 2 of 2) sorted by relevance
481 Dhcp4Client client_resrv(Dhcp4Client::SELECTING); in testGlobalClassSubnetPoolSelection() local485 client_resrv.setHWAddress("aa:bb:cc:dd:ee:fe"); in testGlobalClassSubnetPoolSelection()486 client_resrv.setIfaceName("eth0"); in testGlobalClassSubnetPoolSelection()487 client_resrv.setIfaceIndex(ETH0_INDEX); in testGlobalClassSubnetPoolSelection()489 ASSERT_NO_FATAL_FAILURE(configure(CONFIGS[config_idx], *client_resrv.getServer())); in testGlobalClassSubnetPoolSelection()495 ASSERT_NO_THROW(client_resrv.doDORA(boost::make_shared<IOAddress>(second_address))); in testGlobalClassSubnetPoolSelection()496 ASSERT_TRUE(client_resrv.getContext().response_); in testGlobalClassSubnetPoolSelection()497 auto resp = client_resrv.getContext().response_; in testGlobalClassSubnetPoolSelection()504 Dhcp4Client client_no_resrv(client_resrv.getServer(), Dhcp4Client::SELECTING); in testGlobalClassSubnetPoolSelection()
1410 Dhcp6Client client_resrv; in testGlobalClassSubnetPoolSelection() local1413 client_resrv.setDUID("01:02:03:05"); in testGlobalClassSubnetPoolSelection()1415 ASSERT_NO_FATAL_FAILURE(configure(CONFIGS[config_idx], *client_resrv.getServer())); in testGlobalClassSubnetPoolSelection()1421 client_resrv.requestAddress(1, IOAddress(second_address)); in testGlobalClassSubnetPoolSelection()1422 ASSERT_NO_THROW(client_resrv.doSARR()); in testGlobalClassSubnetPoolSelection()1423 ASSERT_EQ(1, client_resrv.getLeaseNum()); in testGlobalClassSubnetPoolSelection()1424 Lease6 lease_client = client_resrv.getLease(0); in testGlobalClassSubnetPoolSelection()1430 Dhcp6Client client_no_resrv(client_resrv.getServer()); in testGlobalClassSubnetPoolSelection()