Merge pull request #12256 from opensourcerouting/fix/llgr_max_values

bgpd: Cap LLGR stale-time to 16777215
This commit is contained in:
Donald Sharp 2022-11-04 08:00:06 -04:00 committed by GitHub
commit efda3db030
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -3394,7 +3394,7 @@ DEFUN (no_bgp_graceful_restart_rib_stale_time,
} }
DEFUN(bgp_llgr_stalepath_time, bgp_llgr_stalepath_time_cmd, DEFUN(bgp_llgr_stalepath_time, bgp_llgr_stalepath_time_cmd,
"bgp long-lived-graceful-restart stale-time (1-4294967295)", "bgp long-lived-graceful-restart stale-time (1-16777215)",
BGP_STR BGP_STR
"Enable Long-lived Graceful Restart\n" "Enable Long-lived Graceful Restart\n"
"Specifies maximum time to wait before purging long-lived stale routes\n" "Specifies maximum time to wait before purging long-lived stale routes\n"
@ -3411,7 +3411,7 @@ DEFUN(bgp_llgr_stalepath_time, bgp_llgr_stalepath_time_cmd,
} }
DEFUN(no_bgp_llgr_stalepath_time, no_bgp_llgr_stalepath_time_cmd, DEFUN(no_bgp_llgr_stalepath_time, no_bgp_llgr_stalepath_time_cmd,
"no bgp long-lived-graceful-restart stale-time [(1-4294967295)]", "no bgp long-lived-graceful-restart stale-time [(1-16777215)]",
NO_STR BGP_STR NO_STR BGP_STR
"Enable Long-lived Graceful Restart\n" "Enable Long-lived Graceful Restart\n"
"Specifies maximum time to wait before purging long-lived stale routes\n" "Specifies maximum time to wait before purging long-lived stale routes\n"

View File

@ -1052,7 +1052,7 @@ Long-lived Graceful Restart
Currently, only restarter mode is supported. This capability is advertised only Currently, only restarter mode is supported. This capability is advertised only
if graceful restart capability is negotiated. if graceful restart capability is negotiated.
.. clicmd:: bgp long-lived-graceful-restart stale-time (1-4294967295) .. clicmd:: bgp long-lived-graceful-restart stale-time (1-16777215)
Specifies the maximum time to wait before purging long-lived stale routes for Specifies the maximum time to wait before purging long-lived stale routes for
helper routers. helper routers.