summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-mpls.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/protocols-mpls.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/protocols-mpls.xml.in')
-rw-r--r--interface-definitions/protocols-mpls.xml.in54
1 files changed, 27 insertions, 27 deletions
diff --git a/interface-definitions/protocols-mpls.xml.in b/interface-definitions/protocols-mpls.xml.in
index 284d4d7f3..de1aa436d 100644
--- a/interface-definitions/protocols-mpls.xml.in
+++ b/interface-definitions/protocols-mpls.xml.in
@@ -40,7 +40,7 @@
<properties>
<help>Access-list number</help>
<valueHelp>
- <format>1-2699</format>
+ <format>u32:1-2699</format>
<description>Access list number</description>
</valueHelp>
<constraint>
@@ -59,7 +59,7 @@
<properties>
<help>Access-list6 number</help>
<valueHelp>
- <format>1-2699</format>
+ <format>u32:1-2699</format>
<description>Access list number</description>
</valueHelp>
<constraint>
@@ -95,7 +95,7 @@
<list>disable</list>
</completionHelp>
<valueHelp>
- <format>&lt;1-254&gt;</format>
+ <format>u32:1-254</format>
<description>TTL</description>
</valueHelp>
<valueHelp>
@@ -108,7 +108,7 @@
<properties>
<help>Session IPv4 hold time</help>
<valueHelp>
- <format>15-65535</format>
+ <format>u32:15-65535</format>
<description>Time in seconds</description>
</valueHelp>
<constraint>
@@ -131,7 +131,7 @@
<properties>
<help>Hello IPv4 hold time</help>
<valueHelp>
- <format>1-65535</format>
+ <format>u32:1-65535</format>
<description>Time in seconds</description>
</valueHelp>
<constraint>
@@ -143,7 +143,7 @@
<properties>
<help>Hello IPv4 interval</help>
<valueHelp>
- <format>1-65535</format>
+ <format>u32:1-65535</format>
<description>Time in seconds</description>
</valueHelp>
<constraint>
@@ -155,7 +155,7 @@
<properties>
<help>Hello IPv6 hold time</help>
<valueHelp>
- <format>1-65535</format>
+ <format>u32:1-65535</format>
<description>Time in seconds</description>
</valueHelp>
<constraint>
@@ -167,7 +167,7 @@
<properties>
<help>Hello IPv6 interval</help>
<valueHelp>
- <format>1-65535</format>
+ <format>u32:1-65535</format>
<description>Time in seconds</description>
</valueHelp>
<constraint>
@@ -179,7 +179,7 @@
<properties>
<help>Session IPv4 hold time</help>
<valueHelp>
- <format>15-65535</format>
+ <format>u32:15-65535</format>
<description>Time in seconds</description>
</valueHelp>
<constraint>
@@ -191,7 +191,7 @@
<properties>
<help>Session IPv6 hold time</help>
<valueHelp>
- <format>15-65535</format>
+ <format>u32:15-65535</format>
<description>Time in seconds</description>
</valueHelp>
<constraint>
@@ -258,7 +258,7 @@
<properties>
<help>Hello interval</help>
<valueHelp>
- <format>1-65535</format>
+ <format>u32:1-65535</format>
<description>Time in seconds</description>
</valueHelp>
<constraint>
@@ -270,7 +270,7 @@
<properties>
<help>Hello hold time</help>
<valueHelp>
- <format>1-65535</format>
+ <format>u32:1-65535</format>
<description>Time in seconds</description>
</valueHelp>
<constraint>
@@ -308,7 +308,7 @@
<properties>
<help>Hello interval</help>
<valueHelp>
- <format>1-65535</format>
+ <format>u32:1-65535</format>
<description>Time in seconds</description>
</valueHelp>
<constraint>
@@ -320,7 +320,7 @@
<properties>
<help>Hello hold time</help>
<valueHelp>
- <format>1-65535</format>
+ <format>u32:1-65535</format>
<description>Time in seconds</description>
</valueHelp>
<constraint>
@@ -382,7 +382,7 @@
<properties>
<help>Access-list number to apply FEC filtering</help>
<valueHelp>
- <format>1-2699</format>
+ <format>u32:1-2699</format>
<description>Access list number</description>
</valueHelp>
<constraint>
@@ -394,7 +394,7 @@
<properties>
<help>Access-list number for IPv4 neighbor selection to apply filtering</help>
<valueHelp>
- <format>1-2699</format>
+ <format>u32:1-2699</format>
<description>Access list number</description>
</valueHelp>
<constraint>
@@ -403,7 +403,7 @@
</properties>
</leafNode>
</children>
- </node>
+ </node>
</children>
</node>
<node name="ipv6">
@@ -426,7 +426,7 @@
<properties>
<help>Access-list6 number to apply FEC filtering</help>
<valueHelp>
- <format>1-2699</format>
+ <format>u32:1-2699</format>
<description>Access list number</description>
</valueHelp>
<constraint>
@@ -438,7 +438,7 @@
<properties>
<help>Access-list6 number for IPv6 neighbor selection to apply filtering</help>
<valueHelp>
- <format>1-2699</format>
+ <format>u32:1-2699</format>
<description>Access list number</description>
</valueHelp>
<constraint>
@@ -447,7 +447,7 @@
</properties>
</leafNode>
</children>
- </node>
+ </node>
</children>
</node>
</children>
@@ -471,7 +471,7 @@
<properties>
<help>Access-list number to apply FEC filtering</help>
<valueHelp>
- <format>1-2699</format>
+ <format>u32:1-2699</format>
<description>Access list number</description>
</valueHelp>
<constraint>
@@ -483,7 +483,7 @@
<properties>
<help>Access-list number for IPv4 neighbor selection to apply filtering</help>
<valueHelp>
- <format>1-2699</format>
+ <format>u32:1-2699</format>
<description>Access list number</description>
</valueHelp>
<constraint>
@@ -492,7 +492,7 @@
</properties>
</leafNode>
</children>
- </node>
+ </node>
</children>
</node>
<node name="ipv6">
@@ -509,7 +509,7 @@
<properties>
<help>Access-list6 number to apply FEC filtering</help>
<valueHelp>
- <format>1-2699</format>
+ <format>u32:1-2699</format>
<description>Access list number</description>
</valueHelp>
<constraint>
@@ -521,7 +521,7 @@
<properties>
<help>Access-list6 number for IPv6 neighbor selection to apply filtering</help>
<valueHelp>
- <format>1-2699</format>
+ <format>u32:1-2699</format>
<description>Access list number</description>
</valueHelp>
<constraint>
@@ -530,7 +530,7 @@
</properties>
</leafNode>
</children>
- </node>
+ </node>
</children>
</node>
</children>
@@ -561,7 +561,7 @@
<properties>
<help>Maximum TTL for MPLS packets</help>
<valueHelp>
- <format>1-255</format>
+ <format>u32:1-255</format>
<description>Maximum hops allowed</description>
</valueHelp>
<constraint>