summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp-neighbor-afi-ipv4-unicast.xml.i
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/include/bgp-neighbor-afi-ipv4-unicast.xml.i
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/include/bgp-neighbor-afi-ipv4-unicast.xml.i')
-rw-r--r--interface-definitions/include/bgp-neighbor-afi-ipv4-unicast.xml.i10
1 files changed, 5 insertions, 5 deletions
diff --git a/interface-definitions/include/bgp-neighbor-afi-ipv4-unicast.xml.i b/interface-definitions/include/bgp-neighbor-afi-ipv4-unicast.xml.i
index 155817838..c5a83f045 100644
--- a/interface-definitions/include/bgp-neighbor-afi-ipv4-unicast.xml.i
+++ b/interface-definitions/include/bgp-neighbor-afi-ipv4-unicast.xml.i
@@ -13,7 +13,7 @@
<properties>
<help>Number of occurrences of AS number</help>
<valueHelp>
- <format>&lt;1-10&gt;</format>
+ <format>u32:1-10</format>
<description>Number of times AS is allowed in path</description>
</valueHelp>
<constraint>
@@ -114,7 +114,7 @@
<path>policy access-list</path>
</completionHelp>
<valueHelp>
- <format>&lt;1-65535&gt;</format>
+ <format>u32:1-65535</format>
<description>Access-list to filter outgoing IPv4-route updates to this neighbor</description>
</valueHelp>
<constraint>
@@ -129,7 +129,7 @@
<path>policy access-list</path>
</completionHelp>
<valueHelp>
- <format>&lt;1-65535&gt;</format>
+ <format>u32:1-65535</format>
<description>Access-list to filter incoming IPv4-route updates from this neighbor</description>
</valueHelp>
<constraint>
@@ -166,7 +166,7 @@
<properties>
<help>Maximum number of IPv4-prefixes to accept from this neighbor</help>
<valueHelp>
- <format>&lt;1-4294967295&gt;</format>
+ <format>u32:1-4294967295</format>
<description>Prefix limit</description>
</valueHelp>
<constraint>
@@ -273,7 +273,7 @@
<properties>
<help>Default weight for routes from this neighbor</help>
<valueHelp>
- <format>&lt;1-65535&gt;</format>
+ <format>u32:1-65535</format>
<description>Weight for routes from this neighbor</description>
</valueHelp>
<constraint>