opensourcerouting / frr

Free Range Routing Protocol Suite
Other
37 stars 14 forks source link

"show ip pim rp-info" don‘t have auto-rp info #100

Open witt84 opened 1 year ago

witt84 commented 1 year ago

Set ourself as BSR, but no RP information learned is displayed in cmd "show ip pim rp-info".

Test# show ip pim bsr PIMv2 Bootstrap information Current preferred BSR address: 192.168.11.1 Priority Fragment-Tag State UpTime 201 13364 BSR_ELECTED 96:10:25 Last BSM seen: 00:00:11

test# show ip pim bsr candidate-rps RP/Group NHT Prio Uptime Hold 192.168.11.2 UP 200 346318 131

228.0.0.0/24
192.168.110.25 UP 192 346320 140 224.0.0.0/4

Test# show ip pim rp-info RP address group/prefix-list OIF I am RP Source 192.168.11.1 234.0.0.0/24 br-lan yes Static

eqvinox commented 1 year ago

Hi. I've seen you commenting on the candidate-bsr branch, and at some point we'll be getting to this. But please be aware that there's a reason this branch hasn't been merged into FRR master. The code hasn't really been tested. We're currently working on getting topotato up to speed as test framework and there will be C-BSR/C-RP tests there, but this is still WiP.

I'm happy that you're using this code and it seems to do at least something useful for you, but… there were bugs, there are bugs (as evident here), and there will be more bugs. This is not quite prime time ready yet.

witt84 commented 1 year ago

I know it hasn't been merged into the FRR master yet, it's still in the testing branch. I just wanted to ask a question because I don't have a good solution at the moment and I hope you have time to help. Thank you very much for your contribution, I am indeed trying to use this code and the basic functions can be used, which is great.

witt84 commented 1 year ago

I am trying to make the function pim_elec_bsr_timer call pim_bsm_parse_install_g2rp effective, and it seems to be working fine at the moment. However, I am not sure if there are any potential risks.