Class OfdpaMatchAllowVlanTranslation

  • All Implemented Interfaces:
    org.onosproject.net.flow.criteria.ExtensionSelector, org.onosproject.net.flow.Extension

    public class OfdpaMatchAllowVlanTranslation
    extends org.onosproject.net.flow.AbstractExtension
    implements org.onosproject.net.flow.criteria.ExtensionSelector
    OFDPA ALLOW_VLAN_TRANSLATION extension match.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Short allowVlanTranslation()
      Gets allow vlan translation flag.
      void deserialize​(byte[] data)  
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      byte[] serialize()  
      org.onosproject.net.flow.criteria.ExtensionSelectorType type()  
      • Methods inherited from class org.onosproject.net.flow.AbstractExtension

        getProperties, getPropertyValue, setPropertyValue
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.onosproject.net.flow.Extension

        getProperties, getPropertyValue, setPropertyValue
    • Constructor Detail

      • OfdpaMatchAllowVlanTranslation

        public OfdpaMatchAllowVlanTranslation()
        OFDPA ALLOW_VLAN_TRANSLATION extension match.
      • OfdpaMatchAllowVlanTranslation

        public OfdpaMatchAllowVlanTranslation​(java.lang.Short allowVlanTranslation)
        Constructs new ALLOW_VLAN_TRANSLATION match with given boolean data.
        Parameters:
        allowVlanTranslation - allows vlan translation
    • Method Detail

      • allowVlanTranslation

        public java.lang.Short allowVlanTranslation()
        Gets allow vlan translation flag.
        Returns:
        allowVlanTranslation field
      • type

        public org.onosproject.net.flow.criteria.ExtensionSelectorType type()
        Specified by:
        type in interface org.onosproject.net.flow.criteria.ExtensionSelector
      • serialize

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

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

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object