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 Object implements Instruction
Abstraction of a single traffic treatment step.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
L3ModificationInstruction.L3SubType
Represents the type of traffic treatment.static class
L3ModificationInstruction.ModArpEthInstruction
Represents a L3 ARP Ether src/dst modification instruction.static class
L3ModificationInstruction.ModArpIPInstruction
Represents a L3 ARP IP src/dst modification instruction.static class
L3ModificationInstruction.ModArpOpInstruction
Represents a L3 ARP operation modification instruction.static class
L3ModificationInstruction.ModDscpInstruction
Represents a L3 DSCP modification instruction.static class
L3ModificationInstruction.ModIPInstruction
Represents a L3 src/dst modification instruction.static class
L3ModificationInstruction.ModIPv6FlowLabelInstruction
Represents a L3 IPv6 Flow Label (RFC 6437) modification instruction (20 bits unsigned integer).static class
L3ModificationInstruction.ModTtlInstruction
Represents 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.L3SubType
subtype()
Returns the subtype of the modification instruction.Instruction.Type
type()
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:Instruction
Returns the type of instruction.- Specified by:
type
in interfaceInstruction
- Returns:
- type of instruction
-
-