diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-02-20 18:30:44 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-02-20 19:02:26 +0000 |
commit | 6bf5a0b0dd489a480dce6030e1c61d29e77fa107 (patch) | |
tree | b89801258f0a5ae80daa241f51dac38475676a02 /interface-definitions | |
parent | b586558a591baf01488fe4f9f32037de7239ae87 (diff) | |
download | vyos-1x-6bf5a0b0dd489a480dce6030e1c61d29e77fa107.tar.gz vyos-1x-6bf5a0b0dd489a480dce6030e1c61d29e77fa107.zip |
ipsec: T1856: Ability to set SA life bytes and packets
set vpn ipsec esp-group grp-ESP life-bytes '100000'
set vpn ipsec esp-group grp-ESP life-packets '2000000'
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 afa3d52a0..af92eec31 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> |