Class OfdpaMatchVlanVid
- java.lang.Object
-
- org.onosproject.net.flow.AbstractExtension
-
- org.onosproject.driver.extensions.OfdpaMatchVlanVid
-
- All Implemented Interfaces:
org.onosproject.net.flow.criteria.ExtensionSelector,org.onosproject.net.flow.Extension
- Direct Known Subclasses:
Ofdpa3MatchOvid
public class OfdpaMatchVlanVid extends org.onosproject.net.flow.AbstractExtension implements org.onosproject.net.flow.criteria.ExtensionSelectorOFDPA VLAN ID extension match.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOfdpaMatchVlanVid()OFDPA VLAN ID extension match.OfdpaMatchVlanVid(org.onlab.packet.VlanId vlanId)Constructs a new VLAN ID match with given VLAN ID.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeserialize(byte[] data)booleanequals(Object obj)inthashCode()byte[]serialize()StringtoString()org.onosproject.net.flow.criteria.ExtensionSelectorTypetype()org.onlab.packet.VlanIdvlanId()Gets the VLAN ID.-
Methods inherited from class org.onosproject.net.flow.AbstractExtension
getProperties, getPropertyValue, setPropertyValue
-
-
-
-
Method Detail
-
vlanId
public org.onlab.packet.VlanId vlanId()
Gets the VLAN ID.- Returns:
- VLAN ID
-
type
public org.onosproject.net.flow.criteria.ExtensionSelectorType type()
- Specified by:
typein interfaceorg.onosproject.net.flow.criteria.ExtensionSelector
-
deserialize
public void deserialize(byte[] data)
- Specified by:
deserializein interfaceorg.onosproject.net.flow.Extension
-
serialize
public byte[] serialize()
- Specified by:
serializein interfaceorg.onosproject.net.flow.Extension
-
-