summaryrefslogtreecommitdiff
path: root/manifests/tcclasses.pp
blob: 4e30a5564c1b8840660074e0d404b515748ffb29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
define shorewall::tcclasses(
    $interface,
    $rate,
    $ceil,
    $priority,
    $options = '',
    $order = '1'
){
    shorewall::entry { "tcclasses-${order}-${name}":
        line => "# ${name}\n${interface} ${order} ${rate} ${ceil} ${priority} ${options}",
    }
}