aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pkt_gen/ixnet/ixnetrfc2544.tcl
diff options
context:
space:
mode:
authorRadek Zetik <radekx.zetik@intel.com>2015-06-26 02:38:59 +0100
committerMaryam Tahhan <maryam.tahhan@intel.com>2015-07-17 08:50:48 +0000
commit613cea4f9a4765c0ca3ff56ba75492488772c7a3 (patch)
tree4b4932ca02546c4ac1f023f9b644fbdb1949d3c8 /tools/pkt_gen/ixnet/ixnetrfc2544.tcl
parentd9c1a522d6a77eb4a61b674e65065b32c3d09b5b (diff)
Add new biDirectional parameter for particular testcase
This change introduces new parameter which sets the communication between ports either uni-directional or bi-directional. JIRA: VSPERF-27 Change-Id: I4eb06f5c91ef42147878cb68cbad24e69eb002c1 Signed-off-by: Radek Zetik <radekx.zetik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Meghan Halton <meghan.halton@intel.com> Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com> Reviewed-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Diffstat (limited to 'tools/pkt_gen/ixnet/ixnetrfc2544.tcl')
-rwxr-xr-xtools/pkt_gen/ixnet/ixnetrfc2544.tcl5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/pkt_gen/ixnet/ixnetrfc2544.tcl b/tools/pkt_gen/ixnet/ixnetrfc2544.tcl
index a294e74a..d7472c07 100755
--- a/tools/pkt_gen/ixnet/ixnetrfc2544.tcl
+++ b/tools/pkt_gen/ixnet/ixnetrfc2544.tcl
@@ -43,7 +43,7 @@ lappend auto_path [list $lib_path]
# verify that the IXIA chassis spec is given
-set reqVars [list "machine" "port" "user" "chassis" "card" "port1" "port2" "output_dir"]
+set reqVars [list "machine" "port" "user" "chassis" "card" "port1" "port2" "output_dir" "bidir"]
set rfc2544test ""
foreach var $reqVars {
@@ -58,6 +58,7 @@ foreach var $reqVars {
set ::IxNserver $machine
set ::IxNport $port
+set ::biDirect $bidir
# change to windows path format and append directory
set output_dir [string map {"/" "\\"} $output_dir]
@@ -1235,7 +1236,7 @@ proc startRfc2544Test { testSpec trafficSpec } {
ixNet setMultiAttrs $sg_trafficItem \
-transportRsvpTePreference one \
-trafficItemType l2L3 \
- -biDirectional False \
+ -biDirectional $::biDirect \
-mergeDestinations True \
-hostsPerNetwork 1 \
-transmitMode interleaved \