-
Notifications
You must be signed in to change notification settings - Fork 23
No reserved ifindex for vrf #469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
📝 WalkthroughWalkthroughThis change set refactors VRF (Virtual Routing and Forwarding) ID handling across multiple layers of the codebase. The modifications eliminate indirect ifindex-to-vrf_id conversions in Grout interface and route processing, simplify interface ID allocation by removing reserved ranges, and update the zebra dplane integration to obtain VRF IDs directly from dataplane accessors rather than casting ifindex values. Supporting patches separate VRF deletion from update operations. 📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (6)
🧰 Additional context used📓 Path-based instructions (1)**/*.{c,h}⚙️ CodeRabbit configuration file
Files:
🧠 Learnings (13)📓 Common learnings📚 Learning: 2025-11-05T13:55:26.189ZApplied to files:
📚 Learning: 2025-12-17T17:32:11.230ZApplied to files:
📚 Learning: 2025-09-22T09:21:51.749ZApplied to files:
📚 Learning: 2025-09-22T09:21:51.749ZApplied to files:
📚 Learning: 2025-09-22T09:21:51.749ZApplied to files:
📚 Learning: 2025-09-09T07:08:40.398ZApplied to files:
📚 Learning: 2025-09-09T09:22:31.596ZApplied to files:
📚 Learning: 2025-09-09T07:36:34.893ZApplied to files:
📚 Learning: 2025-09-09T06:02:47.703ZApplied to files:
📚 Learning: 2025-10-21T15:42:43.874ZApplied to files:
📚 Learning: 2025-09-25T07:52:17.403ZApplied to files:
📚 Learning: 2025-08-27T15:33:22.299ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (7)
🔇 Additional comments (5)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
FRR presumes that vrf_id == ifindex, some fixes has been upstream it. These ones are not merged yet. Signed-off-by: Maxime Leroy <maxime@leroys.fr>
TODO : make a commit log (just a draft) Signed-off-by: Maxime Leroy <maxime@leroys.fr>
This reverts commit 18355c3. Signed-off-by: Maxime Leroy <maxime@leroys.fr>
6c79341 to
586629d
Compare
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.