CShaper

The cshaper feature simplifies the configuration of simple port-based shaper setups based on the CAKE1 qdisc2. The top-level cshaper setting is a dictonary of profiles defining CAKE1 qdisc2 profiles and a regex to derive the ifb link name.

Schema description

cshaper:
  default:
    # qdisc template for egress traffic
    egress_qdisc:
        kind: cake
        handle: "1:"
    # qdisc template for ingress traffic on ifb link
    ingress_qdisc:
        kind: cake
        handle: "1:"
    # replace pattern to derive the ifb ifname
    ingress_ifname:
        search: ^\D{1,3}
        replace: ifb

The default profile should already work for most setups.

Examples:


  1. Common Applications Kept Enhanced 

  2. queueing discipline