Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
FIX: ipsec + vpp stable version update
[csit.git]
/
resources
/
libraries
/
python
/
VatExecutor.py
diff --git
a/resources/libraries/python/VatExecutor.py
b/resources/libraries/python/VatExecutor.py
index
03379ba
..
1f7a6f8
100644
(file)
--- a/
resources/libraries/python/VatExecutor.py
+++ b/
resources/libraries/python/VatExecutor.py
@@
-201,7
+201,7
@@
class VatExecutor(object):
return self._stderr
@staticmethod
return self._stderr
@staticmethod
- def cmd_from_template(node, vat_template_file, **vat_args):
+ def cmd_from_template(node, vat_template_file,
json_param=True,
**vat_args):
"""Execute VAT script on specified node. This method supports
script templates with parameters.
"""Execute VAT script on specified node. This method supports
script templates with parameters.
@@
-210,7
+210,7
@@
class VatExecutor(object):
:param vat_args: Arguments to the template file.
:returns: List of JSON objects returned by VAT.
"""
:param vat_args: Arguments to the template file.
:returns: List of JSON objects returned by VAT.
"""
- with VatTerminal(node) as vat:
+ with VatTerminal(node
, json_param=json_param
) as vat:
return vat.vat_terminal_exec_cmd_from_template(vat_template_file,
**vat_args)
return vat.vat_terminal_exec_cmd_from_template(vat_template_file,
**vat_args)