Class UpfTerminationDownlink
- java.lang.Object
-
- org.onosproject.net.behaviour.upf.UpfTerminationDownlink
-
- All Implemented Interfaces:
UpfEntity
@Beta public final class UpfTerminationDownlink extends Object implements UpfEntity
A structure representing the UE Termination in the downlink direction on the UPF-programmable device. Provide means to configure the traffic behavior (e.g. set Traffic Class, GTP TEID, or QFI).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpfTerminationDownlink.Builder
-
Field Summary
-
Fields inherited from interface org.onosproject.net.behaviour.upf.UpfEntity
DEFAULT_APP_ID, DEFAULT_APP_INDEX, DEFAULT_SESSION_INDEX
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byteapplicationId()Get the application ID associated with UPF Termination rule.intappMeterIdx()Get the app meter index set by this UPF Termination rule.static UpfTerminationDownlink.Builderbuilder()IntegercounterId()Get PDR Counter ID associated with UPF Termination rule.booleanequals(Object obj)inthashCode()booleanneedsDropping()True if this UPF Termination needs to drop traffic.Byteqfi()Get QoS Flow Identifier set by this UPF Termination rule.Integerteid()Get GTP TEID set by this UPF Termination rule.StringtoString()BytetrafficClass()Get Traffic Class set by this UPF Termination rule.UpfEntityTypetype()Returns the type of this entity.Ip4AddressueSessionId()Get UE Session ID associated with UPF Termination rule.
-
-
-
Method Detail
-
builder
public static UpfTerminationDownlink.Builder builder()
-
ueSessionId
public Ip4Address ueSessionId()
Get UE Session ID associated with UPF Termination rule.- Returns:
- UE Session ID
-
applicationId
public byte applicationId()
Get the application ID associated with UPF Termination rule.- Returns:
- the application ID
-
counterId
public Integer counterId()
Get PDR Counter ID associated with UPF Termination rule.- Returns:
- PDR counter cell ID
-
trafficClass
public Byte trafficClass()
Get Traffic Class set by this UPF Termination rule.- Returns:
- Traffic Class
-
teid
public Integer teid()
Get GTP TEID set by this UPF Termination rule.- Returns:
- GTP tunnel ID
-
qfi
public Byte qfi()
Get QoS Flow Identifier set by this UPF Termination rule.- Returns:
- QoS Flow Identifier
-
needsDropping
public boolean needsDropping()
True if this UPF Termination needs to drop traffic.- Returns:
- true if the UPF Termination needs dropping.
-
appMeterIdx
public int appMeterIdx()
Get the app meter index set by this UPF Termination rule.- Returns:
- App meter index
-
type
public UpfEntityType type()
Description copied from interface:UpfEntityReturns the type of this entity.
-
-