summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pfaltq11.in
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-04-13 16:57:32 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-04-13 16:57:32 +0000
commit7e2ee6105177db3527fa1dec2d1ae1578d9a7146 (patch)
tree1036d7970f04b731a47ffe4433e1b35be282851e /regress/sbin/pfctl/pfaltq11.in
parent5eb1e0d2671e50683af98d43e290c66db1c48d7f (diff)
bit more complicated case to provoke qid assignment errors with hfsc
Diffstat (limited to 'regress/sbin/pfctl/pfaltq11.in')
-rw-r--r--regress/sbin/pfctl/pfaltq11.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pfaltq11.in b/regress/sbin/pfctl/pfaltq11.in
new file mode 100644
index 00000000000..4ef6231a8d7
--- /dev/null
+++ b/regress/sbin/pfctl/pfaltq11.in
@@ -0,0 +1,15 @@
+# more complicated case to provoke queue id assignment errors:
+# -two same named queues must have same qid on all interfaces
+# -two differently named queues must not share a qid, even on different ifs
+
+altq on lo0 tbrsize 1824 bandwidth 10Mb hfsc queue { eins zwei drei }
+altq on tun0 tbrsize 1824 bandwidth 33600b hfsc queue { vier zwei fuenf }
+queue eins bandwidth 10% hfsc(default)
+queue zwei bandwidth 80% { sub2 sub3 }
+queue sub2 bandwidth 50%
+queue sub3 bandwidth 50%
+queue drei bandwidth 10% subseven
+queue vier bandwidth 10% hfsc(default)
+queue fuenf bandwidth 50% subseven
+queue subseven bandwidth 90%
+