diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-09-06 18:14:17 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-09-06 18:14:17 +0000 |
commit | 1bc3365f02f343f344137bff189e9b9efd35904e (patch) | |
tree | 99726699d77263ad6470c2193a072b5ec6d57b37 /libs | |
parent | be767cb726d23a4e2daa27f8b4ecde161c15c0ed (diff) |
* luci/libs/uvl: add scheme for luci_hosts configuration
Diffstat (limited to 'libs')
-rw-r--r-- | libs/uvl/root/lib/uci/schema/default/luci_hosts | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libs/uvl/root/lib/uci/schema/default/luci_hosts b/libs/uvl/root/lib/uci/schema/default/luci_hosts new file mode 100644 index 0000000000..e2597f4769 --- /dev/null +++ b/libs/uvl/root/lib/uci/schema/default/luci_hosts @@ -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 + |