summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-26 11:48:20 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-26 11:48:20 +0200
commit5077036edd87724068b241ed4f6850b45e885cb5 (patch)
tree4090f02687e9ac0414bcccaaeb87d152d8627a7a
parentb014bfaadc4104067ff98d0202351625cf03224f (diff)
downloadvyos-1x-5077036edd87724068b241ed4f6850b45e885cb5.tar.gz
vyos-1x-5077036edd87724068b241ed4f6850b45e885cb5.zip
salt: T2385: xml: improve completion helpers in interval
-rw-r--r--interface-definitions/salt-minion.xml.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/interface-definitions/salt-minion.xml.in b/interface-definitions/salt-minion.xml.in
index d0e8e3e2b..3a46614fe 100644
--- a/interface-definitions/salt-minion.xml.in
+++ b/interface-definitions/salt-minion.xml.in
@@ -45,7 +45,14 @@
</leafNode>
<leafNode name="interval">
<properties>
- <help>The number of minutes between mine updates.</help>
+ <help>Interval in minutes between updates (default: 60)</help>
+ <valueHelp>
+ <format>&lt;1-1440&gt;</format>
+ <description>Update interval in minutes</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-1440"/>
+ </constraint>
</properties>
</leafNode>
<leafNode name="master-key">