summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2025-07-28 13:27:20 +0100
committerGitHub <noreply@github.com>2025-07-28 13:27:20 +0100
commitfd2df0f1b34609fea5dc186b3898a0c786e1bf2b (patch)
tree2e7097915bea996714fcf30e9f72faf903d7b38f /interface-definitions
parentfc5ea5bdf1a1fb0092d2f4847b100b29f1ac25a4 (diff)
parentcdb97173c8ba251c577e30bb324555a418c32828 (diff)
downloadvyos-1x-fd2df0f1b34609fea5dc186b3898a0c786e1bf2b.tar.gz
vyos-1x-fd2df0f1b34609fea5dc186b3898a0c786e1bf2b.zip
Merge pull request #4608 from alexandr-san4ez/T7593-current
ipsec: T7593: Add dynamic prefix for local and remote traffic selectors
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/vpn_ipsec.xml.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/interface-definitions/vpn_ipsec.xml.in b/interface-definitions/vpn_ipsec.xml.in
index a54b16736..517bf89fd 100644
--- a/interface-definitions/vpn_ipsec.xml.in
+++ b/interface-definitions/vpn_ipsec.xml.in
@@ -1228,6 +1228,13 @@
#include <include/generic-disable-node.xml.i>
#include <include/ipsec/esp-group.xml.i>
#include <include/ipsec/local-traffic-selector.xml.i>
+ <node name="local">
+ <children>
+ <leafNode name="prefix">
+ <defaultValue>dynamic</defaultValue>
+ </leafNode>
+ </children>
+ </node>
#include <include/ip-protocol.xml.i>
<leafNode name="priority">
<properties>
@@ -1264,6 +1271,7 @@
</constraint>
<multi/>
</properties>
+ <defaultValue>dynamic</defaultValue>
</leafNode>
</children>
</node>