diff options
| author | Ameya Dharkar <adharkar@vmware.com> | 2021-01-10 21:40:42 -0800 |
|---|---|---|
| committer | Ameya Dharkar <adharkar@vmware.com> | 2021-06-07 17:58:22 -0700 |
| commit | 66ff60895ade27c0209444c58a2070a5cdbb385e (patch) | |
| tree | f77d37d9ce753b4cdfd8eea2d10083d59e8145f1 /lib/compiler.h | |
| parent | 8304dabfab9063fe5720e8e714476ed2e9127540 (diff) | |
bgpd: Parse EVPN RT-5 NLRI and store gateway IP for EVPN route
While installing this route in the EVPN table, make sure all the conditions
mentioned in the draft
https://tools.ietf.org/html/draft-ietf-bess-evpn-prefix-advertisement-11 are
met.
Draft mentions following conditions:
- ESI and gateway IP cannot be both nonzero at the same time.
- ESI, gateway IP, RMAC and VNI label all cannot be 0 at the same time.
If the received EVPN RT-5 route does not meet these conditions, the route is
treated as withdraw.
Signed-off-by: Ameya Dharkar <adharkar@vmware.com>
Diffstat (limited to 'lib/compiler.h')
0 files changed, 0 insertions, 0 deletions
