Class OfdpaSetAllowVlanTranslation

  • All Implemented Interfaces:
    org.onosproject.net.flow.Extension, org.onosproject.net.flow.instructions.ExtensionTreatment

    public class OfdpaSetAllowVlanTranslation
    extends org.onosproject.net.flow.AbstractExtension
    implements org.onosproject.net.flow.instructions.ExtensionTreatment
    OFDPA set Allow Vlan Translation extension instruction.
    • Constructor Detail

      • OfdpaSetAllowVlanTranslation

        protected OfdpaSetAllowVlanTranslation()
      • OfdpaSetAllowVlanTranslation

        public OfdpaSetAllowVlanTranslation​(byte allow)
    • Method Detail

      • getVlanTranslation

        public byte getVlanTranslation()
      • type

        public org.onosproject.net.flow.instructions.ExtensionTreatmentType type()
        Specified by:
        type in interface org.onosproject.net.flow.instructions.ExtensionTreatment
      • 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 java.lang.Object
      • equals

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object