NetworkPolicyTrafficClassificationRuleAction(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
dscp_mode |
str
The traffic class that should be applied to the matching packet. Check the DscpMode enum for the list of possible values. This field is a member of oneof _ _dscp_mode .
|
dscp_value |
int
Custom DSCP value from 0-63 range. This field is a member of oneof _ _dscp_value .
|
traffic_class |
str
The traffic class that should be applied to the matching packet. Check the TrafficClass enum for the list of possible values. This field is a member of oneof _ _traffic_class .
|
type_ |
str
Always "apply_traffic_classification" for traffic classification rules. This field is a member of oneof _ _type .
|
Classes
DscpMode
DscpMode(value)
The traffic class that should be applied to the matching packet.
TrafficClass
TrafficClass(value)
The traffic class that should be applied to the matching packet.