Class 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.ExtensionSelector
    OFDPA VLAN ID extension match.
    • Constructor Detail

      • OfdpaMatchVlanVid

        protected OfdpaMatchVlanVid()
        OFDPA VLAN ID extension match.
      • OfdpaMatchVlanVid

        public OfdpaMatchVlanVid​(org.onlab.packet.VlanId vlanId)
        Constructs a new VLAN ID match with given VLAN ID.
        Parameters:
        vlanId - VLAN ID
    • 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:
        type in interface org.onosproject.net.flow.criteria.ExtensionSelector
      • deserialize

        public void deserialize​(byte[] data)
        Specified by:
        deserialize in interface org.onosproject.net.flow.Extension
      • serialize

        public byte[] serialize()
        Specified by:
        serialize in interface org.onosproject.net.flow.Extension
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object