summaryrefslogtreecommitdiff
path: root/interface-definitions/vpn_ipsec.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-07-03 18:05:48 +0200
committerChristian Poessinger <christian@poessinger.com>2021-07-03 18:11:38 +0200
commit32fab6c7c5a7d8ad926513fcc5a5c637b77769e3 (patch)
treee8c08b8ef9df6490c622bbbc2e5be9e61695efdb /interface-definitions/vpn_ipsec.xml.in
parent094d79aee118a75898ef9b85a77f211e0eacd94d (diff)
downloadvyos-1x-32fab6c7c5a7d8ad926513fcc5a5c637b77769e3.tar.gz
vyos-1x-32fab6c7c5a7d8ad926513fcc5a5c637b77769e3.zip
ipsec: T2816: provide esp and ike-group XML building block
Diffstat (limited to 'interface-definitions/vpn_ipsec.xml.in')
-rw-r--r--interface-definitions/vpn_ipsec.xml.in45
1 files changed, 5 insertions, 40 deletions
diff --git a/interface-definitions/vpn_ipsec.xml.in b/interface-definitions/vpn_ipsec.xml.in
index fdd091dd9..c301703c3 100644
--- a/interface-definitions/vpn_ipsec.xml.in
+++ b/interface-definitions/vpn_ipsec.xml.in
@@ -701,22 +701,8 @@
</leafNode>
</children>
</node>
- <leafNode name="esp-group">
- <properties>
- <help>ESP group name [REQUIRED]</help>
- <completionHelp>
- <path>vpn ipsec esp-group</path>
- </completionHelp>
- </properties>
- </leafNode>
- <leafNode name="ike-group">
- <properties>
- <help>IKE group name [REQUIRED]</help>
- <completionHelp>
- <path>vpn ipsec ike-group</path>
- </completionHelp>
- </properties>
- </leafNode>
+ #include <include/ipsec/esp-group.xml.i>
+ #include <include/ipsec/ike-group.xml.i>
</children>
</tagNode>
<node name="site-to-site">
@@ -878,14 +864,7 @@
</constraint>
</properties>
</leafNode>
- <leafNode name="ike-group">
- <properties>
- <help>Internet Key Exchange (IKE) group name [REQUIRED]</help>
- <completionHelp>
- <path>vpn ipsec ike-group</path>
- </completionHelp>
- </properties>
- </leafNode>
+ #include <include/ipsec/ike-group.xml.i>
<leafNode name="ikev2-reauth">
<properties>
<help>Re-authentication of the remote peer during an IKE re-key. IKEv2 option only</help>
@@ -944,14 +923,7 @@
</properties>
<children>
#include <include/generic-disable-node.xml.i>
- <leafNode name="esp-group">
- <properties>
- <help>ESP group name</help>
- <completionHelp>
- <path>vpn ipsec esp-group</path>
- </completionHelp>
- </properties>
- </leafNode>
+ #include <include/ipsec/esp-group.xml.i>
<node name="local">
<properties>
<help>Local parameters for interesting traffic</help>
@@ -1041,14 +1013,7 @@
<help>VTI tunnel interface associated with this configuration [REQUIRED]</help>
</properties>
</leafNode>
- <leafNode name="esp-group">
- <properties>
- <help>ESP group name [REQUIRED]</help>
- <completionHelp>
- <path>vpn ipsec esp-group</path>
- </completionHelp>
- </properties>
- </leafNode>
+ #include <include/ipsec/esp-group.xml.i>
</children>
</node>
</children>