aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorDino Simeon Madarang <dino.simeonx.madarang@intel.com>2015-10-19 14:55:06 +0100
committerMaryam Tahhan <maryam.tahhan@intel.com>2016-02-03 10:17:04 +0000
commitf463c563912abb806fe0d2fe85a4cf6825f416cc (patch)
tree0c588b1390b3333ecf262b4e39460ca2fc9d1d21 /conf
parent9685088224d2fe542026a6ecbc31a212e3dca3e9 (diff)
Add OVS tunnel encapsulation performance test
Measure OVS DPDK and native VXLAN/GRE/GENEVE encapsulation performance. This patch creates a new deployment scenario, Overlay_P2P. The DUT is configured as a TEP (Tunnel Endpoint) which performs encapsulation of frames and sends traffic to the 2nd traffic generator port. The traffic generator in this case receives an encapsulated frame. No decapsulation is performed in this testcase. Introduce a vsperf param, --run-integration, to filter tests to integration tests. When running integration tests, variables defined in the directory conf/integration/*conf as well as the conf/*.conf are available. This test case requires DPDK 2.1.0 and OVS master - 6bb4a18 or newer. Change-Id: Ide2f418909d647119388df9b30d0d0a3656b4e53 JIRA: VSPERF-180 Signed-off-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Al Morton <acmorton@att.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/integration/01_testcases.conf49
-rw-r--r--conf/integration/02_vswitch.conf24
-rw-r--r--conf/integration/03_traffic.conf20
3 files changed, 93 insertions, 0 deletions
diff --git a/conf/integration/01_testcases.conf b/conf/integration/01_testcases.conf
new file mode 100644
index 00000000..99154ad3
--- /dev/null
+++ b/conf/integration/01_testcases.conf
@@ -0,0 +1,49 @@
+# Copyright 2015-2016 Intel Corporation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# The 1st value of SUPPORTED_TUNNELING_PROTO is used as the default
+# tunneling protocol for OP2P tests.
+SUPPORTED_TUNNELING_PROTO = ['vxlan', 'gre', 'geneve']
+
+# Required for OP2P tests
+# "Tunnel Type": ["vxlan"|"gre"|"geneve"] # Tunnel Type defines tunneling protocol to use.
+# # It can be overridden by cli option tunnel_type.
+# # Values:
+# # "vxlan" - iteration of destination MAC address
+# # "gre" - iteration of destination IP address
+# # "geneve" - iteration of destination UDP port
+# # Default value is "vxlan".
+#
+# biDirectional testing for OP2P is not yet supported.
+# biDirectional must be set to False.
+
+INTEGRATION_TESTS = [
+ {
+ "Name": "overlay_p2p_tput",
+ "Traffic Type": "rfc2544",
+ "Deployment": "op2p",
+ "biDirectional": False,
+ "Tunnel Type": SUPPORTED_TUNNELING_PROTO[0],
+ "Description": "Overlay Encapsulation Throughput RFC2544 Test",
+ },
+ {
+ "Name": "overlay_p2p_cont",
+ "Traffic Type": "continuous",
+ "Deployment": "op2p",
+ "biDirectional": False,
+ "Tunnel Type": SUPPORTED_TUNNELING_PROTO[0],
+ "Description": "Overlay Encapsulation Continuous Stream",
+ },
+]
+
diff --git a/conf/integration/02_vswitch.conf b/conf/integration/02_vswitch.conf
new file mode 100644
index 00000000..20cec3e6
--- /dev/null
+++ b/conf/integration/02_vswitch.conf
@@ -0,0 +1,24 @@
+# Copyright 2015-2016 Intel Corporation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Tunnel endpoint for Overlay P2P deployment scenario
+VTEP_IP1 = '192.168.0.1/24'
+VTEP_IP2 = '192.168.240.10'
+VTEP_IP2_SUBNET = '192.168.240.0/24'
+TUNNEL_INTEGRATION_BRIDGE = 'br0'
+TUNNEL_EXTERNAL_BRIDGE = 'br-ext'
+TUNNEL_EXTERNAL_BRIDGE_IP = '192.168.240.1/24'
+
+# vxlan|gre|geneve
+TUNNEL_TYPE = 'vxlan'
diff --git a/conf/integration/03_traffic.conf b/conf/integration/03_traffic.conf
new file mode 100644
index 00000000..8bef092a
--- /dev/null
+++ b/conf/integration/03_traffic.conf
@@ -0,0 +1,20 @@
+# Copyright 2015-2016 Intel Corporation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# For OP2P deployment scenario
+TRAFFICGEN_PORT1_MAC = '02:00:00:00:00:01'
+TRAFFICGEN_PORT2_MAC = '02:00:00:00:00:02'
+TRAFFICGEN_PORT1_IP = '1.1.1.1'
+TRAFFICGEN_PORT2_IP = '90.90.90.90'
+