aboutsummaryrefslogtreecommitdiffstats
path: root/3rd_party/ixia/ixnetrfc2544.tcl
diff options
context:
space:
mode:
authorMartin Klozik <martinx.klozik@intel.com>2017-03-20 09:33:59 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-20 09:33:59 +0000
commit023b29d33f11292a18af7f81c593f9f1642b3818 (patch)
tree737a8e01791b37b502b00076b78e39398f75f56e /3rd_party/ixia/ixnetrfc2544.tcl
parent8fb2907c4e169ac54acce7a869aeca435b85532e (diff)
parent6d356ded0aa1279c61b19ad42c985eee1b468be0 (diff)
Merge "IXIA setup: Fix to create packets with the specified values."
Diffstat (limited to '3rd_party/ixia/ixnetrfc2544.tcl')
-rw-r--r--3rd_party/ixia/ixnetrfc2544.tcl18
1 files changed, 9 insertions, 9 deletions
diff --git a/3rd_party/ixia/ixnetrfc2544.tcl b/3rd_party/ixia/ixnetrfc2544.tcl
index e70ca874..faab5a68 100644
--- a/3rd_party/ixia/ixnetrfc2544.tcl
+++ b/3rd_party/ixia/ixnetrfc2544.tcl
@@ -1387,20 +1387,20 @@ proc startRfc2544Test { testSpec trafficSpec } {
#
set sg_field $ixNetSG_Stack(3)/field:"ethernet.header.sourceAddress-2"
ixNet setMultiAttrs $sg_field \
- -singleValue {00:00:00:00:00:00} \
+ -singleValue $srcMac \
-seed {1} \
-optionalEnabled True \
-fullMesh False \
-valueList {{00:00:00:00:00:00}} \
-stepValue {00:00:00:00:00:00} \
-fixedBits {00:00:00:00:00:00} \
- -fieldValue {00:00:00:00:00:00} \
+ -fieldValue $srcMac \
-auto False \
-randomMask {00:00:00:00:00:00} \
-trackingEnabled False \
-valueType singleValue \
-activeFieldChoice False \
- -startValue {00:00:00:00:00:00} \
+ -startValue $srcMac \
-countValue {1}
sg_commit
set sg_field [lindex [ixNet remapIds $sg_field] 0]
@@ -2806,20 +2806,20 @@ proc startRfc2544Test { testSpec trafficSpec } {
#
set sg_field $ixNetSG_Stack(3)/field:"udp.header.srcPort-1"
ixNet setMultiAttrs $sg_field \
- -singleValue {63} \
+ -singleValue $srcPort \
-seed {1} \
-optionalEnabled True \
-fullMesh False \
-valueList {{63}} \
-stepValue {63} \
-fixedBits {63} \
- -fieldValue {Default} \
- -auto True \
+ -fieldValue $srcPort \
+ -auto False \
-randomMask {63} \
-trackingEnabled False \
-valueType singleValue \
-activeFieldChoice False \
- -startValue {63} \
+ -startValue $srcPort \
-countValue {1}
sg_commit
set sg_field [lindex [ixNet remapIds $sg_field] 0]
@@ -2829,14 +2829,14 @@ proc startRfc2544Test { testSpec trafficSpec } {
#
set sg_field $ixNetSG_Stack(3)/field:"udp.header.dstPort-2"
ixNet setMultiAttrs $sg_field \
- -singleValue {63} \
+ -singleValue $dstPort \
-seed {1} \
-optionalEnabled True \
-fullMesh False \
-valueList {{63}} \
-stepValue {1} \
-fixedBits {63} \
- -fieldValue {Default} \
+ -fieldValue $dstPort \
-auto False \
-randomMask {63} \
-trackingEnabled False \