Skip to content

Commit fe0e09b

Browse files
author
jcaiMR
committed
fix p2p vxlan warmboot check failure
1 parent 4ac9ad9 commit fe0e09b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

orchagent/vxlanorch.cpp

+8
Original file line numberDiff line numberDiff line change
@@ -2347,6 +2347,14 @@ bool EvpnRemoteVnip2pOrch::addOperation(const Request& request)
23472347
return true;
23482348
}
23492349

2350+
EvpnNvoOrch* evpn_orch = gDirectory.get<EvpnNvoOrch*>();
2351+
auto vtep_ptr = evpn_orch->getEVPNVtep();
2352+
if (!vtep_ptr) {
2353+
SWSS_LOG_WARN("Remote VNI add: Source VTEP not found. remote=%s vid=%d",
2354+
remote_vtep.c_str(), vlan_id);
2355+
return true;
2356+
}
2357+
23502358
VxlanTunnelOrch* tunnel_orch = gDirectory.get<VxlanTunnelOrch*>();
23512359
Port tunnelPort, vlanPort;
23522360

0 commit comments

Comments
 (0)