Skip to content
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

Table ID option in SBR Meta Plugin #1046

Open
LionelJouin opened this issue May 20, 2024 · 0 comments
Open

Table ID option in SBR Meta Plugin #1046

LionelJouin opened this issue May 20, 2024 · 0 comments

Comments

@LionelJouin
Copy link

This is a follow-up to: containernetworking/cni#1061

The route table ID can now be specified using the CNI Spec v1.1 and the Source Based Routing documentation mentions a potential enhancement to pass the table number as an input.
https://www.cni.dev/plugins/current/meta/sbr/#future-enhancements-and-known-limitations

Here is the expected behavior with this change:

  • Using the option to set the table number in the SBR meta plugin, a policy route will be created for each IP added for the interface returned by the main plugin. Unlike the default behavior, the routes will not be moved to the table.
  • The default behavior (table ID not set) will be kept.

I would like to implement it, I will open a PR once #1021 gets merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant