containernetworking / plugins

Some reference and example networking plugins, maintained by the CNI team.
Apache License 2.0
2.19k stars 780 forks source link

Table ID option in SBR Meta Plugin #1046

Closed LionelJouin closed 2 weeks ago

LionelJouin commented 4 months ago

This is a follow-up to: https://github.com/containernetworking/cni/issues/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:

I would like to implement it, I will open a PR once https://github.com/containernetworking/plugins/pull/1021 gets merged.