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:
Jafar Al-Gharaibeh 2024-10-21 13:39:39 -05:00 committed by GitHub
commit 6bb1cc1541
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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.