Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pull underlying capabilities up to 00-multus.conf
Using Python, we analyze the content of the master plugin configuration, and we integrate any capabilities from the chained plugins declaration. This way, we can for example have the portMapping capability ( declared for the `portmap` chained plugin) that will be included in the top-level CNI configuration file, `00-multus.conf`, and the container runtime will correctly send `runtimeConfig` attributes based on the capabilities. The script is compatbile with Python 2 and Python 3, it could be a bit shorter if I used only Python 3 syntax. Fixes #544 Signed-off-by: <clement.nussbaumer@swisscom.com>
- Loading branch information