e6ac8f099cb021d677b2a2605a2c69c93f05c734
[project/luci.git] / libs / uvl / root / lib / uci / schema / default / dhcp
1 package dhcp
2
3 config package
4 option title 'Dnsmasq DHCPd configuration'
5
6 config section
7 option name 'dnsmasq'
8 option package 'dhcp'
9 option title 'General Settings'
10 option unique true
11 option required true
12 option dynamic true
13
14 config variable
15 option name 'domainneeded'
16 option section 'dhcp.dnsmasq'
17 option title 'Domain required'
18 option description "Don't forward DNS-Requests without DNS-Name"
19 option datatype boolean
20
21 config variable
22 option name 'authoritative'
23 option section 'dhcp.dnsmasq'
24 option title 'Authoritative'
25 option description 'This is the only DHCP in the local network'
26 option datatype boolean
27
28 config variable
29 option name 'boguspriv'
30 option section 'dhcp.dnsmasq'
31 option title 'Filter private'
32 option description "Don't forward reverse lookups for local networks"
33 option datatype boolean
34
35 config variable
36 option name 'filterwin2k'
37 option section 'dhcp.dnsmasq'
38 option title 'Filter useless'
39 option description 'Filter useless DNS-queries of Windows-systems'
40 option datatype boolean
41
42 config variable
43 option name 'localise_queries'
44 option section 'dhcp.dnsmasq'
45 option title 'Localise queries'
46 option description 'Localises the hostname depending on its subnet'
47 option datatype boolean
48
49 config variable
50 option name 'local'
51 option section 'dhcp.dnsmasq'
52 option title 'Local Server'
53
54 config variable
55 option name 'domain'
56 option section 'dhcp.dnsmasq'
57 option title 'Local Domain'
58
59 config variable
60 option name 'expandhosts'
61 option section 'dhcp.dnsmasq'
62 option title 'Expand Hosts'
63 option description 'adds domain names to hostentries in the resolv file'
64 option datatype boolean
65
66 config variable
67 option name 'nonegcache'
68 option section 'dhcp.dnsmasq'
69 option title "don't cache unknown"
70 option description 'prevents caching of negative DNS-replies'
71 option datatype boolean
72
73 config variable
74 option name 'readethers'
75 option section 'dhcp.dnsmasq'
76 option title 'Use /etc/ethers'
77 option description 'Read /etc/ethers to configure the DHCP-Server'
78 option datatype boolean
79
80 config variable
81 option name 'leasefile'
82 option section 'dhcp.dnsmasq'
83 option title 'Leasefile'
84 option description 'file where given DHCP-leases will be stored'
85 option datatype file
86
87 config variable
88 option name 'resolvfile'
89 option section 'dhcp.dnsmasq'
90 option title 'Resolvfile'
91 option description 'local DNS file'
92 option datatype file
93
94 config variable
95 option name 'nohosts'
96 option section 'dhcp.dnsmasq'
97 option title 'Ignore /etc/hosts '
98 option datatype boolean
99
100 config variable
101 option name 'strictorder'
102 option section 'dhcp.dnsmasq'
103 option title 'Strict order'
104 option description 'DNS-Server will be queried in the order of the resolvfile'
105 option datatype boolean
106
107 config variable
108 option name 'logqueries'
109 option section 'dhcp.dnsmasq'
110 option title 'Log queries'
111 option datatype boolean
112
113 config variable
114 option name 'noresolv'
115 option section 'dhcp.dnsmasq'
116 option title 'Ignore resolve file'
117 option datatype boolean
118
119 config variable
120 option name 'dnsforwardmax'
121 option section 'dhcp.dnsmasq'
122 option title 'concurrent queries'
123 option datatype uint
124
125 config variable
126 option name 'port'
127 option section 'dhcp.dnsmasq'
128 option title 'DNS-Port'
129 option datatype port
130
131 config variable
132 option name 'ednspacket_max'
133 option section 'dhcp.dnsmasq'
134 option title 'ednspacket_max'
135 option datatype uint
136
137 config variable
138 option name 'dhcpleasemax'
139 option section 'dhcp.dnsmasq'
140 option title 'max. DHCP -Leases'
141 option datatype uint
142
143 config variable
144 option name 'addnhosts'
145 option section 'dhcp.dnsmasq'
146 option title 'additional hostfile'
147 option datatype file
148
149 config variable
150 option name 'queryport'
151 option section 'dhcp.dnsmasq'
152 option title 'query port'
153 option datatype port
154
155
156 config section
157 option name 'dhcp'
158 option package 'dhcp'
159 option title 'DHCP interface configuration'
160 option dynamic true
161
162 config variable
163 option name 'interface'
164 option section 'dhcp.dhcp'
165 option title 'Interface'
166 option required true
167 option type reference
168 list valueof network.interface
169 list valueof network.alias
170
171 config variable
172 option name 'start'
173 option section 'dhcp.dhcp'
174 option title 'Start'
175 option description 'first address (last octet)'
176 option datatype uint
177
178 config variable
179 option name 'limit'
180 option section 'dhcp.dhcp'
181 option title 'Limit'
182 option description 'number of leased addresses -1'
183 option datatype uint
184
185 config variable
186 option name 'leasetime'
187 option section 'dhcp.dhcp'
188 option title 'Leasetime'
189
190 config variable
191 option name 'dynamicdhcp'
192 option section 'dhcp.dhcp'
193 option title 'Dynamic DHCP '
194 option datatype boolean
195
196 config variable
197 option name 'name'
198 option section 'dhcp.dhcp'
199 option title 'Name'
200
201 config variable
202 option name 'ignore'
203 option section 'dhcp.dhcp'
204 option title 'Ignore interface'
205 option description 'disable DHCP for this interface'
206 option datatype boolean
207
208 config variable
209 option name 'netmask'
210 option section 'dhcp.dhcp'
211 option title 'IPv4-Netmask'
212 option datatype ip4addr
213
214 config variable
215 option name 'force'
216 option section 'dhcp.dhcp'
217 option title 'Force'
218 option datatype boolean
219
220 config variable
221 option name 'dhcp_option'
222 option section 'dhcp.dhcp'
223 option title 'DHCP-Options'
224 option description 'See "dnsmasq --help dhcp" for a list of available options.'
225 option type list