diff options
author | hagbard <vyosdev@derith.de> | 2018-08-17 19:32:47 +0000 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2018-08-17 19:32:47 +0000 |
commit | f184700bdb0c070be7f3bf9d9b2712581c29e798 (patch) | |
tree | e7d608874d96af2df8562c323d2bdc7235f218d9 /interface-definitions | |
parent | 85a80fe59443a91b66185a06e192f99bec30af68 (diff) | |
download | vyos-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.xml | 9 |
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> |