summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/examples/interactive_stateless.py
diff options
context:
space:
mode:
authorDan Klein <danklei@cisco.com>2015-08-27 19:18:16 +0300
committerDan Klein <danklei@cisco.com>2015-08-27 19:18:16 +0300
commit68df86e2005dc4693b1270a3e663e2450f81fa93 (patch)
tree018d35202b5860905c878131c03bc2a0adba762b /scripts/automation/trex_control_plane/examples/interactive_stateless.py
parentc2154c0d362ced8f8b5181799c369e1497c958e1 (diff)
progress in packet builder module
Diffstat (limited to 'scripts/automation/trex_control_plane/examples/interactive_stateless.py')
-rw-r--r--scripts/automation/trex_control_plane/examples/interactive_stateless.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/automation/trex_control_plane/examples/interactive_stateless.py b/scripts/automation/trex_control_plane/examples/interactive_stateless.py
index 016888d2..7c25b4ef 100644
--- a/scripts/automation/trex_control_plane/examples/interactive_stateless.py
+++ b/scripts/automation/trex_control_plane/examples/interactive_stateless.py
@@ -93,7 +93,7 @@ class InteractiveStatelessTRex(cmd.Cmd):
print termstyle.magenta(inst)
if __name__ == "__main__":
- parser = ArgumentParser(description=termstyle.cyan('Run T-Rex client API demos and scenarios.'),
+ parser = ArgumentParser(description=termstyle.cyan('Run TRex client stateless API demos and scenarios.'),
usage="client_interactive_example [options]")
parser.add_argument('-v', '--version', action='version', version='%(prog)s 1.0 \t (C) Cisco Systems Inc.\n')
@@ -101,8 +101,8 @@ if __name__ == "__main__":
parser.add_argument("-t", "--trex-host", required = True, dest="trex_host",
action="store", help="Specify the hostname or ip to connect with T-Rex server.",
metavar="HOST" )
- parser.add_argument("-p", "--trex-port", type=int, default = 8090, metavar="PORT", dest="trex_port",
- help="Select port on which the T-Rex server listens. Default port is 8090.", action="store")
+ parser.add_argument("-p", "--trex-port", type=int, default = 5050, metavar="PORT", dest="trex_port",
+ help="Select port on which the T-Rex server listens. Default port is 5050.", action="store")
# parser.add_argument("-m", "--maxhist", type=int, default = 100, metavar="SIZE", dest="hist_size",
# help="Specify maximum history size saved at client side. Default size is 100.", action="store")
parser.add_argument("--virtual", dest="virtual",