diff options
author | Martin Klozik <martinx.klozik@intel.com> | 2015-10-02 02:18:09 +0100 |
---|---|---|
committer | Maryam Tahhan <maryam.tahhan@intel.com> | 2015-10-12 14:58:14 +0000 |
commit | 9b590e2282714e3b5aae26c3ac2d8c857b1ddb82 (patch) | |
tree | 3739c9f042949c02e3254be342f0076d6ed2f9f2 /tools/pkt_gen | |
parent | f8b7dd0a2611061fed7134474ae10ab85e80cf3d (diff) |
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 <martinx.klozik@intel.com>
Signed-off-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
Diffstat (limited to 'tools/pkt_gen')
-rw-r--r-- | tools/pkt_gen/ixnet/ixnetrfc2544.tcl | 18 |
1 files changed, 9 insertions, 9 deletions
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 \ |