FIX: Add SRIOV cleanup 24/22524/2
authorPeter Mikus <pmikus@cisco.com>
Fri, 4 Oct 2019 10:15:18 +0000 (10:15 +0000)
committerPeter Mikus <pmikus@cisco.com>
Fri, 4 Oct 2019 10:16:43 +0000 (10:16 +0000)
commit917abf9aec10dc3e8f55ae7f55e1fab1fc44475c
tree141bf4f0931ab2e6e545adf11b5a30d494cf41eb
parent3691bd34143ff6e725c3be5cfee7d2539f84169f
FIX: Add SRIOV cleanup

If Jenkins interrupt pybot during AVF tests (that is happening
more frequently as coverage increased) the interfaces remains
in link UP state. Next run VPP cannot grab interfaces as they
are in UP state in and kernel driver. This results in testcase
failing.

Patch is supposed to do put interfaces in topology down so VPP
can bind them back to vfio-pci.

Change-Id: I2aa9e5944d39474965eac3c5f1b472f58e9aa8b5
Signed-off-by: Peter Mikus <pmikus@cisco.com>
resources/tools/scripts/topo_cleanup.py