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
DSCP mode. When set to AUTO, the DSCP value will be picked automatically based on selected trafficClass. Otherwise,dscpValue needs to be explicitly specified. 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)DSCP mode. When set to AUTO, the DSCP value will be picked automatically based on selected trafficClass. Otherwise,dscpValue needs to be explicitly specified.
TrafficClass
TrafficClass(value)The traffic class that should be applied to the matching packet.