Skip to content

Commit

Permalink
Added shaping for 2nd content provider
Browse files Browse the repository at this point in the history
  • Loading branch information
thierryr committed Mar 20, 2015
1 parent 953f522 commit 17d8ca8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gec22_demo/shaper.oedl
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ defApplication('shaper') do |app|
"/sbin/tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 1mbit ; "+
"/sbin/tc class add dev eth0 parent 1: classid 1:1 cbq rate 100kbit allot 1500 prio 5 bounded isolated ; "+
"/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip dst 192.86.139.71 flowid 1:1 ; "+
"/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip src 192.86.139.71 flowid 1:1 ; "
"/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip src 192.86.139.71 flowid 1:1 ; "+
"/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip dst 193.190.127.241 flowid 1:1 ; "+
"/sbin/tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip src 193.190.127.241 flowid 1:1 ; "+
end

0 comments on commit 17d8ca8

Please sign in to comment.