Class NiciraTunGpeNp

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

    public class NiciraTunGpeNp
    extends org.onosproject.net.flow.AbstractExtension
    implements org.onosproject.net.flow.instructions.ExtensionTreatment
    Nicira tunnel gpe next protocol extension instruction to tunGpeNp value.
    • Constructor Detail

      • NiciraTunGpeNp

        public NiciraTunGpeNp​(byte tunGpeNp)
        Creates a new NiciraTunGpeNp instruction with given value.
        Parameters:
        tunGpeNp - tunnel gpe next protocol value
    • Method Detail

      • tunGpeNp

        public byte tunGpeNp()
        Gets the tunGpeNp.
        Returns:
        tunGpeNp
      • 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 Object