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
Some forwarders require additional configuration in order to work properly. For instance, the vlan mechanism with the vpp forwarder needs a configmap to know on which host interface the vlan interface will be based on.
Describe alternatives you've considered or would consider
The issue could be addressed by multiple solution.
If all forwarders are using device selector with the same format with similar information, then if could be included as part of the Forwarder struct or it could be a new CRD.
If all forwarders are using different types of information, then the user could deploy the configmap before deploying the NSM CR, and refer the configmap inside a NSM CR.
One suggestion I would make as we do this: use programming by default principles.
Which is to say: make it always possible to deploy with little to no config, with reasonable defaults. Don't make users specify all the nerd nobs. Think in terms of the Option pattern (analogized to this space).
Note: None of this is meant to proscribe anything specific here... its entirely about "Make sure to think about this too" :)
Describe the problem you're solving.
Some forwarders require additional configuration in order to work properly. For instance, the vlan mechanism with the vpp forwarder needs a configmap to know on which host interface the vlan interface will be based on.
device-selector configmap:
forwarder-vpp:
Describe that task step by step.
/
Describe alternatives you've considered or would consider
The issue could be addressed by multiple solution.
If all forwarders are using device selector with the same format with similar information, then if could be included as part of the Forwarder struct or it could be a new CRD.
If all forwarders are using different types of information, then the user could deploy the configmap before deploying the NSM CR, and refer the configmap inside a NSM CR.
Another solution could be to have an opened property in the forwarder struct where the user could write the configuration. For instance Multus is doing it: https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/examples/README.md#passing-down-device-information
Additional context
/
The text was updated successfully, but these errors were encountered: