public class Ofdpa3SetMplsL2Port
extends org.onosproject.net.flow.AbstractExtension
implements org.onosproject.net.flow.instructions.ExtensionTreatment
| Modifier | Constructor and Description |
|---|---|
protected |
Ofdpa3SetMplsL2Port()
Constructs a new set MPLS L2 Port instruction.
|
|
Ofdpa3SetMplsL2Port(Integer mplsl2port)
Constructs a new set MPLS L2 Port instruction with a given integer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(byte[] data) |
boolean |
equals(Object obj) |
int |
hashCode() |
int |
mplsL2Port()
Gets the MPLS L2 Port.
|
byte[] |
serialize() |
String |
toString() |
org.onosproject.net.flow.instructions.ExtensionTreatmentType |
type() |
getProperties, getPropertyValue, setPropertyValueprotected Ofdpa3SetMplsL2Port()
public Ofdpa3SetMplsL2Port(Integer mplsl2port)
mplsl2port - the MPLS L2 Portpublic int mplsL2Port()
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