-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support InfiniBand GUID in the Network annotation #4
Comments
looking at [1] i see:
We can either extend this to support a 64 bit GUID or have GUID as a first class citizen here (possibly mutually exclusive with mac) also im not sure if you can actually set the IPoIB 20-bytes address
|
Hi @adrianchiris, Thank you for the PR! I am going to discuss about it from implementation point of view. The
When the multus get 'mac' filed in pod annotation, multus just passed it to delegating plugin as capabilities/runtimeConfig. User defined CNI Config file in net-attach-def:
After multus parsing with 'mac' fields, actual delegating CNI plugin will get following config:
'runtimeConfig' is injected by multus as
As alternative option, add 'guid' option can be implemented as CNI's args as following. In this case, you can change guid from pod annotation without any spec change.
I suppose you could implement it in phased approach like that:
|
@s1061123 thanks for providing inputs ! also part of the goal is to have this a part of CNI and net crd spec. |
Issue opened in containernetworking/cni if and when this gets approved then we can proceed with this issue. |
|
as containernetworking/cni#742 was merged, proposed updates to multi-net-spec can be found in the following google doc |
This commit defines `infiniband-guid` as a new network attachment attribute as discussed in issue[1]. This attribute is defined be converted to `infinibandGUID` CNI runtime config by delegate plugin. [1] k8snetworkplumbingwg/multi-net-spec#4
This change was approved on NPWG meeting on 04.06.2020 Is there a periodic update of the spec ? as changes are not proposed directly to the source file. |
InfiniBand is using GUID as hardware address instead of mac, supporting GUID in the
k8s.v1.cni.cncf.io/networks
structure can play major role at the applications that use InfiniBand.The text was updated successfully, but these errors were encountered: