diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-02-22 07:55:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 07:55:41 +0100 |
commit | 78f4a0776feef885f277939c498a3efbbebe2071 (patch) | |
tree | d6bbef04d437b18ae679816e5262f24623ec271c /interface-definitions | |
parent | d59fac9148ccbe677716baebac813c45b84de712 (diff) | |
parent | 6bf5a0b0dd489a480dce6030e1c61d29e77fa107 (diff) | |
download | vyos-1x-78f4a0776feef885f277939c498a3efbbebe2071.tar.gz vyos-1x-78f4a0776feef885f277939c498a3efbbebe2071.zip |
Merge pull request #1230 from sever-sever/T1856
ipsec: T1856: Ability to set SA life bytes and packets
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/vpn_ipsec.xml.in | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/interface-definitions/vpn_ipsec.xml.in b/interface-definitions/vpn_ipsec.xml.in index 58179b1c3..dae76218f 100644 --- a/interface-definitions/vpn_ipsec.xml.in +++ b/interface-definitions/vpn_ipsec.xml.in @@ -55,6 +55,30 @@ </properties> <defaultValue>3600</defaultValue> </leafNode> + <leafNode name="life-bytes"> + <properties> + <help>ESP life in bytes</help> + <valueHelp> + <format>u32:1024-26843545600000</format> + <description>ESP life in bytes</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1024-26843545600000"/> + </constraint> + </properties> + </leafNode> + <leafNode name="life-packets"> + <properties> + <help>ESP life in packets</help> + <valueHelp> + <format>u32:1000-26843545600000</format> + <description>ESP life in packets</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1000-26843545600000"/> + </constraint> + </properties> + </leafNode> <leafNode name="mode"> <properties> <help>ESP mode</help> |