From 9b590e2282714e3b5aae26c3ac2d8c857b1ddb82 Mon Sep 17 00:00:00 2001 From: Martin Klozik Date: Fri, 2 Oct 2015 02:18:09 +0100 Subject: Enable PVP and PVVP deployments for Vanilla OVS Support for PVP and PVVP scenerios using Vanilla OVS was added. VMs are configured to forward traffic between virtual interfaces by standard linux capabilities. Traffic generator script was updated to accept MAC and IP address configuration to allow VM forwarding configuration. VSPERF-66, VSPERF-70 Change-Id: Ia70ab6be547b39928a1eae319faba779d4e29284 Signed-off-by: Martin Klozik Signed-off-by: Dino Simeon Madarang Reviewed-by: Maryam Tahhan Reviewed-by: Brian Castelli Reviewed-by: Gene Snider Reviewed-by: Al Morton Reviewed-by: Tv Rao --- tools/pkt_gen/ixnet/ixnetrfc2544.tcl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'tools/pkt_gen/ixnet') diff --git a/tools/pkt_gen/ixnet/ixnetrfc2544.tcl b/tools/pkt_gen/ixnet/ixnetrfc2544.tcl index d5479b25..eda369db 100644 --- a/tools/pkt_gen/ixnet/ixnetrfc2544.tcl +++ b/tools/pkt_gen/ixnet/ixnetrfc2544.tcl @@ -702,7 +702,7 @@ proc startRfc2544Test { testSpec trafficSpec } { -frEncapsulation ::ixNet::OBJ-null \ -incrementPerVcVlanMode noIncrement \ -incrementVlanMode noIncrement \ - -mac "00:00:00:00:00:01" \ + -mac $srcMac \ -macRangeMode normal \ -numberOfVcs 1 \ -siteId 0 \ @@ -1082,7 +1082,7 @@ proc startRfc2544Test { testSpec trafficSpec } { -frEncapsulation ::ixNet::OBJ-null \ -incrementPerVcVlanMode noIncrement \ -incrementVlanMode noIncrement \ - -mac "00:01:00:05:08:00" \ + -mac $dstMac \ -macRangeMode normal \ -numberOfVcs 1 \ -siteId 0 \ @@ -2046,14 +2046,14 @@ proc startRfc2544Test { testSpec trafficSpec } { # set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.srcIp-27" ixNet setMultiAttrs $sg_field \ - -singleValue {1.1.1.1} \ + -singleValue $srcIp \ -seed {1} \ -optionalEnabled True \ -fullMesh False \ -valueList {{0.0.0.0}} \ -stepValue {0.0.0.0} \ -fixedBits {0.0.0.0} \ - -fieldValue {1.1.1.1} \ + -fieldValue $srcIp \ -auto False \ -randomMask {0.0.0.0} \ -trackingEnabled False \ @@ -2069,14 +2069,14 @@ proc startRfc2544Test { testSpec trafficSpec } { # set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.dstIp-28" ixNet setMultiAttrs $sg_field \ - -singleValue {90.90.90.90} \ + -singleValue $dstIp \ -seed {1} \ -optionalEnabled True \ -fullMesh False \ -valueList {{0.0.0.0}} \ -stepValue {0.0.0.0} \ -fixedBits {0.0.0.0} \ - -fieldValue {90.90.90.90} \ + -fieldValue $dstIp \ -auto False \ -randomMask {0.0.0.0} \ -trackingEnabled False \ @@ -3681,7 +3681,7 @@ proc startRfc2544Test { testSpec trafficSpec } { # set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.srcIp-27" ixNet setMultiAttrs $sg_field \ - -singleValue {1.1.1.1} \ + -singleValue $srcIp \ -seed {1} \ -optionalEnabled True \ -fullMesh False \ @@ -3704,14 +3704,14 @@ proc startRfc2544Test { testSpec trafficSpec } { # set sg_field $ixNetSG_Stack(3)/field:"ipv4.header.dstIp-28" ixNet setMultiAttrs $sg_field \ - -singleValue {90.90.90.90} \ + -singleValue $dstIp \ -seed {1} \ -optionalEnabled True \ -fullMesh False \ -valueList {{0.0.0.0}} \ -stepValue {0.0.0.0} \ -fixedBits {0.0.0.0} \ - -fieldValue {90.90.90.90} \ + -fieldValue $dstIp \ -auto False \ -randomMask {0.0.0.0} \ -trackingEnabled False \ -- cgit 1.2.3-korg