summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/examples
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/automation/trex_control_plane/examples')
-rwxr-xr-xscripts/automation/trex_control_plane/examples/client_tcl_example.tcl2
-rwxr-xr-xscripts/automation/trex_control_plane/examples/trex_tcl_client.tcl2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/automation/trex_control_plane/examples/client_tcl_example.tcl b/scripts/automation/trex_control_plane/examples/client_tcl_example.tcl
index 636f1669..3467c898 100755
--- a/scripts/automation/trex_control_plane/examples/client_tcl_example.tcl
+++ b/scripts/automation/trex_control_plane/examples/client_tcl_example.tcl
@@ -7,7 +7,7 @@ exec /usr/bin/expect "$0" "$@"
source trex_tcl_client.tcl
#Initializing trex server attributes
-set check [TRexTclClient::create_host "http://172.18.73.122"]
+set check [TRexTclClient::create_host "localhost"]
#Formulate the command options as a dict
set trex_cmds [dict create c 2 m 10 l 1000 ]
diff --git a/scripts/automation/trex_control_plane/examples/trex_tcl_client.tcl b/scripts/automation/trex_control_plane/examples/trex_tcl_client.tcl
index 195e85aa..f700a5d2 100755
--- a/scripts/automation/trex_control_plane/examples/trex_tcl_client.tcl
+++ b/scripts/automation/trex_control_plane/examples/trex_tcl_client.tcl
@@ -31,7 +31,7 @@ namespace eval TRexTclClient {
variable TRex_Status [dict create 1 "Idle" 2 "Starting" 3 "Running"]
- variable trex_host "http://172.18.73.122"
+ variable trex_host "localhost"
variable server_port "8090"
variable trex_zmq_port "4500"