2 LuCI - Lua Configuration Interface
4 Copyright 2008 Steven Barth <steven@midlink.org>
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
14 m = Map("qos", "Quality of Service", [[Mit Hilfe von QoS kann einzelnen Rechnern oder Netzwerkdiensten
15 eine höhere oder niedrigere Priorität zugewiesen werden.]])
17 s = m:section(TypedSection, "interface", "Schnittstellen")
20 s:option(Flag, "enabled", "aktiviert")
22 c = s:option(ListValue, "classgroup", "Klassifizierung")
23 c:value("Default", "standard")
26 s:option(Flag, "overhead", "Overheadberechnung")
28 s:option(Value, "download", "Downlink", "kb/s")
30 s:option(Value, "upload", "Uplink", "kb/s")
32 s = m:section(TypedSection, "classify", "Klassifizierung")
37 t = s:option(ListValue, "target", "Klasse")
44 s:option(Value, "srchost", "Quelladresse", "Quellhost / Quellnetz").optional = true
45 s:option(Value, "dsthost", "Zieladresse", "Zielhost / Zielnetz").optional = true
46 s:option(Value, "layer7", "Layer 7").optional = true
48 p2p = s:option(ListValue, "ipp2p", "P2P")
50 p2p:value("all", "Alle")
51 p2p:value("bit", "Bittorrent")
52 p2p:value("dc", "DirectConnect")
53 p2p:value("edk", "eDonkey")
54 p2p:value("gnu", "Gnutella")
55 p2p:value("kazaa", "Kazaa")
58 p = s:option(ListValue, "proto", "Protokoll")
62 p:value("icmp", "ICMP")
65 s:option(Value, "ports", "Port").optional = true
66 s:option(Value, "portrange", "Portbereich").optional = true