summaryrefslogtreecommitdiffhomepage
path: root/libs/uvl/root/lib/uci/schema/default/ntpclient
diff options
context:
space:
mode:
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