Open joelcheison opened 1 year ago
@joelcheison thanks for reporting this. I believe that the annotation is set through Multus, this library serves only as a way to access the API. Correct me if the code impressible of deciding when to set device-info is invoked lives in this repo. Perhaps this should be open on the SR-IOV plugin or Multus itself.
CC @s1061123
The device-info spec appears in the pod's network-status annotation when the NAD config only contains a single plugin using the "type" filed in the cni spec.
However when the "plugins" list of the cni spec (https://github.com/containernetworking/cni/blob/main/SPEC.md) is used for the NAD to invoke more than one plugin in a NAD, the device-info-spec is missing in the pod network-status annotation