Class L3ModificationInstruction
- java.lang.Object
-
- org.onosproject.net.flow.instructions.L3ModificationInstruction
-
- All Implemented Interfaces:
Instruction
- Direct Known Subclasses:
L3ModificationInstruction.ModArpEthInstruction,L3ModificationInstruction.ModArpIPInstruction,L3ModificationInstruction.ModArpOpInstruction,L3ModificationInstruction.ModDscpInstruction,L3ModificationInstruction.ModIPInstruction,L3ModificationInstruction.ModIPv6FlowLabelInstruction,L3ModificationInstruction.ModTtlInstruction
public abstract class L3ModificationInstruction extends java.lang.Object implements Instruction
Abstraction of a single traffic treatment step.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classL3ModificationInstruction.L3SubTypeRepresents the type of traffic treatment.static classL3ModificationInstruction.ModArpEthInstructionRepresents a L3 ARP Ether src/dst modification instruction.static classL3ModificationInstruction.ModArpIPInstructionRepresents a L3 ARP IP src/dst modification instruction.static classL3ModificationInstruction.ModArpOpInstructionRepresents a L3 ARP operation modification instruction.static classL3ModificationInstruction.ModDscpInstructionRepresents a L3 DSCP modification instruction.static classL3ModificationInstruction.ModIPInstructionRepresents a L3 src/dst modification instruction.static classL3ModificationInstruction.ModIPv6FlowLabelInstructionRepresents a L3 IPv6 Flow Label (RFC 6437) modification instruction (20 bits unsigned integer).static classL3ModificationInstruction.ModTtlInstructionRepresents a L3 TTL modification instruction.-
Nested classes/interfaces inherited from interface org.onosproject.net.flow.instructions.Instruction
Instruction.Type
-
-
Constructor Summary
Constructors Constructor Description L3ModificationInstruction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract L3ModificationInstruction.L3SubTypesubtype()Returns the subtype of the modification instruction.Instruction.Typetype()Returns the type of instruction.
-
-
-
Method Detail
-
subtype
public abstract L3ModificationInstruction.L3SubType subtype()
Returns the subtype of the modification instruction.- Returns:
- type of instruction
-
type
public final Instruction.Type type()
Description copied from interface:InstructionReturns the type of instruction.- Specified by:
typein interfaceInstruction- Returns:
- type of instruction
-
-