Subnet6Ptr subnet4(new Subnet6(IOAddress("3000:1::"), 64, 10, 20, 30,
40, SubnetID(4)));
-
// Associate first two subnets with classes.
subnet1->allowClientClass("class1");
subnet2->allowClientClass("class1");
Subnet6Ptr subnet4(new Subnet6(IOAddress("3000:1::"), 64, 10, 20, 30,
40, SubnetID(4)));
-
// Associate first two subnets with classes.
subnet1->allowClientClass("class1");
subnet2->allowClientClass("class1");
EXPECT_EQ("network2", network->getName());
}
-
} // end of anonymous namespace
}
}
-
TEST(Subnet6Test, addVendorOption) {
// Create as subnet to add options to it.
EXPECT_TRUE(options->empty());
}
-
-
// This test verifies that inRange() and inPool() methods work properly.
TEST(Subnet6Test, inRangeinPool) {
Subnet6Ptr subnet(new Subnet6(IOAddress("2001:db8::"), 32, 1, 2, 3, 4));