Class NiciraSetTunnelDst

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

    public class NiciraSetTunnelDst
    extends org.onosproject.net.flow.AbstractExtension
    implements org.onosproject.net.flow.instructions.ExtensionTreatment
    Nicira set tunnel destination extension instruction.
    • Constructor Summary

      Constructors 
      Constructor Description
      NiciraSetTunnelDst​(org.onlab.packet.Ip4Address tunnelDst)
      Creates a new set tunnel destination instruction with a particular IPv4 address.
    • Constructor Detail

      • NiciraSetTunnelDst

        public NiciraSetTunnelDst​(org.onlab.packet.Ip4Address tunnelDst)
        Creates a new set tunnel destination instruction with a particular IPv4 address.
        Parameters:
        tunnelDst - tunnel destination IPv4 address
    • Method Detail

      • tunnelDst

        public org.onlab.packet.Ip4Address tunnelDst()
        Gets the tunnel destination IPv4 address.
        Returns:
        tunnel destination IPv4 address
      • 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