summaryrefslogtreecommitdiff
path: root/interface-templates
AgeCommit message (Collapse)Author
2010-06-09Fix syntax checks for mirror/redirectStephen Hemminger
The expansion script doesn't handle --skip=$IFNAME correctly
2010-06-09cleanup input-policy leftoverStephen Hemminger
2010-06-09Merge branch 'larkspur' of vm:git/vyatta-cfg-qos into larkspurStephen Hemminger
2010-06-09Block attempts to mirror/redirect to selfStephen Hemminger
2010-06-07Rearrange Qos commands for LarkspurStephen Hemminger
Current (Kenwood and earlier): set qos-policy traffic-shaper TS { ...classes } set qos-policy traffic-limiter TL { ...classes } seq qos-policy network-emulator NE ... set qos-policy random-detect RD ... set qos-policy rate-limiter RC ... set qos-policy round-robin RR ... set interfaces ethernet eth0 qos-policy out TS set interfaces ethernet eth0 qos-policy in TL New (Larkspur and later): set traffic-policy shaper TS { ...classes } set traffic-policy limiter TL { ...classes } seq traffic-policy network-emulator NE ... set traffic-policy random-detect RD ... set traffic-policy rate-control RC ... set traffic-policy round-robin RR ... set interfaces ethernet eth0 traffic-policy out TS set interfaces ethernet eth0 traffic-policy in TL set interfaces ethernet eth0 redirect ifb0 set interfaces ethernet eth0 mirror eth2 Note: 1. Only one of the following is allowed: "redirect", or "mirror" 2. Traffic-policy limiter is allowed with redirection/mirror and takes place before mirror/redirect action (NEW) 3. Limiter policy may applied on output (NEW) 4. Only limiter policies can be applied on input (same as previous releases) This does add some new functionality (#2, and #3) which are possible because of how filter classes are implemented.
2010-06-07Revert "Move traffic-limiter to input-policy"Stephen Hemminger
This reverts commit b75a66a4d5768f22a4b995d49ba442de8762a800.
2010-06-01add a few missing templatesAn-Cheng Huang
2010-04-15Add checking at commit for input policyStephen Hemminger
Handle configuration errors in policy.
2010-04-15Fix modification of input-policyStephen Hemminger
If policy changes, then the whole ingress qdisc needs to be reloaded.
2010-04-07Get rid of out in command syntaxStephen Hemminger
Direction is no longer part of syntax.
2010-04-06Move traffic-limiter to input-policyStephen Hemminger
This changes: qos-policy traffic-limiter foo class ... interfaces ethernet eth0 qos-policy in foo to interface ethernet eth0 input-policy limit class ... Which unifies all uses of ingress qdisc (limit, redirect, mirror) into a single usage model.
2010-04-06Preliminary support of input-policyStephen Hemminger
Support mirror and redirect. Note: traffic-limiter is broken (ignored), and will later be moved to input-policy/limit
2010-04-06Add input interface templateStephen Hemminger
Also change how interface qos-policy is generated, using a template for templates rather than using hardcode expansion.