* luci/libs: uvl: added qos and network schemes, fixes in uvl error handling
[project/luci.git] / libs / uvl / root / lib / uci / schema / default / qos
1 package qos
2
3 config section
4 option name 'interface'
5 option title 'QoS interface section'
6 option package 'qos'
7 option named true
8 option required true
9
10 config variable
11 option name 'enabled'
12 option title 'Enable QoS on this interface'
13 option section 'qos.interface'
14 option datatype 'boolean'
15
16 config variable
17 option name 'overhead'
18 option title 'Calculate overhead bandwidth'
19 option section 'qos.interface'
20 option datatype 'boolean'
21
22 config variable
23 option name 'classgroup'
24 option title 'QoS classification'
25 option section 'qos.interface'
26 option valueof 'qos.classgroup'
27
28 config variable
29 option name 'download'
30 option title 'Maximum download speed in kBits/s'
31 option section 'qos.interface'
32 option datatype 'integer'
33
34 config variable
35 option name 'upload'
36 option title 'Maximum upload speed in kBits/s'
37 option section 'qos.interface'
38 option datatype 'integer'
39
40
41 config section
42 option name 'class'
43 option title 'QoS traffic class definition'
44 option package 'qos'
45 option named true
46 option required true
47
48 config variable
49 option name 'avgrate'
50 option title 'Average rate'
51 option section 'qos.class'
52 option datatype 'integer'
53
54 config variable
55 option name 'maxsize'
56 option title 'Maximum size'
57 option section 'qos.class'
58 option datatype 'integer'
59
60 config variable
61 option name 'packetdelay'
62 option title 'Packet delay'
63 option section 'qos.class'
64 option datatype 'integer'
65
66 config variable
67 option name 'packetsize'
68 option title 'Packet size'
69 option section 'qos.class'
70 option datatype 'integer'
71
72 config variable
73 option name 'priority'
74 option title 'QoS priority'
75 option section 'qos.class'
76 option datatype 'integer'
77
78
79 config section
80 option name 'classgroup'
81 option title 'QoS classification group'
82 option package 'qos'
83 option named true
84
85 config variable
86 option name 'classes'
87 option title 'Defined QoS classes in group'
88 option section 'qos.classgroup'
89
90 config variable
91 option name 'default'
92 option title 'Default QoS class in group'
93 option section 'qos.classgroup'
94 option valueof 'qos.class'
95
96
97 config section
98 option name 'default'
99 option title 'QoS default classification'
100 option package 'qos'
101 list depends 'target, pktsize'
102 list depends 'target, portrange'
103 list depends 'target, proto'
104
105 config variable
106 option name 'pktsize'
107 option title 'Match by packet size'
108 option section 'qos.default'
109 option datatype 'integer'
110
111 config variable
112 option name 'portrange'
113 option title 'Match by port range'
114 option section 'qos.default'
115
116 config variable
117 option name 'proto'
118 option title 'Match by layer 3 protocol'
119 option section 'qos.default'
120
121 config variable
122 option name 'target'
123 option title 'Option target'
124 option section 'qos.default'
125 option valueof 'qos.class'
126
127
128 config section
129 option name 'classify'
130 option title 'QoS classification rule'
131 option package 'qos'
132 list depends 'target, ipp2p'
133 list depends 'target, layer7'
134 list depends 'target, ports'
135 list depends 'target, proto'
136 list depends 'target, tcpflags'
137
138 config variable
139 option name 'ipp2p'
140 option title 'Match by ipp2p'
141 option section 'qos.classify'
142
143 config variable
144 option name 'layer7'
145 option title 'Match by layer 7 protocol'
146 option section 'qos.classify'
147
148 config variable
149 option name 'ports'
150 option title 'Match by ports'
151 option section 'qos.classify'
152
153 config variable
154 option name 'proto'
155 option title 'Match by layer 3 protocol'
156 option section 'qos.classify'
157
158 config variable
159 option name 'tcpflags'
160 option title 'Match by TCP flags'
161 option section 'qos.classify'
162
163 config variable
164 option name 'target'
165 option title 'QoS target class'
166 option section 'qos.classify'
167 option valueof 'qos.class'
168
169
170 config section
171 option name 'reclassify'
172 option title 'QoS reclassification rule'
173 option package 'qos'
174 list depends 'target, ipp2p'
175 list depends 'target, layer7'
176 list depends 'target, ports'
177 list depends 'target, proto'
178 list depends 'target, pktsize'
179 list depends 'target, tcpflags'
180
181 config variable
182 option name 'mark'
183 option title 'Match by classification mark'
184 option section 'qos.reclassify'
185
186 config variable
187 option name 'pktsize'
188 option title 'Match by packet size'
189 option section 'qos.reclassify'
190 option datatype 'integer'
191
192 config variable
193 option name 'proto'
194 option title 'Match by layer 3 protocol'
195 option section 'qos.reclassify'
196
197 config variable
198 option name 'tcpflags'
199 option title 'Match by TCP flags'
200 option section 'qos.reclassify'
201
202 config variable
203 option name 'target'
204 option title 'QoS classification target'
205 option section 'qos.reclassify'
206 option valueof 'qos.class'