mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 14:17:20 +00:00
Merge pull request #17176 from FRRouting/mergify/bp/stable/10.1/pr-17169
bgpd: allow value 0 in aigp-metric setting (backport #17169)
This commit is contained in:
commit
6bb1cc1541
@ -7140,7 +7140,7 @@ DEFUN_YANG (no_set_atomic_aggregate,
|
||||
|
||||
DEFPY_YANG (set_aigp_metric,
|
||||
set_aigp_metric_cmd,
|
||||
"set aigp-metric <igp-metric|(1-4294967295)>$aigp_metric",
|
||||
"set aigp-metric <igp-metric|(0-4294967295)>$aigp_metric",
|
||||
SET_STR
|
||||
"BGP AIGP attribute (AIGP Metric TLV)\n"
|
||||
"AIGP Metric value from IGP protocol\n"
|
||||
@ -7160,7 +7160,7 @@ DEFPY_YANG (set_aigp_metric,
|
||||
|
||||
DEFPY_YANG (no_set_aigp_metric,
|
||||
no_set_aigp_metric_cmd,
|
||||
"no set aigp-metric [<igp-metric|(1-4294967295)>]",
|
||||
"no set aigp-metric [<igp-metric|(0-4294967295)>]",
|
||||
NO_STR
|
||||
SET_STR
|
||||
"BGP AIGP attribute (AIGP Metric TLV)\n"
|
||||
|
@ -320,7 +320,7 @@ Route Map Set Command
|
||||
|
||||
Set the maximum meric for the route.
|
||||
|
||||
.. clicmd:: set aigp-metric <igp-metric|(1-4294967295)>
|
||||
.. clicmd:: set aigp-metric <igp-metric|(0-4294967295)>
|
||||
|
||||
Set the BGP attribute AIGP to a specific value. If ``igp-metric`` is specified,
|
||||
then the value is taken from the IGP protocol, otherwise an arbitrary value.
|
||||
|
Loading…
Reference in New Issue
Block a user