public class NiciraSetNshContextHeader
extends org.onosproject.net.flow.AbstractExtension
implements org.onosproject.net.flow.instructions.ExtensionTreatment
| Constructor and Description |
|---|
NiciraSetNshContextHeader(org.onosproject.net.NshContextHeader nshCh,
org.onosproject.net.flow.instructions.ExtensionTreatmentType type)
Creates a new set nsh context header instruction.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(byte[] data) |
boolean |
equals(Object obj) |
int |
hashCode() |
org.onosproject.net.NshContextHeader |
nshCh()
Gets the nsh context header.
|
byte[] |
serialize() |
String |
toString() |
org.onosproject.net.flow.instructions.ExtensionTreatmentType |
type() |
getProperties, getPropertyValue, setPropertyValuepublic NiciraSetNshContextHeader(org.onosproject.net.NshContextHeader nshCh,
org.onosproject.net.flow.instructions.ExtensionTreatmentType type)
nshCh - nsh context headertype - extension treatment typepublic org.onosproject.net.NshContextHeader nshCh()
public org.onosproject.net.flow.instructions.ExtensionTreatmentType type()
type in interface org.onosproject.net.flow.instructions.ExtensionTreatmentpublic void deserialize(byte[] data)
deserialize in interface org.onosproject.net.flow.Extensionpublic byte[] serialize()
serialize in interface org.onosproject.net.flow.Extension