holo-routing / holo

Holo is a suite of routing protocols designed to support high-scale and automation-driven networks.
MIT License
274 stars 17 forks source link

Implement VRF #13

Open frederic-loui opened 7 months ago

frederic-loui commented 7 months ago

Implement VRF feature.

This will remove any ambiguity and make all object VRF aware. At the present time rtnetlink is not completely ready, but this is WIP here

rwestphal commented 7 months ago

For VRF support, we'll need to check out RFC 8529 to understand how VRFs should be handled from a management perspective. Also, yang2-rs will need to be extended to expose libyang's YANG schema mount functionality.

Aside from that, the protocol implementations should require little to no changes in order to support VRFs. All protocols already support multiple instances, which are well isolated one from another. We'll just need the ability to bind protocol instances to VRFs as specified in the configuration.

At the present time rtnetlink is not completely ready, but this is WIP here

Thanks for the heads-up. I see that the PR was merged already. It's good to know rtnetlink won't need further changes when it comes to adding VRF support in Holo.