public class NiciraEncapEthType
extends org.onosproject.net.flow.AbstractExtension
implements org.onosproject.net.flow.instructions.ExtensionTreatment
Constructor and Description |
---|
NiciraEncapEthType(short encapEthType)
Creates a new nshEncapEthType instruction with given eth type.
|
Modifier and Type | Method and Description |
---|---|
void |
deserialize(byte[] data) |
short |
encapEthType()
Gets the encapEthType.
|
boolean |
equals(Object obj) |
int |
hashCode() |
byte[] |
serialize() |
String |
toString() |
org.onosproject.net.flow.instructions.ExtensionTreatmentType |
type() |
getProperties, getPropertyValue, setPropertyValue
public NiciraEncapEthType(short encapEthType)
encapEthType
- encapsulated ethernet typepublic short encapEthType()
public org.onosproject.net.flow.instructions.ExtensionTreatmentType type()
type
in interface org.onosproject.net.flow.instructions.ExtensionTreatment
public void deserialize(byte[] data)
deserialize
in interface org.onosproject.net.flow.Extension
public byte[] serialize()
serialize
in interface org.onosproject.net.flow.Extension
Copyright © 2016. All rights reserved.