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 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