]> git.puffer.fish Git - matthieu/frr.git/commitdiff
bgpd: BUM flooding display change
authorPooja <pdoijode@nvidia.com>
Tue, 2 Aug 2022 22:16:14 +0000 (15:16 -0700)
committerPooja <pdoijode@nvidia.com>
Tue, 2 Aug 2022 22:16:14 +0000 (15:16 -0700)
Changed BUM flooding output in 'show bgp l2vpn evpn vni'
command from 'Head-end replication' to 'Enabled'

Signed-off-by: Pooja Doijode <pdoijode@nvidia.com>
bgpd/bgp_evpn_vty.c

index a94ff5ef64f12cd3fc31b08464fa64b3cd4e7d2b..2806f941cecad157b54358ceef9852c9c0a8992d 100644 (file)
@@ -4344,9 +4344,9 @@ DEFUN(show_bgp_l2vpn_evpn_vni,
                                                                 : "Disabled");
                        json_object_string_add(
                                json, "flooding",
-                               bgp_evpn->vxlan_flood_ctrl
-                                               == VXLAN_FLOOD_HEAD_END_REPL
-                                       ? "Head-end replication"
+                               bgp_evpn->vxlan_flood_ctrl ==
+                                               VXLAN_FLOOD_HEAD_END_REPL
+                                       ? "Enabled"
                                        : "Disabled");
                        json_object_int_add(json, "numVnis", num_vnis);
                        json_object_int_add(json, "numL2Vnis", num_l2vnis);
@@ -4361,9 +4361,9 @@ DEFUN(show_bgp_l2vpn_evpn_vni,
                        vty_out(vty, "Advertise All VNI flag: %s\n",
                                is_evpn_enabled() ? "Enabled" : "Disabled");
                        vty_out(vty, "BUM flooding: %s\n",
-                               bgp_evpn->vxlan_flood_ctrl
-                                               == VXLAN_FLOOD_HEAD_END_REPL
-                                       ? "Head-end replication"
+                               bgp_evpn->vxlan_flood_ctrl ==
+                                               VXLAN_FLOOD_HEAD_END_REPL
+                                       ? "Enabled"
                                        : "Disabled");
                        vty_out(vty, "Number of L2 VNIs: %u\n", num_l2vnis);
                        vty_out(vty, "Number of L3 VNIs: %u\n", num_l3vnis);