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

Closed
LionelJouin opened this issue May 20, 2024 · 0 comments · Fixed by #1088
Closed

Table ID option in SBR Meta Plugin #1046

LionelJouin opened this issue May 20, 2024 · 0 comments · Fixed by #1088

Comments

@LionelJouin
Copy link
Member

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

Successfully merging a pull request may close this issue.

1 participant