summaryrefslogtreecommitdiffhomepage
path: root/libs/uvl/root/lib/uci/schema/default/ntpclient
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-11 21:45:23 +0000
committerSteven Barth <steven@midlink.org>2008-09-11 21:45:23 +0000
commit55cf7dbf347a9b48e911b1b4d47997aa513f5d7b (patch)
treec8c1f9239863ea6717163959cd33281dfef90435 /libs/uvl/root/lib/uci/schema/default/ntpclient
parentd25d58bb4af9696ca6f9c16a36791bb072bfc891 (diff)
Reworked UVL schemes
Diffstat (limited to 'libs/uvl/root/lib/uci/schema/default/ntpclient')
-rw-r--r--libs/uvl/root/lib/uci/schema/default/ntpclient53
1 files changed, 53 insertions, 0 deletions
diff --git a/libs/uvl/root/lib/uci/schema/default/ntpclient b/libs/uvl/root/lib/uci/schema/default/ntpclient
new file mode 100644
index 0000000000..0b7b5a5e5d
--- /dev/null
+++ b/libs/uvl/root/lib/uci/schema/default/ntpclient
@@ -0,0 +1,53 @@
+package ntpclient
+
+config package
+ option title 'Time Synchronisation'
+
+config section
+ option name 'ntpclient'
+ option package 'ntpclient'
+ option title 'General'
+ option unique true
+ option required true
+
+config variable
+ option name 'interval'
+ option section 'ntpclient.ntpclient'
+ option title 'Update Interval (in s)'
+ option datatype uint
+
+config variable
+ option name 'count'
+ option section 'ntpclient.ntpclient'
+ option title 'Count of Time Measurements'
+ option datatype uint
+
+config section
+ option name 'ntpdrift'
+ option package 'ntpclient'
+ option title 'Clock Adjustment'
+ option unique true
+
+config variable
+ option name 'freq'
+ option section 'ntpclient.ntpdrift'
+ option title 'Offset Frequency'
+ option datatype float
+
+config section
+ option name 'ntpserver'
+ option package 'ntpclient'
+ option title 'Time Server'
+
+config variable
+ option name 'hostname'
+ option section 'ntpclient.ntpserver'
+ option title 'Hostname'
+ option required true
+ option datatype host
+
+config variable
+ option name 'port'
+ option section 'ntpclient.ntpserver'
+ option title 'Port'
+ option datatype port