From 97a52c82a569f4a2ba792fbd734f5e635a057e6f Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Wed, 12 Oct 2022 21:06:47 +0300 Subject: bgpd: Implement Accumulated IGP Metric Attribute for BGP https://www.rfc-editor.org/rfc/rfc7311.html Signed-off-by: Donatas Abraitis --- lib/routemap_cli.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/routemap_cli.c') diff --git a/lib/routemap_cli.c b/lib/routemap_cli.c index 6be5d15ec4..e3da29bd71 100644 --- a/lib/routemap_cli.c +++ b/lib/routemap_cli.c @@ -1089,6 +1089,11 @@ void route_map_action_show(struct vty *vty, const struct lyd_node *dnode, "./rmap-set-action/frr-bgp-route-map:origin")); } else if (IS_SET_ATOMIC_AGGREGATE(action)) { vty_out(vty, " set atomic-aggregate\n"); + } else if (IS_SET_AIGP_METRIC(action)) { + vty_out(vty, " set aigp-metric %s\n", + yang_dnode_get_string( + dnode, + "./rmap-set-action/frr-bgp-route-map:aigp-metric")); } else if (IS_SET_ORIGINATOR_ID(action)) { vty_out(vty, " set originator-id %s\n", yang_dnode_get_string( -- cgit v1.2.3