public class NiciraSetNshSpi
extends org.onosproject.net.flow.AbstractExtension
implements org.onosproject.net.flow.instructions.ExtensionTreatment
| Constructor and Description |
|---|
NiciraSetNshSpi(org.onosproject.net.NshServicePathId nshSpi)
Creates a new set nsh spi instruction with given spi.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(byte[] data) |
boolean |
equals(Object obj) |
int |
hashCode() |
org.onosproject.net.NshServicePathId |
nshSpi()
Gets the nsh service path id.
|
byte[] |
serialize() |
String |
toString() |
org.onosproject.net.flow.instructions.ExtensionTreatmentType |
type() |
getProperties, getPropertyValue, setPropertyValuepublic NiciraSetNshSpi(org.onosproject.net.NshServicePathId nshSpi)
nshSpi - nsh service path idpublic org.onosproject.net.NshServicePathId nshSpi()
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