sonic-net / SONiC

Landing page for Software for Open Networking in the Cloud (SONiC) - https://sonic-net.github.io/SONiC/
2.22k stars 1.12k forks source link

Question: Clarification on EVPN Type 2,3 & 5 route. #337

Closed jcmathews closed 5 years ago

jcmathews commented 5 years ago

Does FRR BGP EVPN send the type 2, type 3 and type 5 updates to SONIC NetDispatcher->NeighSync (Where Neighbor Additions are done in NEIGH_TABLE) ? Reference HEAD

nikos-github commented 5 years ago

Not yet. SONiC hasn't been modified yet for evpn support.

jcmathews commented 5 years ago

But looks like the Frr BGP is installing the route(Say type 3) via zebra (zvni_vtep_install -> kernel_add_vtep->netlink_vxlan_flood_list_update->netlink(RTM_NEWNEIGH)) On SONIC side NetDispatcher is registered for RTM_NEWNEIGH. This should ideally receive the neighbor addition notification, where NeighSync will put into APP_NEIGH_TABLE. Rest is mystery

prsunny commented 5 years ago

@baiwei0427, can you check?