Class UpfApplication
- java.lang.Object
-
- org.onosproject.net.behaviour.upf.UpfApplication
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpfApplication.Builder
Builder of UpfApplication object.
-
Field Summary
-
Fields inherited from interface org.onosproject.net.behaviour.upf.UpfEntity
DEFAULT_APP_ID
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
appId()
Get the application ID of this UPF application rule.static UpfApplication.Builder
builder()
boolean
equals(Object object)
int
hashCode()
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.int
priority()
Get the priority of this UPF application rule.String
toString()
UpfEntityType
type()
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
-
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:UpfEntity
Returns the type of this entity.
-
-