diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-12-27 13:00:13 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-12-27 13:00:13 +0100 |
commit | 19161b72ea9d06327e75360e121753b5f9a754c8 (patch) | |
tree | 8e865ec47364b21af84691d4ddb1b886ad06d1bd /interface-definitions/protocols-rip.xml.in | |
parent | b32385f9acef1630771838a4e0baa9d0c40dd98e (diff) | |
download | vyos-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 < and >.
[1]: https://github.com/vyos/vyatta-cfg/blob/5aec1a0429f2f/etc/bash_completion.d/vyatta-cfg#L515-L566
Diffstat (limited to 'interface-definitions/protocols-rip.xml.in')
-rw-r--r-- | interface-definitions/protocols-rip.xml.in | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/interface-definitions/protocols-rip.xml.in b/interface-definitions/protocols-rip.xml.in index 107f0e0d5..34d0a5a10 100644 --- a/interface-definitions/protocols-rip.xml.in +++ b/interface-definitions/protocols-rip.xml.in @@ -11,7 +11,7 @@ <properties> <help>Administrative distance</help> <valueHelp> - <format><1-255></format> + <format>u32:1-255</format> <description>Administrative distance</description> </valueHelp> <constraint> @@ -36,7 +36,7 @@ <properties> <help>Metric of redistributed routes</help> <valueHelp> - <format><1-16></format> + <format>u32:1-16</format> <description>Redistributed routes metric</description> </valueHelp> <constraint> @@ -58,7 +58,7 @@ <properties> <help>Access list to apply to input packets</help> <valueHelp> - <format><0-4294967295></format> + <format>u32</format> <description>Access list to apply to input packets</description> </valueHelp> <completionHelp> @@ -73,7 +73,7 @@ <properties> <help>Access list to apply to output packets</help> <valueHelp> - <format><0-4294967295></format> + <format>u32</format> <description>Access list to apply to output packets</description> </valueHelp> <completionHelp> @@ -90,7 +90,7 @@ <properties> <help>Apply filtering to an interface</help> <valueHelp> - <format><text></format> + <format>txt</format> <description>Apply filtering to an interface</description> </valueHelp> <completionHelp> @@ -107,7 +107,7 @@ <properties> <help>Access list to apply to input packets</help> <valueHelp> - <format><0-4294967295></format> + <format>u32</format> <description>Access list to apply to input packets</description> </valueHelp> <completionHelp> @@ -122,7 +122,7 @@ <properties> <help>Access list to apply to output packets</help> <valueHelp> - <format><0-4294967295></format> + <format>u32</format> <description>Access list to apply to output packets</description> </valueHelp> <completionHelp> @@ -144,7 +144,7 @@ <properties> <help>Prefix-list to apply to input packets</help> <valueHelp> - <format><text></format> + <format>txt</format> <description>Prefix-list to apply to input packets</description> </valueHelp> <completionHelp> @@ -156,7 +156,7 @@ <properties> <help>Prefix-list to apply to output packets</help> <valueHelp> - <format><text></format> + <format>txt</format> <description>Prefix-list to apply to output packets</description> </valueHelp> <completionHelp> @@ -177,7 +177,7 @@ <properties> <help>Prefix-list to apply to input packets</help> <valueHelp> - <format><text></format> + <format>txt</format> <description>Prefix-list to apply to input packets</description> </valueHelp> <completionHelp> @@ -189,7 +189,7 @@ <properties> <help>Prefix-list to apply to output packets</help> <valueHelp> - <format><text></format> + <format>txt</format> <description>Prefix-list to apply to output packets</description> </valueHelp> <completionHelp> @@ -205,7 +205,7 @@ <properties> <help>Interface name</help> <valueHelp> - <format><text></format> + <format>txt</format> <description>Apply filtering to an interface</description> </valueHelp> <completionHelp> @@ -218,7 +218,7 @@ <properties> <help>Neighbor router</help> <valueHelp> - <format>ipv4</format> + <format>ipv4</format> <description>Neighbor router</description> </valueHelp> <constraint> @@ -231,7 +231,7 @@ <properties> <help>RIP network</help> <valueHelp> - <format>ipv4net</format> + <format>ipv4net</format> <description>RIP network</description> </valueHelp> <constraint> @@ -244,7 +244,7 @@ <properties> <help>Source network</help> <valueHelp> - <format>ipv4net</format> + <format>ipv4net</format> <description>Source network</description> </valueHelp> <constraint> @@ -256,7 +256,7 @@ <properties> <help>Access list</help> <valueHelp> - <format><text></format> + <format>txt</format> <description>Access list</description> </valueHelp> <completionHelp> @@ -268,7 +268,7 @@ <properties> <help>Administrative distance for network</help> <valueHelp> - <format><1-255></format> + <format>u32:1-255</format> <description>Administrative distance</description> </valueHelp> <constraint> @@ -282,7 +282,7 @@ <properties> <help>Passive interface</help> <valueHelp> - <format><text></format> + <format>txt</format> <description>Suppress routing updates on interface</description> </valueHelp> <valueHelp> @@ -347,7 +347,7 @@ <properties> <help>RIP static route</help> <valueHelp> - <format>ipv4net</format> + <format>ipv4net</format> <description>RIP static route</description> </valueHelp> <constraint> @@ -365,7 +365,7 @@ <properties> <help>Garbage collection timer</help> <valueHelp> - <format><5-2147483647></format> + <format>u32:5-2147483647</format> <description>Garbage colletion time (default 120)</description> </valueHelp> <constraint> @@ -377,7 +377,7 @@ <properties> <help>Routing information timeout timer</help> <valueHelp> - <format><5-2147483647></format> + <format>u32:5-2147483647</format> <description>Routing information timeout timer (default 180)</description> </valueHelp> <constraint> @@ -389,7 +389,7 @@ <properties> <help>Routing table update timer</help> <valueHelp> - <format><5-2147483647></format> + <format>u32:5-2147483647</format> <description>Routing table update timer in seconds (default 30)</description> </valueHelp> <constraint> |