Class NiciraNshMdType

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

    public class NiciraNshMdType
    extends org.onosproject.net.flow.AbstractExtension
    implements org.onosproject.net.flow.instructions.ExtensionTreatment
    Nicira nshMdType extension instruction.
    • Constructor Detail

      • NiciraNshMdType

        public NiciraNshMdType​(byte nshMdType)
        Creates a new nshMdType instruction with given nsh md type.
        Parameters:
        nshMdType - nsh md type
    • Method Detail

      • nshMdType

        public byte nshMdType()
        Gets the nsh md type.
        Returns:
        nshMdType
      • 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