Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Make default driver configurable
[csit.git]
/
resources
/
libraries
/
python
/
VppConfigGenerator.py
diff --git
a/resources/libraries/python/VppConfigGenerator.py
b/resources/libraries/python/VppConfigGenerator.py
index
1185eac
..
d1fc32e
100644
(file)
--- 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, _ = \
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:
if ret == 0 and 'VPP not yet running' not in stdout:
break
else: