diff options
| author | anlan_cs <vic.lan@pica8.com> | 2022-08-31 10:24:19 -0400 |
|---|---|---|
| committer | anlan_cs <vic.lan@pica8.com> | 2022-09-01 03:08:16 -0400 |
| commit | a606d91561c7cd58fad88f33892d2ea8000620dc (patch) | |
| tree | c2c66de61e7b7efe4ba4ec9d311f1a8decfcb1ff /lib/thread.c | |
| parent | f1f38efd836af248d362d961224a540d07bd50cf (diff) | |
zebra: fix missing tenant vrf change notification
zebra can change l2vni's tenant vrf with new `vid`, and then notify bgpd
to change also. But this notification is wrongly missed, so bgpd knows
nothing about it. It affects evpn routes, which are related to tenant vrf.
Need to notify bgpd of the `vid` change.
Changes l2vni 100 of vxlan's `vid` so as to change its svi interface from
default to vrf1, then check bgp's vni status.
Before: (Ignored irrelevent columns)
```
host#show bgp l2vpn evpn vni
VNI Type RD Tenant VRF
* 100 L2 66.66.66.66:2 default <- No change
```
After:(Ignored irrelevent columns)
```
host#show bgp l2vpn evpn vni
VNI Type RD Tenant VRF
* 100 L2 66.66.66.66:2 vrf1 <- Updated
```
Signed-off-by: anlan_cs <vic.lan@pica8.com>
Diffstat (limited to 'lib/thread.c')
0 files changed, 0 insertions, 0 deletions
