Package org.onosproject.net.behaviour
Class TunnelKey<T>
- java.lang.Object
- 
- org.onosproject.net.behaviour.TunnelKey<T>
 
- 
 public final class TunnelKey<T> extends java.lang.ObjectRepresent for a tunnel key. The tunnel accepts packets with the tunnel key. A positive 24-bit (for Geneve, VXLAN, and LISP), 32-bit (for GRE) or 64-bit (for GRE64) number value is used for example. Open vSwitch allows "flow" as the key to set this value with matching in the flow table.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()java.lang.StringstrValue()Returns the value as a string.Tvalue()Returns the value.
 
- 
- 
- 
Constructor Detail- 
TunnelKeypublic TunnelKey(T value) Default constructor.- Parameters:
- value- value of the tunnel key
 
 
- 
 - 
Method Detail- 
valuepublic T value() Returns the value.- Returns:
- tunnel key value
 
 - 
strValuepublic java.lang.String strValue() Returns the value as a string.- Returns:
- string value
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 
- 
 
-