use of org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.multipart.request.multipart.request.body.MultipartRequestGroupCase in project openflowplugin by opendaylight.
the class MultipartRequestInputMessageFactory method setGroup.
private MultipartRequestGroupCase setGroup(ByteBuf input) {
MultipartRequestGroupCaseBuilder caseBuilder = new MultipartRequestGroupCaseBuilder();
MultipartRequestGroupBuilder groupBuilder = new MultipartRequestGroupBuilder();
groupBuilder.setGroupId(new GroupId(input.readUnsignedInt()));
caseBuilder.setMultipartRequestGroup(groupBuilder.build());
return caseBuilder.build();
}
use of org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.multipart.request.multipart.request.body.MultipartRequestGroupCase in project openflowplugin by opendaylight.
the class MultipartRequestGroupInputMessageFactoryTest method createRequestGroup.
private static MultipartRequestGroupCase createRequestGroup() {
MultipartRequestGroupCaseBuilder caseBuilder = new MultipartRequestGroupCaseBuilder();
MultipartRequestGroupBuilder builder = new MultipartRequestGroupBuilder();
builder.setGroupId(new GroupId(2258L));
caseBuilder.setMultipartRequestGroup(builder.build());
return caseBuilder.build();
}
Aggregations