Class Ofdpa3SetOvid

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

    public class Ofdpa3SetOvid
    extends OfdpaSetVlanVid
    OFDPA set OVID extension instruction. OVID is a meta-data of the OFDPA pipeline, but basically it is a VLAN ID.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Ofdpa3SetOvid()
      Constructs a new set OVID instruction.
        Ofdpa3SetOvid​(org.onlab.packet.VlanId vlanId)
      Constructs a new set OVID instruction with a given VLAN ID.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      java.lang.String toString()  
      org.onosproject.net.flow.instructions.ExtensionTreatmentType type()
      Returns the treatment type.
      • Methods inherited from class org.onosproject.net.flow.AbstractExtension

        getProperties, getPropertyValue, setPropertyValue
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.onosproject.net.flow.Extension

        getProperties, getPropertyValue, setPropertyValue
    • Constructor Detail

      • Ofdpa3SetOvid

        protected Ofdpa3SetOvid()
        Constructs a new set OVID instruction.
      • Ofdpa3SetOvid

        public Ofdpa3SetOvid​(org.onlab.packet.VlanId vlanId)
        Constructs a new set OVID instruction with a given VLAN ID.
        Parameters:
        vlanId - VLAN ID
    • Method Detail

      • type

        public org.onosproject.net.flow.instructions.ExtensionTreatmentType type()
        Returns the treatment type.
        Specified by:
        type in interface org.onosproject.net.flow.instructions.ExtensionTreatment
        Overrides:
        type in class OfdpaSetVlanVid
        Returns:
        the set OVID extension type