public class OfdpaSetVlanVid
extends org.onosproject.net.flow.AbstractExtension
implements org.onosproject.net.flow.instructions.ExtensionTreatment
| Modifier | Constructor and Description |
|---|---|
protected |
OfdpaSetVlanVid()
Constructs a new set VLAN ID instruction.
|
|
OfdpaSetVlanVid(org.onlab.packet.VlanId vlanId)
Constructs a new set VLAN ID instruction with given VLAN ID.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(byte[] data) |
boolean |
equals(Object obj) |
int |
hashCode() |
byte[] |
serialize() |
String |
toString() |
org.onosproject.net.flow.instructions.ExtensionTreatmentType |
type() |
org.onlab.packet.VlanId |
vlanId()
Gets the VLAN ID.
|
getProperties, getPropertyValue, setPropertyValueprotected OfdpaSetVlanVid()
public OfdpaSetVlanVid(org.onlab.packet.VlanId vlanId)
vlanId - VLAN IDpublic org.onlab.packet.VlanId vlanId()
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