summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/examples
diff options
context:
space:
mode:
authorvakalapa <vakalapa@cisco.com>2016-04-04 10:25:30 -0400
committervakalapa <vakalapa@cisco.com>2016-04-04 10:25:30 -0400
commite88334cbca1ce97399a84d322de1527ddc75b136 (patch)
tree6af761d6387cdefb18dd76341bb59471d6e4d70d /scripts/automation/trex_control_plane/examples
parent14e4f028b2fc26df224b44eff35a75680c534266 (diff)
changed the trex server url
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"