use of org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.augments.rev150225.RateQueuePropertyBuilder in project openflowplugin by opendaylight.
the class OF10QueueGetConfigReplyMessageFactoryTest method createPropertiesList.
private static List<QueueProperty> createPropertiesList() {
final List<QueueProperty> propertiesList = new ArrayList<>();
QueuePropertyBuilder pb = new QueuePropertyBuilder();
pb.setProperty(QueueProperties.forValue(1));
RateQueuePropertyBuilder rateBuilder = new RateQueuePropertyBuilder();
rateBuilder.setRate(5);
pb.addAugmentation(RateQueueProperty.class, rateBuilder.build());
propertiesList.add(pb.build());
return propertiesList;
}
Aggregations