summaryrefslogtreecommitdiff
path: root/interface-definitions/vpn_ipsec.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-29 10:52:24 +0100
committerChristian Poessinger <christian@poessinger.com>2020-12-29 10:55:39 +0100
commitda23f084863d6bde2bb50fcc175129610fe2a603 (patch)
tree87f3726572b14e889c944fba1b020be8e3743b92 /interface-definitions/vpn_ipsec.xml.in
parent8568da747d7103b8adea9b925b74101ea818e328 (diff)
downloadvyos-1x-da23f084863d6bde2bb50fcc175129610fe2a603.tar.gz
vyos-1x-da23f084863d6bde2bb50fcc175129610fe2a603.zip
xml: T1466: provide common includes for SSL certificate CLI nodes
Gather all SSL certificate, ca and key nodes into a single representation of XML which can be #included into the XML definitions of the CLI interface to be rendered.
Diffstat (limited to 'interface-definitions/vpn_ipsec.xml.in')
-rw-r--r--interface-definitions/vpn_ipsec.xml.in20
1 files changed, 2 insertions, 18 deletions
diff --git a/interface-definitions/vpn_ipsec.xml.in b/interface-definitions/vpn_ipsec.xml.in
index c804c1683..daf98a833 100644
--- a/interface-definitions/vpn_ipsec.xml.in
+++ b/interface-definitions/vpn_ipsec.xml.in
@@ -847,24 +847,8 @@
<help>X.509 certificate</help>
</properties>
<children>
- <leafNode name="ca-cert-file">
- <properties>
- <help>File containing the X.509 certificate for the Certificate Authority (CA)</help>
- <valueHelp>
- <format>txt</format>
- <description>File in /config/auth</description>
- </valueHelp>
- </properties>
- </leafNode>
- <leafNode name="cert-file">
- <properties>
- <help>File containing the X.509 certificate for this host</help>
- <valueHelp>
- <format>txt</format>
- <description>File in /config/auth</description>
- </valueHelp>
- </properties>
- </leafNode>
+ #include <include/certificate.xml.i>
+ #include <include/certificate-ca.xml.i>
<leafNode name="crl-file">
<properties>
<help>File containing the X.509 Certificate Revocation List (CRL)</help>