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