mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 11:19:13 +00:00
Merge pull request #17169 from enkechen-panw/aigp-fix4
bgpd: allow value 0 in aigp-metric setting
This commit is contained in:
commit
2f84a26634
@ -7255,7 +7255,7 @@ DEFUN_YANG (no_set_atomic_aggregate,
|
|||||||
|
|
||||||
DEFPY_YANG (set_aigp_metric,
|
DEFPY_YANG (set_aigp_metric,
|
||||||
set_aigp_metric_cmd,
|
set_aigp_metric_cmd,
|
||||||
"set aigp-metric <igp-metric|(1-4294967295)>$aigp_metric",
|
"set aigp-metric <igp-metric|(0-4294967295)>$aigp_metric",
|
||||||
SET_STR
|
SET_STR
|
||||||
"BGP AIGP attribute (AIGP Metric TLV)\n"
|
"BGP AIGP attribute (AIGP Metric TLV)\n"
|
||||||
"AIGP Metric value from IGP protocol\n"
|
"AIGP Metric value from IGP protocol\n"
|
||||||
@ -7275,7 +7275,7 @@ DEFPY_YANG (set_aigp_metric,
|
|||||||
|
|
||||||
DEFPY_YANG (no_set_aigp_metric,
|
DEFPY_YANG (no_set_aigp_metric,
|
||||||
no_set_aigp_metric_cmd,
|
no_set_aigp_metric_cmd,
|
||||||
"no set aigp-metric [<igp-metric|(1-4294967295)>]",
|
"no set aigp-metric [<igp-metric|(0-4294967295)>]",
|
||||||
NO_STR
|
NO_STR
|
||||||
SET_STR
|
SET_STR
|
||||||
"BGP AIGP attribute (AIGP Metric TLV)\n"
|
"BGP AIGP attribute (AIGP Metric TLV)\n"
|
||||||
|
@ -331,7 +331,7 @@ Route Map Set Command
|
|||||||
|
|
||||||
Set the maximum metric for the route.
|
Set the maximum metric 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,
|
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.
|
then the value is taken from the IGP protocol, otherwise an arbitrary value.
|
||||||
|
Loading…
Reference in New Issue
Block a user