summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols_rpki.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-02-09 08:14:21 +0100
committerGitHub <noreply@github.com>2024-02-09 08:14:21 +0100
commit267579006a98fbdc5802b428d24a917421a56cb2 (patch)
treec12e76e2c053395bf9d64d6322dce71dd6670b8a /interface-definitions/protocols_rpki.xml.in
parenta2f58cd50cf911e1ac9b4fb0646ab49522bee985 (diff)
parent402aba6cdb4e5a2e19edfd1a8c4bda6624bfb6e4 (diff)
downloadvyos-1x-267579006a98fbdc5802b428d24a917421a56cb2.tar.gz
vyos-1x-267579006a98fbdc5802b428d24a917421a56cb2.zip
Merge pull request #2972 from vyos/mergify/bp/sagitta/pr-2955
rpki: T6023: add support for CLI knobs expire-interval and retry-interval (backport #2955)
Diffstat (limited to 'interface-definitions/protocols_rpki.xml.in')
-rw-r--r--interface-definitions/protocols_rpki.xml.in30
1 files changed, 28 insertions, 2 deletions
diff --git a/interface-definitions/protocols_rpki.xml.in b/interface-definitions/protocols_rpki.xml.in
index 6a38b2961..a2a0a2799 100644
--- a/interface-definitions/protocols_rpki.xml.in
+++ b/interface-definitions/protocols_rpki.xml.in
@@ -67,12 +67,25 @@
</node>
</children>
</tagNode>
+ <leafNode name="expire-interval">
+ <properties>
+ <help>Interval to wait before expiring the cache</help>
+ <valueHelp>
+ <format>u32:600-172800</format>
+ <description>Interval in seconds</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 600-172800"/>
+ </constraint>
+ </properties>
+ <defaultValue>7200</defaultValue>
+ </leafNode>
<leafNode name="polling-period">
<properties>
- <help>RPKI cache polling period</help>
+ <help>Cache polling interval</help>
<valueHelp>
<format>u32:1-86400</format>
- <description>Polling period in seconds</description>
+ <description>Interval in seconds</description>
</valueHelp>
<constraint>
<validator name="numeric" argument="--range 1-86400"/>
@@ -80,6 +93,19 @@
</properties>
<defaultValue>300</defaultValue>
</leafNode>
+ <leafNode name="retry-interval">
+ <properties>
+ <help>Retry interval to connect to the cache server</help>
+ <valueHelp>
+ <format>u32:1-7200</format>
+ <description>Interval in seconds</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-7200"/>
+ </constraint>
+ </properties>
+ <defaultValue>600</defaultValue>
+ </leafNode>
</children>
</node>
</children>