You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assuming we move forward with daemonization (#821), then we will have to write a protobuf schema for the CNI protocol. This tpresents a few awkward edges around network configuration.
The gist of the issue is this:
A "network" and a "configuration" are the same thing
The same plugin can be used by multiple "networks"
2.1. The same plugin can be used in different networks in the same container.
A network configuration contains arbitrary, plugin-specific rich data.
So, we need some way to ergonomically pass, to a plugin, a network configuration. This configuration is user-defined but plugin specific.
Options
Embed json in protobuf
The protobuf any type, which supports embedding arbitrary protobuf messages.
???
The text was updated successfully, but these errors were encountered:
squeed
changed the title
2.0: Protobuf / gRPC: how to pass arbitrary data?
2.0: Protobuf / gRPC: how to pass network configuration to plugins?
Mar 23, 2022
Assuming we move forward with daemonization (#821), then we will have to write a protobuf schema for the CNI protocol. This tpresents a few awkward edges around network configuration.
The gist of the issue is this:
2.1. The same plugin can be used in different networks in the same container.
So, we need some way to ergonomically pass, to a plugin, a network configuration. This configuration is user-defined but plugin specific.
Options
The text was updated successfully, but these errors were encountered: