Class NetworkPolicyTrafficClassificationRuleAction (0.3.0)

NetworkPolicyTrafficClassificationRuleAction(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

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.