summaryrefslogtreecommitdiffhomepage
path: root/libs/uvl/root
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-09-06 18:14:17 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-09-06 18:14:17 +0000
commit1bc3365f02f343f344137bff189e9b9efd35904e (patch)
tree99726699d77263ad6470c2193a072b5ec6d57b37 /libs/uvl/root
parentbe767cb726d23a4e2daa27f8b4ecde161c15c0ed (diff)
* luci/libs/uvl: add scheme for luci_hosts configuration
Diffstat (limited to 'libs/uvl/root')
-rw-r--r--libs/uvl/root/lib/uci/schema/default/luci_hosts21
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 000000000..e2597f476
--- /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
+