Class NiciraEncapEthType
- java.lang.Object
-
- org.onosproject.net.flow.AbstractExtension
-
- org.onosproject.driver.extensions.NiciraEncapEthType
-
- All Implemented Interfaces:
org.onosproject.net.flow.Extension,org.onosproject.net.flow.instructions.ExtensionTreatment
public class NiciraEncapEthType extends org.onosproject.net.flow.AbstractExtension implements org.onosproject.net.flow.instructions.ExtensionTreatmentNicira EncapEthType extension instruction to set encapsulated eth type.
-
-
Constructor Summary
Constructors Constructor Description NiciraEncapEthType(short encapEthType)Creates a new nshEncapEthType instruction with given eth type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeserialize(byte[] data)shortencapEthType()Gets the encapEthType.booleanequals(Object obj)inthashCode()byte[]serialize()StringtoString()org.onosproject.net.flow.instructions.ExtensionTreatmentTypetype()-
Methods inherited from class org.onosproject.net.flow.AbstractExtension
getProperties, getPropertyValue, setPropertyValue
-
-
-
-
Method Detail
-
encapEthType
public short encapEthType()
Gets the encapEthType.- Returns:
- encapEthType
-
type
public org.onosproject.net.flow.instructions.ExtensionTreatmentType type()
- Specified by:
typein interfaceorg.onosproject.net.flow.instructions.ExtensionTreatment
-
deserialize
public void deserialize(byte[] data)
- Specified by:
deserializein interfaceorg.onosproject.net.flow.Extension
-
serialize
public byte[] serialize()
- Specified by:
serializein interfaceorg.onosproject.net.flow.Extension
-
-