Open xagent003 opened 4 years ago
I'm looking at the code. It looks like there are functions to set the Trust mode, but it is missing from the parseVfInfo function and structure. Is there a reason it was omitted on purpose? https://github.com/vishvananda/netlink/blob/1e3d26b1b393006411752fc0196d65df9fc6fa15/link_linux.go#L2975
Is it just a matter of adding a new case in the switch statement above?
Could we expect any update on 'trust' topic?
I noticed that the trust mode is missing from the VfInfo. Under ip link, trust is shown, and also, it is configurable under SRIOV network plugins for Kubernetes and Openstack. It would be nice to also show this info. For example:
And in Kubernetes, CNI config for an SRIOV network: