aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/VppConfigGenerator.py
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2018-04-13 11:34:33 +0200
committerJan Gelety <jgelety@cisco.com>2018-04-16 07:00:52 +0000
commit2553b94d96db0a23b1fa3bfa6a3dae1468f4cb83 (patch)
tree3f5aa055ec2977875a367994183058bdbc57002e /resources/libraries/python/VppConfigGenerator.py
parent327cb5f515b06108992108ecc8e8b60b9529713f (diff)
Make default driver configurable
- Make UIO driver configurable from global variables. - Prepare code for uio_pci_generic to vfio-pci change Change-Id: I2b49201177a92f51673242a30e2fd8d4f7e59694 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/python/VppConfigGenerator.py')
-rw-r--r--resources/libraries/python/VppConfigGenerator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/VppConfigGenerator.py b/resources/libraries/python/VppConfigGenerator.py
index 1185eac7af..d1fc32ef9d 100644
--- a/resources/libraries/python/VppConfigGenerator.py
+++ b/resources/libraries/python/VppConfigGenerator.py
@@ -539,8 +539,8 @@ class VppConfigGenerator(object):
for _ in range(retries):
time.sleep(1)
ret, stdout, _ = \
- ssh.exec_command('echo show hardware-interfaces | '
- 'nc 0 5002 || echo "VPP not yet running"')
+ ssh.exec_command('echo show pci | nc 0 5002 || '
+ 'echo "VPP not yet running"')
if ret == 0 and 'VPP not yet running' not in stdout:
break
else: