* luci/libs/uvl: add scheme for luci_hosts configuration
This commit is contained in:
parent
be767cb726
commit
1bc3365f02
1 changed files with 21 additions and 0 deletions
21
libs/uvl/root/lib/uci/schema/default/luci_hosts
Normal file
21
libs/uvl/root/lib/uci/schema/default/luci_hosts
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
package luci_hosts
|
||||||
|
|
||||||
|
config section
|
||||||
|
option name 'host'
|
||||||
|
option title 'Host entry definition'
|
||||||
|
option package 'luci_hosts'
|
||||||
|
|
||||||
|
config variable
|
||||||
|
option name 'hostname'
|
||||||
|
option title 'Hostname'
|
||||||
|
option section 'luci_hosts.host'
|
||||||
|
option datatype 'hostname'
|
||||||
|
option required true
|
||||||
|
|
||||||
|
config variable
|
||||||
|
option name 'ipaddr'
|
||||||
|
option title 'IP address'
|
||||||
|
option section 'luci_hosts.host'
|
||||||
|
option datatype 'ipaddr'
|
||||||
|
option required true
|
||||||
|
|
Loading…
Reference in a new issue