summaryrefslogtreecommitdiff
path: root/interface-definitions/cron.xml
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-05-14 03:20:49 +0200
committerDaniil Baturin <daniil@baturin.org>2018-05-14 03:20:49 +0200
commit32b6793b210505a2a69dc6f7615ddd5f66ad74b8 (patch)
tree834075333c5aaa0c7fc8c3cc29041eb685f6bdfd /interface-definitions/cron.xml
parent9a6320744d21416d1f1eb3a3ba168cf54ef59727 (diff)
downloadvyos-1x-32b6793b210505a2a69dc6f7615ddd5f66ad74b8.tar.gz
vyos-1x-32b6793b210505a2a69dc6f7615ddd5f66ad74b8.zip
T602: replace the now-gone type attribute with proper use of constraints in existing interface definitions.
Diffstat (limited to 'interface-definitions/cron.xml')
-rw-r--r--interface-definitions/cron.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-definitions/cron.xml b/interface-definitions/cron.xml
index a9e9b0401..8e4c1294a 100644
--- a/interface-definitions/cron.xml
+++ b/interface-definitions/cron.xml
@@ -44,6 +44,9 @@
<format>&lt;days&gt;d</format>
<description>Execution interval in days</description>
</valueHelp>
+ <constraint>
+ <regex>[1-9]([0-9]+)([mhd]{0,1})</regex>
+ </constraint>
</properties>
</leafNode>
<node name="executable">