summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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
+