From: Jo-Philipp Wich Date: Sat, 6 Sep 2008 18:14:17 +0000 (+0000) Subject: * luci/libs/uvl: add scheme for luci_hosts configuration X-Git-Tag: 0.9.0~1405 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1bc3365f02f343f344137bff189e9b9efd35904e;p=project%2Fluci.git * luci/libs/uvl: add scheme for luci_hosts configuration --- 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 +