aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/PapiExecutor.py
diff options
context:
space:
mode:
authorpremkumarv <preym17@gmail.com>2019-07-24 08:43:23 -0400
committerJan Gelety <jgelety@cisco.com>2019-09-26 17:26:32 +0200
commit7b73d46872db5adfc8f4603a9ca783be7d3fa323 (patch)
treea04a2a21632d1f4b39a8eaebd24065b3cc8f4bcd /resources/libraries/python/PapiExecutor.py
parentf7d43390a6ce60284f54cad4e66b66d1ecd4a166 (diff)
CSIT-1471: Policer - VAT API to PAPI
Change-Id: I6c7eff8d9cbb196ccb684a45579ac59942351cfe Signed-off-by: premkumarv <preym17@gmail.com>
Diffstat (limited to 'resources/libraries/python/PapiExecutor.py')
-rw-r--r--resources/libraries/python/PapiExecutor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/PapiExecutor.py b/resources/libraries/python/PapiExecutor.py
index d651e78cca..60d35a8543 100644
--- a/resources/libraries/python/PapiExecutor.py
+++ b/resources/libraries/python/PapiExecutor.py
@@ -442,7 +442,7 @@ class PapiSocketExecutor(object):
cmd = 'cli_inband'
args = dict(cmd=cli_cmd)
err_msg = "Failed to run 'cli_inband {cmd}' PAPI command on host " \
- "{host}".format(host=node['host'], cmd=cmd)
+ "{host}".format(host=node['host'], cmd=cli_cmd)
with PapiSocketExecutor(node, remote_vpp_socket) as papi_exec:
reply = papi_exec.add(cmd, **args).get_reply(err_msg)["reply"]
if log: