summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2018-08-17 19:32:47 +0000
committerhagbard <vyosdev@derith.de>2018-08-17 19:32:47 +0000
commitf184700bdb0c070be7f3bf9d9b2712581c29e798 (patch)
treee7d608874d96af2df8562c323d2bdc7235f218d9 /interface-definitions
parent85a80fe59443a91b66185a06e192f99bec30af68 (diff)
downloadvyos-1x-f184700bdb0c070be7f3bf9d9b2712581c29e798.tar.gz
vyos-1x-f184700bdb0c070be7f3bf9d9b2712581c29e798.zip
T783: conf mode persistent-keepalive implementation
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/wireguard.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/interface-definitions/wireguard.xml b/interface-definitions/wireguard.xml
index 008f82a0b..eec7a404b 100644
--- a/interface-definitions/wireguard.xml
+++ b/interface-definitions/wireguard.xml
@@ -68,6 +68,15 @@
<help>Remote endpoint</help>
</properties>
</leafNode>
+ <leafNode name="persistent-keepalive">
+ <properties>
+ <help>how often send keep alives in seconds</help>
+ <constraint>
+ <regex>^(1|[1-9][0-9]{0,5})$</regex>
+ </constraint>
+ <constraintErrorMessage>keepliave timer has to be between 1 and 99999 seconds</constraintErrorMessage>
+ </properties>
+ </leafNode>
</children>
</tagNode>