FIX: init_interface driver and sr-iov 96/33396/1
authorJuraj Linkeš <juraj.linkes@pantheon.tech>
Thu, 24 Jun 2021 14:47:55 +0000 (16:47 +0200)
committerPeter Mikus <pmikus@cisco.com>
Thu, 5 Aug 2021 09:43:23 +0000 (09:43 +0000)
commit749c0f178b03ff57df405dcb91139d1eacbf7019
tree377845e8975009321e492bdd77f4d18b99fc5e18
parenta431c1f6fd0fcd03c4e1cd2da1d5346d000b1e30
FIX: init_interface driver and sr-iov

Add checks for not unbinding a driver that is not bound and not
trying to remove VFs from interfaces not supporting SR-IOV.

Change-Id: Iae7ce37aabeadbb541fe9eac8b83b4ee18d028e6
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
(cherry picked from commit 7d849ba64e10b8a7678845ee1dcc091e125dd124)
resources/libraries/python/DUTSetup.py
resources/libraries/python/InterfaceUtil.py