containernetworking / plugins

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

SBR: option to pass the table id #1088

Closed LionelJouin closed 2 months ago

LionelJouin commented 2 months ago

Use of Table ID in IPAM

Using the option to set the table number in the SBR meta plugin will create a policy route 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 of the SBR plugin is kept if the table id is not set.

https://github.com/containernetworking/cni/pull/1062

fixes: https://github.com/containernetworking/plugins/issues/1046