summaryrefslogtreecommitdiff
path: root/lib/routemap_cli.c
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2022-10-31 11:24:43 -0400
committerGitHub <noreply@github.com>2022-10-31 11:24:43 -0400
commita5dac029016a780251931e1c1806ca2050c5a044 (patch)
tree307736ad495775343a124bd79ccc0ae6cc862959 /lib/routemap_cli.c
parenteec5525e9d918708cafc9813b9b9cb619f76d61d (diff)
parent97a52c82a569f4a2ba792fbd734f5e635a057e6f (diff)
Merge pull request #12114 from opensourcerouting/feature/bgp_aigp_attribute
bgpd: Implement AIGP
Diffstat (limited to 'lib/routemap_cli.c')
-rw-r--r--lib/routemap_cli.c5
1 files changed, 5 insertions, 0 deletions
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(