summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-wireless.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/interfaces-wireless.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/interfaces-wireless.xml.in')
-rw-r--r--interface-definitions/interfaces-wireless.xml.in20
1 files changed, 10 insertions, 10 deletions
diff --git a/interface-definitions/interfaces-wireless.xml.in b/interface-definitions/interfaces-wireless.xml.in
index ce211b9ce..86f529278 100644
--- a/interface-definitions/interfaces-wireless.xml.in
+++ b/interface-definitions/interfaces-wireless.xml.in
@@ -257,7 +257,7 @@
<properties>
<help>VHT operating channel center frequency - center freq 1 (for use with 80, 80+80 and 160 modes)</help>
<valueHelp>
- <format>&lt;34-173&gt;</format>
+ <format>u32:34-173</format>
<description>5Ghz (802.11 a/h/j/n/ac) center channel index (use 42 for primary 80MHz channel 36)</description>
</valueHelp>
<constraint>
@@ -270,7 +270,7 @@
<properties>
<help>VHT operating channel center frequency - center freq 2 (for use with the 80+80 mode)</help>
<valueHelp>
- <format>34-173</format>
+ <format>u32:34-173</format>
<description>5Ghz (802.11 a/h/j/n/ac) center channel index (use 58 for primary 80MHz channel 52)</description>
</valueHelp>
<constraint>
@@ -338,7 +338,7 @@
<properties>
<help>Set the maximum length of A-MPDU pre-EOF padding that the station can receive</help>
<valueHelp>
- <format>&lt;0-7&gt;</format>
+ <format>u32:0-7</format>
<description>Maximum length of A-MPDU pre-EOF padding = 2 pow(13 + x) -1 octets</description>
</valueHelp>
<constraint>
@@ -435,11 +435,11 @@
<description>Automatic Channel Selection (ACS)</description>
</valueHelp>
<valueHelp>
- <format>&lt;1-14&gt;</format>
+ <format>u32:1-14</format>
<description>2.4Ghz (802.11 b/g/n) Channel</description>
</valueHelp>
<valueHelp>
- <format>&lt;34-173&gt;</format>
+ <format>u32:34-173</format>
<description>5Ghz (802.11 a/h/j/n/ac) Channel</description>
</valueHelp>
<constraint>
@@ -455,7 +455,7 @@
<list>us eu jp de uk cn es fr ru</list>
</completionHelp>
<valueHelp>
- <format>&lt;code%gt;</format>
+ <format>txt</format>
<description>ISO/IEC 3166-1 Country Code</description>
</valueHelp>
<constraint>
@@ -496,7 +496,7 @@
<properties>
<help>Maximum number of wireless radio stations. Excess stations will be rejected upon authentication request.</help>
<valueHelp>
- <format>&lt;1-2007&gt;</format>
+ <format>u32:1-2007</format>
<description>Number of allowed stations</description>
</valueHelp>
<constraint>
@@ -576,7 +576,7 @@
<properties>
<help>Transmission power reduction in dBm</help>
<valueHelp>
- <format>&lt;0-255&gt;</format>
+ <format>u32:0-255</format>
<description>TX power reduction in dBm</description>
</valueHelp>
<constraint>
@@ -599,7 +599,7 @@
<properties>
<help>WEP encryption key</help>
<valueHelp>
- <format>&lt;hexdigits&gt;</format>
+ <format>txt</format>
<description>Wired Equivalent Privacy key</description>
</valueHelp>
<constraint>
@@ -713,7 +713,7 @@
using special characters in the WPA passphrase then single
quotes are required.</help>
<valueHelp>
- <format>&lt;text&gt;</format>
+ <format>txt</format>
<description>Passphrase of at least 8 but not more than 63 printable characters</description>
</valueHelp>
<constraint>