summaryrefslogtreecommitdiff
path: root/interface-definitions/vpn_ipsec.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-27 13:00:13 +0100
committerChristian Poessinger <christian@poessinger.com>2020-12-27 13:00:13 +0100
commit19161b72ea9d06327e75360e121753b5f9a754c8 (patch)
tree8e865ec47364b21af84691d4ddb1b886ad06d1bd /interface-definitions/vpn_ipsec.xml.in
parentb32385f9acef1630771838a4e0baa9d0c40dd98e (diff)
downloadvyos-1x-19161b72ea9d06327e75360e121753b5f9a754c8.tar.gz
vyos-1x-19161b72ea9d06327e75360e121753b5f9a754c8.zip
xml: fix valueHelp format strings
A pre-defined list of common format strings to be used inside the <format> node of <valueHelp> is available from [1]. Adjust all currently in use <format> nodes to re-use the predefined strings over writing them on their own by even encapsulating the <> signs as &lt; and &gt;. [1]: https://github.com/vyos/vyatta-cfg/blob/5aec1a0429f2f/etc/bash_completion.d/vyatta-cfg#L515-L566
Diffstat (limited to 'interface-definitions/vpn_ipsec.xml.in')
-rw-r--r--interface-definitions/vpn_ipsec.xml.in38
1 files changed, 19 insertions, 19 deletions
diff --git a/interface-definitions/vpn_ipsec.xml.in b/interface-definitions/vpn_ipsec.xml.in
index e03483a85..c804c1683 100644
--- a/interface-definitions/vpn_ipsec.xml.in
+++ b/interface-definitions/vpn_ipsec.xml.in
@@ -11,7 +11,7 @@
<properties>
<help>Set auto-update interval for IPsec daemon</help>
<valueHelp>
- <format>30-65535</format>
+ <format>u32:30-65535</format>
<description>Auto-update interval (s)</description>
</valueHelp>
<constraint>
@@ -53,7 +53,7 @@
<properties>
<help>ESP lifetime</help>
<valueHelp>
- <format>30-86400</format>
+ <format>u32:30-86400</format>
<description>ESP lifetime in seconds (default 3600)</description>
</valueHelp>
<constraint>
@@ -191,7 +191,7 @@
<properties>
<help>ESP-group proposal [REQUIRED]</help>
<valueHelp>
- <format>&lt;1-65535&gt;</format>
+ <format>u32:1-65535</format>
<description>ESP-group proposal number</description>
</valueHelp>
</properties>
@@ -266,7 +266,7 @@
<properties>
<help>Keep-alive interval</help>
<valueHelp>
- <format>&lt;2-86400&gt;</format>
+ <format>u32:2-86400</format>
<description>Keep-alive interval in seconds (default 30)</description>
</valueHelp>
<constraint>
@@ -278,7 +278,7 @@
<properties>
<help>Dead-Peer-Detection keep-alive timeout (IKEv1 only)</help>
<valueHelp>
- <format>&lt;2-86400&gt;</format>
+ <format>u32:2-86400</format>
<description>Keep-alive timeout in seconds (default 120)</description>
</valueHelp>
<constraint>
@@ -330,7 +330,7 @@
<properties>
<help>IKE lifetime</help>
<valueHelp>
- <format>&lt;30-86400&gt;</format>
+ <format>u32:30-86400</format>
<description>IKE lifetime in seconds (default 28800)</description>
</valueHelp>
<constraint>
@@ -380,7 +380,7 @@
<properties>
<help>proposal_help</help>
<valueHelp>
- <format>&lt;1-65535&gt;</format>
+ <format>u32:1-65535</format>
<description>IKE-group proposal</description>
</valueHelp>
</properties>
@@ -525,7 +525,7 @@
<properties>
<help>strongSwan Logger Level</help>
<valueHelp>
- <format>&lt;0-2&gt;</format>
+ <format>u32:0-2</format>
<description>Logger Verbosity Level (default 0)</description>
</valueHelp>
<constraint>
@@ -712,7 +712,7 @@
<properties>
<help>Pre-shared secret key</help>
<valueHelp>
- <format>&lt;text&gt;</format>
+ <format>txt</format>
<description>Pre-shared secret key</description>
</valueHelp>
</properties>
@@ -767,7 +767,7 @@
<description>IPv6 address of the peer</description>
</valueHelp>
<valueHelp>
- <format>&lt;text&gt;</format>
+ <format>txt</format>
<description>Hostname of the peer</description>
</valueHelp>
<valueHelp>
@@ -785,7 +785,7 @@
<properties>
<help>ID for peer authentication</help>
<valueHelp>
- <format>&lt;text&gt;</format>
+ <format>txt</format>
<description>ID used for peer authentication</description>
</valueHelp>
</properties>
@@ -817,7 +817,7 @@
<properties>
<help>Pre-shared secret key</help>
<valueHelp>
- <format>&lt;text&gt;</format>
+ <format>txt</format>
<description>Pre-shared secret key</description>
</valueHelp>
</properties>
@@ -826,7 +826,7 @@
<properties>
<help>ID for remote authentication</help>
<valueHelp>
- <format>&lt;text&gt;</format>
+ <format>txt</format>
<description>ID used for peer authentication</description>
</valueHelp>
</properties>
@@ -851,7 +851,7 @@
<properties>
<help>File containing the X.509 certificate for the Certificate Authority (CA)</help>
<valueHelp>
- <format>&lt;text&gt;</format>
+ <format>txt</format>
<description>File in /config/auth</description>
</valueHelp>
</properties>
@@ -860,7 +860,7 @@
<properties>
<help>File containing the X.509 certificate for this host</help>
<valueHelp>
- <format>&lt;text&gt;</format>
+ <format>txt</format>
<description>File in /config/auth</description>
</valueHelp>
</properties>
@@ -869,7 +869,7 @@
<properties>
<help>File containing the X.509 Certificate Revocation List (CRL)</help>
<valueHelp>
- <format>&lt;text&gt;</format>
+ <format>txt</format>
<description>File in /config/auth</description>
</valueHelp>
</properties>
@@ -883,7 +883,7 @@
<properties>
<help>File containing the private key for the X.509 certificate for this host</help>
<valueHelp>
- <format>&lt;text&gt;</format>
+ <format>txt</format>
<description>File in /config/auth</description>
</valueHelp>
</properties>
@@ -892,7 +892,7 @@
<properties>
<help>Password that protects the private key</help>
<valueHelp>
- <format>&lt;text&gt;</format>
+ <format>txt</format>
<description>Password that protects the private key</description>
</valueHelp>
</properties>
@@ -1018,7 +1018,7 @@
<properties>
<help>Peer tunnel [REQUIRED]</help>
<valueHelp>
- <format>&lt;0-4294967295&gt;</format>
+ <format>u32</format>
<description>Peer tunnel [REQUIRED]</description>
</valueHelp>
</properties>