use of org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntryBuilder in project openflowplugin by opendaylight.
the class OxmIcmpv4TypeDeserializer method addIcmpv4TypeValue.
private static void addIcmpv4TypeValue(ByteBuf input, MatchEntryBuilder builder) {
Icmpv4TypeCaseBuilder caseBuilder = new Icmpv4TypeCaseBuilder();
Icmpv4TypeBuilder icmpBuilder = new Icmpv4TypeBuilder();
icmpBuilder.setIcmpv4Type(input.readUnsignedByte());
caseBuilder.setIcmpv4Type(icmpBuilder.build());
builder.setMatchEntryValue(caseBuilder.build());
}
use of org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntryBuilder in project openflowplugin by opendaylight.
the class OxmInPortDeserializer method addInPortValue.
private static void addInPortValue(ByteBuf input, MatchEntryBuilder builder) {
InPortCaseBuilder caseBuilder = new InPortCaseBuilder();
InPortBuilder inPortBuilder = new InPortBuilder();
inPortBuilder.setPortNumber(new PortNumber(input.readUnsignedInt()));
caseBuilder.setInPort(inPortBuilder.build());
builder.setMatchEntryValue(caseBuilder.build());
}
use of org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntryBuilder in project openflowplugin by opendaylight.
the class OxmIpEcnDeserializer method addIpEcnValue.
private static void addIpEcnValue(ByteBuf input, MatchEntryBuilder builder) {
IpEcnCaseBuilder caseBuilder = new IpEcnCaseBuilder();
IpEcnBuilder ecnBuilder = new IpEcnBuilder();
ecnBuilder.setEcn(input.readUnsignedByte());
caseBuilder.setIpEcn(ecnBuilder.build());
builder.setMatchEntryValue(caseBuilder.build());
}
use of org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntryBuilder in project openflowplugin by opendaylight.
the class OxmIpv6DstDeserializer method deserialize.
@Override
public MatchEntry deserialize(final ByteBuf input) {
MatchEntryBuilder builder = processHeader(getOxmClass(), getOxmField(), input);
addIpv6DstValue(input, builder);
return builder.build();
}
use of org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntryBuilder in project openflowplugin by opendaylight.
the class OxmIpv6FlabelDeserializer method deserialize.
@Override
public MatchEntry deserialize(ByteBuf input) {
MatchEntryBuilder builder = processHeader(getOxmClass(), getOxmField(), input);
addIpv6FlabelValue(input, builder);
return builder.build();
}
Aggregations