Merge pull request #9381 from AnuradhaKaruppiah/evpn-mh-display

bgpd: remove es_path VNI display from type-2 routes
This commit is contained in:
Sri Mohana Singamsetty 2021-09-14 09:39:13 -07:00 committed by GitHub
commit 2a8ded2b97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8980,8 +8980,6 @@ void route_vty_out(struct vty *vty, const struct prefix *p,
vty_out(vty, "\n");
if (safi == SAFI_EVPN) {
struct bgp_path_es_info *path_es_info = NULL;
if (bgp_evpn_is_esi_valid(&attr->esi)) {
/* XXX - add these params to the json out */
vty_out(vty, "%*s", 20, " ");
@ -8989,13 +8987,6 @@ void route_vty_out(struct vty *vty, const struct prefix *p,
esi_to_str(&attr->esi, esi_buf,
sizeof(esi_buf)));
if (path->extra && path->extra->mh_info)
path_es_info =
path->extra->mh_info->es_info;
if (path_es_info && path_es_info->es)
vty_out(vty, " VNI: %u",
path_es_info->vni);
vty_out(vty, "\n");
}
if (attr->flag &