package org.opendaylight.openflowjava.protocol.impl.serialization.instruction;
import io.netty.buffer.ByteBuf;
-
import java.util.List;
-
import org.opendaylight.openflowjava.protocol.api.extensibility.SerializerRegistry;
import org.opendaylight.openflowjava.protocol.api.extensibility.SerializerRegistryInjector;
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev150203.actions.grouping.Action;
/**
- * @author michal.polkorab
+ * Base class for an action instruction serializer.
*
+ * @author michal.polkorab
*/
public abstract class AbstractActionInstructionSerializer extends AbstractInstructionSerializer
implements SerializerRegistryInjector {
private SerializerRegistry registry;
protected void writeActions(final List<Action> actions, final ByteBuf outBuffer, int startIndex) {
- int lengthIndex = outBuffer.writerIndex();
+ final int lengthIndex = outBuffer.writerIndex();
outBuffer.writeShort(EncodeConstants.EMPTY_LENGTH);
outBuffer.writeZero(InstructionConstants.PADDING_IN_ACTIONS_INSTRUCTION);
ListSerializer.serializeList(actions, ACTION_KEY_MAKER, getRegistry(), outBuffer);
package org.opendaylight.openflowjava.protocol.impl.serialization.instruction;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.extensibility.HeaderSerializer;
import org.opendaylight.openflowjava.protocol.api.extensibility.OFSerializer;
import org.opendaylight.openflowjava.protocol.impl.util.InstructionConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.instructions.grouping.Instruction;
/**
- * @author michal.polkorab
+ * Base class for an instruction serializer.
*
+ * @author michal.polkorab
*/
public abstract class AbstractInstructionSerializer implements OFSerializer<Instruction>,
HeaderSerializer<Instruction> {
}
/**
- * @return numeric representation of action type
+ * Returns the numeric representation of action type.
*/
protected abstract int getType();
package org.opendaylight.openflowjava.protocol.impl.serialization.instruction;
import io.netty.buffer.ByteBuf;
-
import java.util.List;
-
import org.opendaylight.openflowjava.protocol.impl.util.InstructionConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev150203.actions.grouping.Action;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.instruction.grouping.instruction.choice.ApplyActionsCase;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.instructions.grouping.Instruction;
/**
- * @author michal.polkorab
+ * ApplyActions instruction serializer.
*
+ * @author michal.polkorab
*/
public class ApplyActionsInstructionSerializer extends AbstractActionInstructionSerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.instruction;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.impl.util.InstructionConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.instructions.grouping.Instruction;
/**
- * @author michal.polkorab
+ * ClearActions instruction serializer.
*
+ * @author michal.polkorab
*/
public class ClearActionsInstructionSerializer extends AbstractInstructionSerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.instruction;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.impl.util.InstructionConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.instruction.grouping.instruction.choice.GotoTableCase;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.instructions.grouping.Instruction;
/**
- * @author michal.polkorab
+ * GotoTable instruction serializer.
*
+ * @author michal.polkorab
*/
public class GoToTableInstructionSerializer extends AbstractInstructionSerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.instruction;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.impl.util.InstructionConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.instruction.grouping.instruction.choice.MeterCase;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.instructions.grouping.Instruction;
/**
- * @author michal.polkorab
+ * Meter instruction serializer.
*
+ * @author michal.polkorab
*/
public class MeterInstructionSerializer extends AbstractInstructionSerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.instruction;
import io.netty.buffer.ByteBuf;
-
import java.util.List;
-
import org.opendaylight.openflowjava.protocol.impl.util.InstructionConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev150203.actions.grouping.Action;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.instruction.grouping.instruction.choice.WriteActionsCase;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.instructions.grouping.Instruction;
/**
- * @author michal.polkorab
+ * WriteActions instruction serializer.
*
+ * @author michal.polkorab
*/
public class WriteActionsInstructionSerializer extends AbstractActionInstructionSerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.instruction;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.impl.util.InstructionConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.instruction.grouping.instruction.choice.WriteMetadataCase;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.instruction.grouping.instruction.choice.write.metadata._case.WriteMetadata;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.instructions.grouping.Instruction;
/**
- * @author michal.polkorab
+ * WriteMetadata instruction serializer.
*
+ * @author michal.polkorab
*/
public class WriteMetadataInstructionSerializer extends AbstractInstructionSerializer {
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address;
/**
- * Parent for Ipv4 address based match entry serializers
+ * Parent for Ipv4 address based match entry serializers.
+ *
* @author michal.polkorab
*/
public abstract class AbstractOxmIpv4AddressSerializer extends AbstractOxmMatchEntrySerializer {
/**
+ * Deprecated.
+ *
* @deprecated Use {@link #writeIpv4Address(Ipv4Address, ByteBuf)} instead.
*/
@Deprecated
import io.netty.buffer.ByteBuf;
/**
- * Parent for Ipv6 address based match entry serializers
+ * Parent for Ipv6 address based match entry serializers.
+ *
* @author michal.polkorab
*/
public abstract class AbstractOxmIpv6AddressSerializer extends AbstractOxmMatchEntrySerializer {
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress;
/**
- * Parent for MAC address based match entry serializers
+ * Parent for MAC address based match entry serializers.
+ *
* @author michal.polkorab
*/
public abstract class AbstractOxmMacAddressSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.extensibility.HeaderSerializer;
import org.opendaylight.openflowjava.protocol.api.extensibility.OFSerializer;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
/**
- * Parent for all match entry serializers
+ * Parent for all match entry serializers.
+ *
* @author michal.polkorab
*/
public abstract class AbstractOxmMatchEntrySerializer
- implements OFSerializer<MatchEntry>, HeaderSerializer<MatchEntry>{
+ implements OFSerializer<MatchEntry>, HeaderSerializer<MatchEntry> {
@Override
public void serialize(MatchEntry entry, ByteBuf outBuffer) {
protected static void writeMask(byte[] mask, ByteBuf out, int length) {
if (mask != null && mask.length != length) {
- throw new IllegalArgumentException("incorrect length of mask: "+
- mask.length + ", expected: " + length);
+ throw new IllegalArgumentException("incorrect length of mask: "
+ + mask.length + ", expected: " + length);
}
out.writeBytes(mask);
}
}
/**
- * @return numeric representation of oxm_field
+ * Returns the numeric representation of oxm_field.
*/
protected abstract int getOxmFieldCode();
/**
- * @return numeric representation of oxm_class
+ * Returns the numeric representation of oxm_class.
*/
protected abstract int getOxmClassCode();
/**
- * @return match entry value length (without mask length)
+ * Returns the match entry value length (without mask length).
*/
protected abstract int getValueLength();
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.ArpOpCase;
/**
- * @author michal.polkorab
+ * OxmArpOp match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmArpOpSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.ArpShaCase;
/**
- * @author michal.polkorab
+ * OxmArpSha match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmArpShaSerializer extends AbstractOxmMacAddressSerializer {
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.ArpSpaCase;
/**
- * @author michal.polkorab
+ * OxmArpSpa match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmArpSpaSerializer extends AbstractOxmIpv4AddressSerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.ArpThaCase;
/**
- * @author michal.polkorab
+ * OxmArpTha match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmArpThaSerializer extends AbstractOxmMacAddressSerializer {
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.ArpTpaCase;
/**
- * @author michal.polkorab
+ * OxmArpTpa match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmArpTpaSerializer extends AbstractOxmIpv4AddressSerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.EthDstCase;
/**
- * @author michal.polkorab
+ * OxmEthDst match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmEthDstSerializer extends AbstractOxmMacAddressSerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.EthSrcCase;
/**
- * @author michal.polkorab
+ * OxmEthSrc match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmEthSrcSerializer extends AbstractOxmMacAddressSerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.EthTypeCase;
/**
- * @author michal.polkorab
+ * OxmEthType match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmEthTypeSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.Icmpv4CodeCase;
/**
- * @author michal.polkorab
+ * OxmIcmpv4Code match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmIcmpv4CodeSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.Icmpv4TypeCase;
/**
- * @author michal.polkorab
+ * OxmIcmpv4Type match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmIcmpv4TypeSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.Icmpv6CodeCase;
/**
- * @author michal.polkorab
+ * OxmIcmpv6Code match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmIcmpv6CodeSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.Icmpv6TypeCase;
/**
- * @author michal.polkorab
+ * OxmIcmpv6Type match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmIcmpv6TypeSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.InPhyPortCase;
/**
- * @author michal.polkorab
+ * OxmInPhyPort match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmInPhyPortSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.InPortCase;
/**
- * @author michal.polkorab
+ * OxmInPort match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmInPortSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.IpDscpCase;
/**
- * @author michal.polkorab
+ * OxmIpDscp match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmIpDscpSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.IpEcnCase;
/**
- * @author michal.polkorab
+ * OxmIpEcn match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmIpEcnSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.IpProtoCase;
/**
- * @author michal.polkorab
+ * OxmIpProto match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmIpProtoSerializer extends AbstractOxmMatchEntrySerializer {
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.Ipv4DstCase;
/**
- * @author michal.polkorab
+ * OxmIpv4Dst match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmIpv4DstSerializer extends AbstractOxmIpv4AddressSerializer {
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.Ipv4SrcCase;
/**
- * @author michal.polkorab
+ * OxmIpv4Src match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmIpv4SrcSerializer extends AbstractOxmIpv4AddressSerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.Ipv6DstCase;
/**
- * @author michal.polkorab
+ * OxmIpv6Dst match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmIpv6DstSerializer extends AbstractOxmIpv6AddressSerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.openflowjava.util.ByteBufUtils;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.Ipv6ExthdrCase;
/**
- * @author michal.polkorab
+ * OxmIpv6Ext match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmIpv6ExtHdrSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.Ipv6FlabelCase;
/**
- * @author michal.polkorab
+ * OxmIpv6FLabel match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmIpv6FlabelSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.Ipv6NdSllCase;
/**
- * @author michal.polkorab
+ * OxmIpv6NdSll match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmIpv6NdSllSerializer extends AbstractOxmMacAddressSerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.Ipv6NdTargetCase;
/**
- * @author michal.polkorab
+ * OxmIpv6Nd match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmIpv6NdTargetSerializer extends AbstractOxmIpv6AddressSerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.Ipv6NdTllCase;
/**
- * @author michal.polkorab
+ * OxmIpv6NdTll match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmIpv6NdTllSerializer extends AbstractOxmMacAddressSerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.Ipv6SrcCase;
/**
- * @author michal.polkorab
+ * OxmIpv6Src match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmIpv6SrcSerializer extends AbstractOxmIpv6AddressSerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.MetadataCase;
/**
- * @author michal.polkorab
+ * OxmMetadata match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmMetadataSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.MplsBosCase;
/**
- * @author michal.polkorab
+ * OxmMplsBos match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmMplsBosSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.MplsLabelCase;
/**
- * @author michal.polkorab
+ * OxmMplsLabel match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmMplsLabelSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.MplsTcCase;
/**
- * @author michal.polkorab
+ * OxmMplsTc match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmMplsTcSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.PbbIsidCase;
/**
- * @author michal.polkorab
+ * OxmPbbIsid match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmPbbIsidSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.SctpDstCase;
/**
- * @author michal.polkorab
+ * OxmSctpDst match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmSctpDstSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.SctpSrcCase;
/**
- * @author michal.polkorab
+ * OxmSctpSrc match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmSctpSrcSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.TcpDstCase;
/**
- * @author michal.polkorab
+ * OxmTcpDst match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmTcpDstSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.TcpSrcCase;
/**
- * @author michal.polkorab
+ * OxmTcpSrc match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmTcpSrcSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.TunnelIdCase;
/**
- * @author michal.polkorab
+ * OxmTunnelId match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmTunnelIdSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.UdpDstCase;
/**
- * @author michal.polkorab
+ * OxmUdpDst match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmUdpDstSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.UdpSrcCase;
/**
- * @author michal.polkorab
+ * OxmUdpSrc match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmUdpSrcSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.VlanPcpCase;
/**
- * @author michal.polkorab
+ * OxmVlanPcp match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmVlanPcpSerializer extends AbstractOxmMatchEntrySerializer {
package org.opendaylight.openflowjava.protocol.impl.serialization.match;
import io.netty.buffer.ByteBuf;
-
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.vlan.vid._case.VlanVid;
/**
- * @author michal.polkorab
+ * OxmVlanVid match entry serializer.
*
+ * @author michal.polkorab
*/
public class OxmVlanVidSerializer extends AbstractOxmMatchEntrySerializer {