diff options
| author | anlan_cs <vic.lan@pica8.com> | 2022-11-12 23:52:09 -0500 | 
|---|---|---|
| committer | anlan_cs <vic.lan@pica8.com> | 2023-01-04 03:49:39 -0500 | 
| commit | 07b9f44dfa9d6d28beb2baa3f9aeee223303cb63 (patch) | |
| tree | c9c2a77f4f8dc8e37c86e6c41b476eed349e3f50 /bgpd/bgp_evpn.c | |
| parent | 23691a80d7c3cd7df5be098171baee7b10c7bfda (diff) | |
bgpd: remove one EC log
When creating one interface "vxlan66" ( ip link add vxlan66 type vxlan ... ),
which initially maintains down status, saw one unexpected EC log:
```
zebra[37906]: [ZAG0W-VSNSD] interface vxlan66 vrf default(0) index 35 becomes active.
zebra[37906]: [HPWGA-Y527W] IFLA_VXLAN_LINK missing from VXLAN IF message
...
zebra[37906]: [W6BZR-YZPAB] RTM_NEWLINK update for vxlan66(35) sl_type 0 master 0 flags 0x1002
zebra[37906]: [MR3ZF-ATDBY] Intf vxlan66(35) has gone DOWN
zebra[37906]: [T44X9-FFNVB] Intf vxlan66(35) L2-VNI 66 is DOWN
zebra[37906]: [KEGYY-K8XVV] Send EVPN_DEL 66 to bgp
zebra[37906]: [HPWGA-Y527W] IFLA_VXLAN_LINK missing from VXLAN IF message
bgpd[37911]: [TV0XP-3WR0A] Rx VNI del VRF default VNI 66 tenant-vrf default SVI ifindex 0
bgpd[37911]: [MDW89-YAXJG][EC 33554497] 0: VNI hash entry for VNI 66 not found at DEL
```
Since commit `6f908ded80eeba40a850e8d1f6246fb3ed31e648` support interfaces
from down to down, and bgpd doesn't know "VNI 66" at all. So, remove this
EC log.
Signed-off-by: anlan_cs <vic.lan@pica8.com>
Diffstat (limited to 'bgpd/bgp_evpn.c')
| -rw-r--r-- | bgpd/bgp_evpn.c | 8 | 
1 files changed, 1 insertions, 7 deletions
diff --git a/bgpd/bgp_evpn.c b/bgpd/bgp_evpn.c index 7a8a91b00b..286f47b2bc 100644 --- a/bgpd/bgp_evpn.c +++ b/bgpd/bgp_evpn.c @@ -6436,14 +6436,8 @@ int bgp_evpn_local_vni_del(struct bgp *bgp, vni_t vni)  	/* Locate VNI hash */  	vpn = bgp_evpn_lookup_vni(bgp, vni); -	if (!vpn) { -		if (bgp_debug_zebra(NULL)) -			flog_warn( -				EC_BGP_EVPN_VPN_VNI, -				"%u: VNI hash entry for VNI %u not found at DEL", -				bgp->vrf_id, vni); +	if (!vpn)  		return 0; -	}  	/* Remove all local EVPN routes and schedule for processing (to  	 * withdraw from peers).  | 
