summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2021-06-29 11:06:44 +0200
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2021-06-29 21:26:44 +0200
commitf5a8a9cdfe52c331177c8bc7b8fb84fc08d4f60a (patch)
tree932113197018d823ca83e092139c8a06f89e3b99 /interface-definitions/include
parent6f66e71e4622c54058b8689d4be730905d69fe22 (diff)
downloadvyos-1x-f5a8a9cdfe52c331177c8bc7b8fb84fc08d4f60a.tar.gz
vyos-1x-f5a8a9cdfe52c331177c8bc7b8fb84fc08d4f60a.zip
pki: ipsec: T3642: Migrate IPSec to use PKI configuration
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/pki/certificate-key.xml.i15
-rw-r--r--interface-definitions/include/pki/dh-parameters.xml.i14
-rw-r--r--interface-definitions/include/pki/openvpn_tls-auth.xml.i14
3 files changed, 2 insertions, 41 deletions
diff --git a/interface-definitions/include/pki/certificate-key.xml.i b/interface-definitions/include/pki/certificate-key.xml.i
index b68f38442..7f26d25c1 100644
--- a/interface-definitions/include/pki/certificate-key.xml.i
+++ b/interface-definitions/include/pki/certificate-key.xml.i
@@ -1,17 +1,6 @@
<!-- include start from pki/certificate-key.xml.i -->
-<leafNode name="certificate">
- <properties>
- <help>Certificate and private key in PKI configuration</help>
- <valueHelp>
- <format>cert name</format>
- <description>Name of certificate in PKI configuration</description>
- </valueHelp>
- <completionHelp>
- <path>pki certificate</path>
- </completionHelp>
- </properties>
-</leafNode>
-<leafNode name="private-key-passphrase">
+#include <include/pki/certificate.xml.i>
+<leafNode name="passphrase">
<properties>
<help>Private key passphrase</help>
<valueHelp>
diff --git a/interface-definitions/include/pki/dh-parameters.xml.i b/interface-definitions/include/pki/dh-parameters.xml.i
deleted file mode 100644
index 6e69528e7..000000000
--- a/interface-definitions/include/pki/dh-parameters.xml.i
+++ /dev/null
@@ -1,14 +0,0 @@
-<!-- include start from pki/dh-parameters.xml.i -->
-<leafNode name="dh-parameters">
- <properties>
- <help>Diffie-Hellman parameters in PKI configuration</help>
- <valueHelp>
- <format>DH name</format>
- <description>Name of DH params in PKI configuration</description>
- </valueHelp>
- <completionHelp>
- <path>pki dh</path>
- </completionHelp>
- </properties>
-</leafNode>
-<!-- include end -->
diff --git a/interface-definitions/include/pki/openvpn_tls-auth.xml.i b/interface-definitions/include/pki/openvpn_tls-auth.xml.i
deleted file mode 100644
index 2b9a69653..000000000
--- a/interface-definitions/include/pki/openvpn_tls-auth.xml.i
+++ /dev/null
@@ -1,14 +0,0 @@
-<!-- include start from pki/openvpn_tls-auth.xml.i -->
-<leafNode name="auth-key">
- <properties>
- <help>Static key for tls-auth in PKI configuration</help>
- <valueHelp>
- <format>key name</format>
- <description>Name of static key in PKI configuration</description>
- </valueHelp>
- <completionHelp>
- <path>pki openvpn tls-auth</path>
- </completionHelp>
- </properties>
-</leafNode>
-<!-- include end -->