You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @serenheit - This is something we want to support, but I don't think we'll properly be able to add support for this in the short term.
The right way to go about this, I believe, is to the following methods to the API:
Add a std::string vrf attribute to eos::ip_route_key_t
Update all of the ip_route_mgr methods to be VRF aware
Add a method to the ip_route_mgr that lets you "register" that you want to manage a VRF.
Unfortunately EOS's underlying config types for static routes is pretty complex, so part 2 is going to take some time (especially in the context of the resync & iterators).
Part 3 is necessary for backwards compatibility, and because there is some setup the SDK needs to do behind the scenes whenever a user wants a new VRF.
Just a quick update: we've started work on this. Also, while implementing this feature, I realized we don't have to do step 3 above after all. This means that all you have to do to program a route in a VRF is to fill out the new vrf attribute in eos::ip_route_key_t.
We'd like to see routes addition with VRF support. As an example here is the CLI command:
Right now we can listen and react to events in VRF without full support of routes manipulation.
The text was updated successfully, but these errors were encountered: