Class L3ModificationInstruction.ModIPv6FlowLabelInstruction
- java.lang.Object
-
- org.onosproject.net.flow.instructions.L3ModificationInstruction
-
- org.onosproject.net.flow.instructions.L3ModificationInstruction.ModIPv6FlowLabelInstruction
-
- All Implemented Interfaces:
Instruction
- Enclosing class:
- L3ModificationInstruction
public static final class L3ModificationInstruction.ModIPv6FlowLabelInstruction extends L3ModificationInstruction
Represents a L3 IPv6 Flow Label (RFC 6437) modification instruction (20 bits unsigned integer).
-
-
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 boolean
equals(java.lang.Object obj)
int
flowLabel()
Gets the IPv6 flow label to set in the treatment.int
hashCode()
L3ModificationInstruction.L3SubType
subtype()
Returns the subtype of the modification instruction.java.lang.String
toString()
-
Methods inherited from class org.onosproject.net.flow.instructions.L3ModificationInstruction
type
-
-
-
-
Method Detail
-
subtype
public L3ModificationInstruction.L3SubType subtype()
Description copied from class:L3ModificationInstruction
Returns the subtype of the modification instruction.- Specified by:
subtype
in classL3ModificationInstruction
- Returns:
- type of instruction
-
flowLabel
public int flowLabel()
Gets the IPv6 flow label to set in the treatment.- Returns:
- the IPv6 flow label to set in the treatment (20 bits)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-