From 613cea4f9a4765c0ca3ff56ba75492488772c7a3 Mon Sep 17 00:00:00 2001 From: Radek Zetik Date: Fri, 26 Jun 2015 02:38:59 +0100 Subject: 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 Reviewed-by: Maryam Tahhan Reviewed-by: Meghan Halton Reviewed-by: Billy O Mahony Reviewed-by: Martin Klozik Reviewed-by: Dino Simeon Madarang --- tools/pkt_gen/ixnet/ixnetrfc2544.tcl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools/pkt_gen/ixnet/ixnetrfc2544.tcl') 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 \ -- cgit 1.2.3-korg