bgpd: change some <1-10> to (1-10>

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
This commit is contained in:
Daniel Walton 2016-09-28 05:07:45 +00:00
parent b62ecea584
commit d04c479dd9
5 changed files with 8 additions and 8 deletions

View File

@ -9817,7 +9817,7 @@ DEFUN (bgp_damp_set,
DEFUN (bgp_damp_unset,
bgp_damp_unset_cmd,
"no bgp dampening [<1-45> [<1-20000> <1-20000> <1-255>]]",
"no bgp dampening [(1-45) [(1-20000) (1-20000) (1-255)]]",
NO_STR
"BGP Specific commands\n"
"Enable route-flap dampening\n")

View File

@ -3711,7 +3711,7 @@ DEFUN (no_set_weight,
DEFUN (set_aspath_prepend,
set_aspath_prepend_cmd,
"set as-path prepend <(1-4294967295)...|last-as <1-10>",
"set as-path prepend <(1-4294967295)...|last-as (1-10)>",
SET_STR
"Transform BGP AS_PATH attribute\n"
"Prepend to the as-path\n"

View File

@ -5493,7 +5493,7 @@ DEFUN (neighbor_maximum_prefix_threshold_restart,
DEFUN (no_neighbor_maximum_prefix,
no_neighbor_maximum_prefix_cmd,
"no neighbor <A.B.C.D|X:X::X:X|WORD> maximum-prefix [<1-4294967295> [<1-100>] [restart <1-65535>] [warning-only]]",
"no neighbor <A.B.C.D|X:X::X:X|WORD> maximum-prefix [(1-4294967295) [(1-100)] [restart (1-65535)] [warning-only]]",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
@ -9746,7 +9746,7 @@ DEFUN (bgp_redistribute_ipv4_ospf_metric_rmap,
DEFUN (no_bgp_redistribute_ipv4_ospf,
no_bgp_redistribute_ipv4_ospf_cmd,
"no redistribute <ospf|table> (1-65535) [metric <0-4294967295>] [route-map WORD]",
"no redistribute <ospf|table> (1-65535) [metric (0-4294967295)] [route-map WORD]",
NO_STR
"Redistribute information from another routing protocol\n"
"Open Shortest Path First (OSPFv2)\n"
@ -9773,7 +9773,7 @@ DEFUN (no_bgp_redistribute_ipv4_ospf,
DEFUN (no_bgp_redistribute_ipv4,
no_bgp_redistribute_ipv4_cmd,
"no redistribute <kernel|connected|static|rip|ospf|isis|pim|table> [metric <0-4294967295>] [route-map WORD]",
"no redistribute <kernel|connected|static|rip|ospf|isis|pim|table> [metric (0-4294967295)] [route-map WORD]",
NO_STR
"Redistribute information from another routing protocol\n"
QUAGGA_IP_REDIST_HELP_STR_BGPD
@ -9931,7 +9931,7 @@ DEFUN (bgp_redistribute_ipv6_metric_rmap,
DEFUN (no_bgp_redistribute_ipv6,
no_bgp_redistribute_ipv6_cmd,
"no redistribute <kernel|connected|static|ripng|ospf6|isis|table> [metric <0-4294967295>] [route-map WORD]",
"no redistribute <kernel|connected|static|ripng|ospf6|isis|table> [metric (0-4294967295)] [route-map WORD]",
NO_STR
"Redistribute information from another routing protocol\n"
QUAGGA_IP6_REDIST_HELP_STR_BGPD

View File

@ -2556,7 +2556,7 @@ DEFUN (ripng_timers,
DEFUN (no_ripng_timers,
no_ripng_timers_cmd,
"no timers basic [(0-65535) (0-65535) (0-65535)",
"no timers basic [(0-65535) (0-65535) (0-65535)]",
NO_STR
"RIPng timers setup\n"
"Basic timer\n"

View File

@ -38,7 +38,7 @@ def token_is_variable(line_number, token):
return True
if token.startswith('('):
assert token.endswith(')'), "%d: token %s should end with )" % (line_number, token)
assert token.endswith(')') or token.endswith(')...'), "%d: token %s should end with )" % (line_number, token)
return True
if token.startswith('['):