Class IntObjective
- java.lang.Object
-
- org.onosproject.net.behaviour.inbandtelemetry.IntObjective
-
public final class IntObjective extends Object
Represents a device-level objective to collect INT metadata for packets identified by a traffic selector.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IntObjective.Builder
An IntObjective builder.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IntObjective.Builder
builder()
Returns a new INT objective builder.boolean
equals(Object o)
int
hashCode()
Set<IntMetadataType>
metadataTypes()
Returns a set of metadata types specified in this objective.TrafficSelector
selector()
Returns traffic selector of this objective.
-
-
-
Method Detail
-
selector
public TrafficSelector selector()
Returns traffic selector of this objective.- Returns:
- traffic selector
-
metadataTypes
public Set<IntMetadataType> metadataTypes()
Returns a set of metadata types specified in this objective.- Returns:
- instruction bitmap
-
builder
public static IntObjective.Builder builder()
Returns a new INT objective builder.- Returns:
- INT objective builder
-
-