Class Ofdpa3SetOvid
- java.lang.Object
-
- org.onosproject.net.flow.AbstractExtension
-
- org.onosproject.driver.extensions.OfdpaSetVlanVid
-
- org.onosproject.driver.extensions.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 protectedOfdpa3SetOvid()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 booleanequals(java.lang.Object obj)inthashCode()java.lang.StringtoString()org.onosproject.net.flow.instructions.ExtensionTreatmentTypetype()Returns the treatment type.-
Methods inherited from class org.onosproject.driver.extensions.OfdpaSetVlanVid
deserialize, serialize, vlanId
-
Methods inherited from class org.onosproject.net.flow.AbstractExtension
getProperties, getPropertyValue, setPropertyValue
-
-
-
-
Method Detail
-
type
public org.onosproject.net.flow.instructions.ExtensionTreatmentType type()
Returns the treatment type.- Specified by:
typein interfaceorg.onosproject.net.flow.instructions.ExtensionTreatment- Overrides:
typein classOfdpaSetVlanVid- Returns:
- the set OVID extension type
-
hashCode
public int hashCode()
- Overrides:
hashCodein classOfdpaSetVlanVid
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classOfdpaSetVlanVid
-
toString
public java.lang.String toString()
- Overrides:
toStringin classOfdpaSetVlanVid
-
-