From Dan Kenigsberg danken@redhat.com:
Dan Kenigsberg has submitted this change and it was merged.
Change subject: nics: list dpdk ports ......................................................................
nics: list dpdk ports
dpdk ports can't be seen by kernel tools. We wish to know which dpdk ports are in the system in order to bind them to ovs-dpdk bridge. We query 'lshw -json' in order to get a json formatted response of system devices, take only network class devices which have a 'handle' key and don't have logical name - meaning they are physical network devices which are not recognized by the kernel.
Also, added fake network info for dpdk ports.
Change-Id: Ia07f5a1052146c0eea6f0e19aa22d68ff4148646 Signed-off-by: Irit Goihman igoihman@redhat.com --- M automation/build-artifacts.packages.el7 M automation/build-artifacts.packages.fc25 M automation/check-merged.packages.el7 M automation/check-patch.packages.el7 M automation/check-patch.packages.fc25 A lib/vdsm/network/link/dpdk.py A tests/network/dpdk_test.py M vdsm.spec.in 8 files changed, 228 insertions(+), 0 deletions(-)
Approvals: Jenkins CI: Passed CI tests Dan Kenigsberg: Verified Edward Haas: Looks good to me, approved
vdsm-patches@lists.fedorahosted.org