git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
be767cb
)
* luci/libs/uvl: add scheme for luci_hosts configuration
author
Jo-Philipp Wich
<redacted>
Sat, 6 Sep 2008 18:14:17 +0000
(18:14 +0000)
committer
Jo-Philipp Wich
<redacted>
Sat, 6 Sep 2008 18:14:17 +0000
(18:14 +0000)
libs/uvl/root/lib/uci/schema/default/luci_hosts
[new file with mode: 0644]
patch
|
blob
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
(file)
index 0000000..
e2597f4
--- /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
+
git clone https://git.99rst.org/PROJECT