From 1bc3365f02f343f344137bff189e9b9efd35904e Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 6 Sep 2008 18:14:17 +0000 Subject: [PATCH] * luci/libs/uvl: add scheme for luci_hosts configuration --- libs/uvl/root/lib/uci/schema/default/luci_hosts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 libs/uvl/root/lib/uci/schema/default/luci_hosts 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 + -- 2.11.0