diff options
author | Jan Gelety <jgelety@cisco.com> | 2019-02-18 14:55:23 +0100 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2019-02-26 21:54:50 +0100 |
commit | 83e9b227be8316ac06b9104ce9096cfe4b06605e (patch) | |
tree | 8f90a32d53bf6aef65a7e344c19697027467ad00 /resources/libraries/python/VatExecutor.py | |
parent | 7a369b106a32b6fddc9ebd624f1a51ae7132d418 (diff) |
FIX: ipsec + vpp stable version update
- use exec ipsec sa add
- use exec ipsec spd add
- use exec set ipsec sa
Change-Id: I69d59dd230b99d8efc9bcb5e3fbab79a8b11b18a
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/python/VatExecutor.py')
-rw-r--r-- | resources/libraries/python/VatExecutor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/VatExecutor.py b/resources/libraries/python/VatExecutor.py index 03379ba33f..1f7a6f8d6d 100644 --- a/resources/libraries/python/VatExecutor.py +++ b/resources/libraries/python/VatExecutor.py @@ -201,7 +201,7 @@ class VatExecutor(object): 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. @@ -210,7 +210,7 @@ class VatExecutor(object): :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) |