Class NiciraEncapEthDst

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

    public class NiciraEncapEthDst
    extends org.onosproject.net.flow.AbstractExtension
    implements org.onosproject.net.flow.instructions.ExtensionTreatment
    Nicira EncapEthDst extension instruction to set encapsulated eth destination.
    • Constructor Summary

      Constructors 
      Constructor Description
      NiciraEncapEthDst​(org.onlab.packet.MacAddress encapEthDst)
      Creates a new encapEthDst instruction with given mac address.
    • Constructor Detail

      • NiciraEncapEthDst

        public NiciraEncapEthDst​(org.onlab.packet.MacAddress encapEthDst)
        Creates a new encapEthDst instruction with given mac address.
        Parameters:
        encapEthDst - encapsulated ethernet destination
    • Method Detail

      • encapEthDst

        public org.onlab.packet.MacAddress encapEthDst()
        Gets the encapEthDst.
        Returns:
        encapEthDst
      • 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