Class L3ModificationInstruction.ModIPInstruction
- java.lang.Object
-
- org.onosproject.net.flow.instructions.L3ModificationInstruction
-
- org.onosproject.net.flow.instructions.L3ModificationInstruction.ModIPInstruction
-
- All Implemented Interfaces:
Instruction
- Enclosing class:
- L3ModificationInstruction
public static final class L3ModificationInstruction.ModIPInstruction extends L3ModificationInstruction
Represents a L3 src/dst modification instruction.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.onosproject.net.flow.instructions.L3ModificationInstruction
L3ModificationInstruction.L3SubType, L3ModificationInstruction.ModArpEthInstruction, L3ModificationInstruction.ModArpIPInstruction, L3ModificationInstruction.ModArpOpInstruction, L3ModificationInstruction.ModDscpInstruction, L3ModificationInstruction.ModIPInstruction, L3ModificationInstruction.ModIPv6FlowLabelInstruction, L3ModificationInstruction.ModTtlInstruction
-
Nested classes/interfaces inherited from interface org.onosproject.net.flow.instructions.Instruction
Instruction.Type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()IpAddressip()L3ModificationInstruction.L3SubTypesubtype()Returns the subtype of the modification instruction.java.lang.StringtoString()-
Methods inherited from class org.onosproject.net.flow.instructions.L3ModificationInstruction
type
-
-
-
-
Method Detail
-
subtype
public L3ModificationInstruction.L3SubType subtype()
Description copied from class:L3ModificationInstructionReturns the subtype of the modification instruction.- Specified by:
subtypein classL3ModificationInstruction- Returns:
- type of instruction
-
ip
public IpAddress ip()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-