Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Align suite/test teardown/setup
[csit.git]
/
resources
/
libraries
/
python
/
VPPUtil.py
diff --git
a/resources/libraries/python/VPPUtil.py
b/resources/libraries/python/VPPUtil.py
index
c60509f
..
03d39d3
100644
(file)
--- a/
resources/libraries/python/VPPUtil.py
+++ b/
resources/libraries/python/VPPUtil.py
@@
-216,7
+216,7
@@
class VPPUtil(object):
host=node['host'], if_data=if_data))
@staticmethod
host=node['host'], if_data=if_data))
@staticmethod
- def vpp_enable_traces_on_dut(node, fail_on_error=
Tru
e):
+ def vpp_enable_traces_on_dut(node, fail_on_error=
Fals
e):
"""Enable vpp packet traces on the DUT node.
:param node: DUT node to set up.
"""Enable vpp packet traces on the DUT node.
:param node: DUT node to set up.
@@
-234,14
+234,12
@@
class VPPUtil(object):
for cmd in cmds:
try:
PapiExecutor.run_cli_cmd(node, cmd)
for cmd in cmds:
try:
PapiExecutor.run_cli_cmd(node, cmd)
- except AssertionError
as err
:
+ except AssertionError:
if fail_on_error:
raise
if fail_on_error:
raise
- else:
- logger.error(repr(err))
@staticmethod
@staticmethod
- def vpp_enable_traces_on_all_duts(nodes, fail_on_error=
Tru
e):
+ def vpp_enable_traces_on_all_duts(nodes, fail_on_error=
Fals
e):
"""Enable vpp packet traces on all DUTs in the given topology.
:param nodes: Nodes in the topology.
"""Enable vpp packet traces on all DUTs in the given topology.
:param nodes: Nodes in the topology.