summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-qos/root/lib/uci/schema/default/qos
blob: 24f8e0d5d6e0ac3345ecae8b82d2007baea3b88e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
package qos

config package
	option title 'Network quality of service'

config section
	option name	'interface'
	option title	'QoS interface section'
	option package	'qos'
	option named	true
	option required	true

config variable
	option name	'enabled'
	option title	'Enable QoS on this interface'
	option section	'qos.interface'

config variable
	option name	'overhead'
	option title	'Calculate overhead bandwidth'
	option section	'qos.interface'
	option datatype	'boolean'

config variable
	option name	'classgroup'
	option title	'QoS classification'
	option section	'qos.interface'
	option valueof	'qos.classgroup'

config variable
	option name	'download'
	option title	'Maximum download speed in kBits/s'
	option section	'qos.interface'
	option datatype	'integer'

config variable
	option name	'upload'
	option title	'Maximum upload speed in kBits/s'
	option section	'qos.interface'
	option datatype	'integer'


config section
	option name	'class'
	option title	'QoS traffic class definition'
	option package	'qos'
	option named	true
	option required	true

config variable
	option name	'avgrate'
	option title	'Average rate'
	option section	'qos.class'
	option datatype	'integer'

config variable
	option name	'maxsize'
	option title	'Maximum size'
	option section	'qos.class'
	option datatype	'integer'

config variable
	option name	'packetdelay'
	option title	'Packet delay'
	option section	'qos.class'
	option datatype	'integer'

config variable
	option name	'packetsize'
	option title	'Packet size'
	option section	'qos.class'
	option datatype	'integer'

config variable
	option name	'priority'
	option title	'QoS priority'
	option section	'qos.class'
	option datatype	'integer'


config section
	option name	'classgroup'
	option title	'QoS classification group'
	option package	'qos'
	option named	true

config variable
	option name	'classes'
	option title	'Defined QoS classes in group'
	option section	'qos.classgroup'

config variable
	option name	'default'
	option title	'Default QoS class in group'
	option section	'qos.classgroup'
	option valueof	'qos.class'


config section
	option name	'default'
	option title	'QoS default classification'
	option package	'qos'
	list   depends  'target, pktsize'
	list   depends  'target, portrange'
	list   depends  'target, proto'

config variable
	option name	'pktsize'
	option title	'Match by packet size'
	option section	'qos.default'
	option datatype	'integer'

config variable
	option name	'portrange'
	option title	'Match by port range'
	option section	'qos.default'

config variable
	option name	'proto'
	option title	'Match by layer 3 protocol'
	option section	'qos.default'

config variable
	option name	'target'
	option title	'Option target'
	option section	'qos.default'
	option valueof	'qos.class'
	option required true


config section
	option name	'classify'
	option title	'QoS classification rule'
	option package	'qos'

config variable
	option name	'ipp2p'
	option title	'Match by ipp2p'
	option section	'qos.classify'

config variable
	option name	'layer7'
	option title	'Match by layer 7 protocol'
	option section	'qos.classify'

config variable
	option name	'ports'
	option title	'Match by ports'
	option section	'qos.classify'

config variable
	option name	'proto'
	option title	'Match by layer 3 protocol'
	option section	'qos.classify'

config variable
	option name	'tcpflags'
	option title	'Match by TCP flags'
	option section	'qos.classify'

config variable
	option name	'target'
	option title	'QoS target class'
	option section	'qos.classify'
	option valueof	'qos.class'
	option required true


config section
	option name	'reclassify'
	option title	'QoS reclassification rule'
	option package	'qos'

config variable
	option name	'mark'
	option title	'Match by classification mark'
	option section	'qos.reclassify'

config variable
	option name	'pktsize'
	option title	'Match by packet size'
	option section	'qos.reclassify'
	option datatype	'integer'

config variable
	option name	'proto'
	option title	'Match by layer 3 protocol'
	option section	'qos.reclassify'

config variable
	option name	'tcpflags'
	option title	'Match by TCP flags'
	option section	'qos.reclassify'

config variable
	option name	'target'
	option title	'QoS classification target'
	option section	'qos.reclassify'
	option valueof	'qos.class'
	option required true