Hi all,
I found in sonic-quagga, do NOT cancel route while connect IP down.
- How to produce
- use 2 SONiC, construct BGP peer
- SONiC-A have a connect IP with vlanif like this
"VLAN_INTERFACE": {
"Vlan201|10.130.2.1/24": {},
"Vlan202|10.130.1.1/24": {},
"Vlan203|10.130.3.1/24": {}
},
- Then SONiC-B's quagga could learn these route by BGP peer
- Then down Vlan200, the connect IP with Vlan200 is also down
- But SONiC-B do NOT cancel this route !!!
- route cause:
- there are 2 root cause of this case
-
- vlanmgr do NOT detect the vlan member down of a vlanif
-
- vlanmgr (or something else) do NOT report vlanif down and do NOT delete the connect IP of vlanif in redis DB
- How to fix
- I suggest add code in vlanmgrd to fix these 2 root cause
- My question
Hi all,
I found in sonic-quagga, do NOT cancel route while connect IP down.