Class UpfApplication
- java.lang.Object
-
- org.onosproject.net.behaviour.upf.UpfApplication
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpfApplication.BuilderBuilder of UpfApplication object.
-
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 byteappId()Get the application ID of this UPF application rule.static UpfApplication.Builderbuilder()booleanequals(Object object)inthashCode()Optional<Ip4Prefix>ip4Prefix()Gets the IPv4 prefix of this UPF application rule.Optional<Byte>ipProto()Gets the IP protocol field value of this UPF application rule.Optional<com.google.common.collect.Range<Short>>l4PortRange()Gets the L4 port range of this application filtering rule.intpriority()Get the priority of this UPF application rule.intsliceId()Gets the slice ID of this UPF application rule.StringtoString()UpfEntityTypetype()Returns the type of this entity.
-
-
-
Method Detail
-
builder
public static UpfApplication.Builder builder()
-
ip4Prefix
public Optional<Ip4Prefix> ip4Prefix()
Gets the IPv4 prefix of this UPF application rule.- Returns:
- The IPv4 prefix, Empty if none.
-
l4PortRange
public Optional<com.google.common.collect.Range<Short>> l4PortRange()
Gets the L4 port range of this application filtering rule.- Returns:
- A bounded range of L4 port
-
ipProto
public Optional<Byte> ipProto()
Gets the IP protocol field value of this UPF application rule.- Returns:
- IP protocol field, Empty if none
-
sliceId
public int sliceId()
Gets the slice ID of this UPF application rule.- Returns:
- Slice ID
-
appId
public byte appId()
Get the application ID of this UPF application rule.- Returns:
- Application ID
-
priority
public int priority()
Get the priority of this UPF application rule.- Returns:
- Priority
-
type
public UpfEntityType type()
Description copied from interface:UpfEntityReturns the type of this entity.
-
-