summaryrefslogtreecommitdiff
path: root/interface-definitions/include/dns/dynamic-service-wait-expiry-time.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-01 08:17:30 +0100
committerGitHub <noreply@github.com>2023-12-01 08:17:30 +0100
commit93038ae22e6e072ffd5c3cdeae49ec7293e5cc1d (patch)
treed006920ddd3261606461603848930be3b07ec0f0 /interface-definitions/include/dns/dynamic-service-wait-expiry-time.xml.i
parent01fec00f0d662b26262678823bfe4d3cc0d5b574 (diff)
parent2bbf6253038f1751b9b1776a8938c85135ffdca5 (diff)
downloadvyos-1x-93038ae22e6e072ffd5c3cdeae49ec7293e5cc1d.tar.gz
vyos-1x-93038ae22e6e072ffd5c3cdeae49ec7293e5cc1d.zip
Merge pull request #2555 from indrajitr/sagitta-ddclient-backports
ddclient: T5573,T5574,T5612,T5708: Backport ddclient related changes
Diffstat (limited to 'interface-definitions/include/dns/dynamic-service-wait-expiry-time.xml.i')
-rw-r--r--interface-definitions/include/dns/dynamic-service-wait-expiry-time.xml.i28
1 files changed, 28 insertions, 0 deletions
diff --git a/interface-definitions/include/dns/dynamic-service-wait-expiry-time.xml.i b/interface-definitions/include/dns/dynamic-service-wait-expiry-time.xml.i
new file mode 100644
index 000000000..866690cbe
--- /dev/null
+++ b/interface-definitions/include/dns/dynamic-service-wait-expiry-time.xml.i
@@ -0,0 +1,28 @@
+<!-- include start from dns/dynamic-service-wait-expiry-time.xml.i -->
+<leafNode name="wait-time">
+ <properties>
+ <help>Time in seconds to wait between update attempts</help>
+ <valueHelp>
+ <format>u32:60-86400</format>
+ <description>Time in seconds</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 60-86400"/>
+ </constraint>
+ <constraintErrorMessage>Wait time must be between 60 and 86400 seconds</constraintErrorMessage>
+ </properties>
+</leafNode>
+<leafNode name="expiry-time">
+ <properties>
+ <help>Time in seconds for the hostname to be marked expired in cache</help>
+ <valueHelp>
+ <format>u32:300-2160000</format>
+ <description>Time in seconds</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 300-2160000"/>
+ </constraint>
+ <constraintErrorMessage>Expiry time must be between 300 and 2160000 seconds</constraintErrorMessage>
+ </properties>
+</leafNode>
+<!-- include end -->