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, setPropertyValue
public 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.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.