public class OfdpaMatchVlanVid
extends org.onosproject.net.flow.AbstractExtension
implements org.onosproject.net.flow.criteria.ExtensionSelector
| Modifier | Constructor and Description |
|---|---|
protected |
OfdpaMatchVlanVid()
OFDPA VLAN ID extension match.
|
|
OfdpaMatchVlanVid(org.onlab.packet.VlanId vlanId)
Constructs a new VLAN ID match 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.criteria.ExtensionSelectorType |
type() |
org.onlab.packet.VlanId |
vlanId()
Gets the VLAN ID.
|
getProperties, getPropertyValue, setPropertyValueprotected OfdpaMatchVlanVid()
public OfdpaMatchVlanVid(org.onlab.packet.VlanId vlanId)
vlanId - VLAN IDpublic org.onlab.packet.VlanId vlanId()
public org.onosproject.net.flow.criteria.ExtensionSelectorType type()
type in interface org.onosproject.net.flow.criteria.ExtensionSelectorpublic void deserialize(byte[] data)
deserialize in interface org.onosproject.net.flow.Extensionpublic byte[] serialize()
serialize in interface org.onosproject.net.flow.Extension