summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2015-11-01 18:03:17 +0200
committerimarom <imarom@cisco.com>2015-11-01 18:03:17 +0200
commit7d7767e17b1a4e54a8934ded724f54dc5b6228ce (patch)
treeb9669fbed7820f52444cf220a2647ad3594cf55b /scripts/automation/trex_control_plane
parenteacf2829c309011bf15d56b7b531b22ebeaf4d7d (diff)
added support for a new RPC command : sync_user
provides a way to sync a console / GUI to the server for a specific user
Diffstat (limited to 'scripts/automation/trex_control_plane')
-rwxr-xr-xscripts/automation/trex_control_plane/console/trex_console.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/automation/trex_control_plane/console/trex_console.py b/scripts/automation/trex_control_plane/console/trex_console.py
index 51a1f8cc..ec23eb0c 100755
--- a/scripts/automation/trex_control_plane/console/trex_console.py
+++ b/scripts/automation/trex_control_plane/console/trex_console.py
@@ -393,9 +393,9 @@ class TRexConsole(cmd.Cmd):
print "Example: rpc test_add {'x': 12, 'y': 17}\n"
return
- res_ok, msg = self.stateless_client.invoke_rpc_method(method, params)
+ res_ok, msg = self.stateless_client.transmit(method, params)
if res_ok:
- print "\nServer Response:\n\n" + self.stateless_client.pretty_json(json.dumps(msg)) + "\n"
+ print "\nServer Response:\n\n" + pretty_json(json.dumps(msg)) + "\n"
else:
print "\n*** " + msg + "\n"
#print "Please try 'reconnect' to reconnect to server"