diff options
author | imarom <imarom@cisco.com> | 2015-08-18 17:00:00 +0300 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2015-08-18 17:00:00 +0300 |
commit | 6ec401381b4b3e6facce5c9a749bc08b8c30f1a7 (patch) | |
tree | 77994e11916d086444e461ec203d0a154fcfe52e /src/console/trex_console.py | |
parent | e89e0c74913d5dda2c3c46166df99d0fc5e1ed7d (diff) |
draft
Diffstat (limited to 'src/console/trex_console.py')
-rwxr-xr-x | src/console/trex_console.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/console/trex_console.py b/src/console/trex_console.py index ca4c7e86..15022e06 100755 --- a/src/console/trex_console.py +++ b/src/console/trex_console.py @@ -15,6 +15,7 @@ class TrexConsole(cmd.Cmd): self.intro = "\n-=TRex Console V1.0=-\n" self.rpc_client = rpc_client self.verbose = False + rc, msg = self.rpc_client.query_rpc_server() if rc: @@ -96,7 +97,7 @@ class TrexConsole(cmd.Cmd): def main (): # RPC client try: - rpc_client = RpcClient(5050) + rpc_client = RpcClient("localhost", 5050) rpc_client.connect() except Exception as e: print "\n*** " + str(e) + "\n" |