summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorkalyanreddy <reddyx.gundarapu@intel.com>2017-03-10 09:34:54 -0800
committerKalyan reddy Gundarapu <reddyx.gundarapu@intel.com>2017-03-15 07:03:45 +0000
commita9df9f4fdafc08c33d1debd0e4999e58cdbf4b31 (patch)
treecaf655e710a568fa905e77abee198ae0645e9882 /tests
parentaf712826966ee75ba5ac466a6c192580abdf0c29 (diff)
This patch includes scripts and configuration files for
executing packet forwarding test cases as a part of kvmfornfv daily job and printing the results. Change-Id: I484ce89c4821d03cb997c774f014c59a10dc275e Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/vsperf.conf36
-rwxr-xr-xtests/vsperf.conf.sriov37
2 files changed, 73 insertions, 0 deletions
diff --git a/tests/vsperf.conf b/tests/vsperf.conf
new file mode 100755
index 000000000..a5055e770
--- /dev/null
+++ b/tests/vsperf.conf
@@ -0,0 +1,36 @@
+#################################################################
+##
+## Configuration file for executing packet forwarding test cases
+## using IXIA traffic generator
+##
+#################################################################
+
+TRAFFICGEN = 'IxNet'
+RTE_TARGET = 'x86_64-native-linuxapp-gcc'
+# Ixia/IxNet configuration
+TRAFFICGEN_IXIA_CARD = '1'
+TRAFFICGEN_IXIA_PORT1 = '3'
+TRAFFICGEN_IXIA_PORT2 = '4'
+#TRAFFICGEN_IXNET_LIB_PATH = '/opt/ixnet/ixnetwork/8.01.1029.6/lib/IxTclNetwork'
+TRAFFICGEN_IXNET_LIB_PATH = '/opt/ixia/ixnetwork/8.01.1029.6/lib/IxTclNetwork'
+# Ixia traffic generator
+TRAFFICGEN_IXIA_HOST = '10.10.50.6' # quad dotted ip address
+# host where IxNetwork GUI/daemon runs
+TRAFFICGEN_IXNET_MACHINE = '10.10.100.6' # quad dotted ip address
+TRAFFICGEN_IXNET_PORT = '8009'
+TRAFFICGEN_IXNET_USER = 'kvm4nfv'
+# paths to shared directory for IXIA_HOST and DUT (localhost)
+TRAFFICGEN_IXNET_TESTER_RESULT_DIR = 'c:/ixia_results/kvm4nfv_ci'
+TRAFFICGEN_IXNET_DUT_RESULT_DIR = '/mnt/ixia_results/kvm4nfv_ci'
+WHITELIST_NICS = ['02:00.0', '02:00.1']
+##############################
+# VNF configuration
+##############################
+GUEST_IMAGE = ['/home/jenkins/vloop-vnf-ubuntu-14.04_20160804.qcow2']
+#Using kvmfornfv built qemu for launching guest vms.
+PATHS['qemu'] = {
+ 'type' : 'bin',
+ 'bin': {
+ 'qemu-system': '/usr/local/bin/qemu-system-x86_64'
+ }
+}
diff --git a/tests/vsperf.conf.sriov b/tests/vsperf.conf.sriov
new file mode 100755
index 000000000..c37414c1b
--- /dev/null
+++ b/tests/vsperf.conf.sriov
@@ -0,0 +1,37 @@
+#################################################################
+##
+## Configuration file for executing packet forwarding test cases
+## using IXIA traffic generator
+##
+#################################################################
+
+TRAFFICGEN = 'IxNet'
+RTE_TARGET = 'x86_64-native-linuxapp-gcc'
+# Ixia/IxNet configuration
+TRAFFICGEN_IXIA_CARD = '1'
+TRAFFICGEN_IXIA_PORT1 = '3'
+TRAFFICGEN_IXIA_PORT2 = '4'
+#TRAFFICGEN_IXNET_LIB_PATH = '/opt/ixnet/ixnetwork/8.01.1029.6/lib/IxTclNetwork'
+TRAFFICGEN_IXNET_LIB_PATH = '/opt/ixia/ixnetwork/8.01.1029.6/lib/IxTclNetwork'
+# Ixia traffic generator
+TRAFFICGEN_IXIA_HOST = '10.10.50.6' # quad dotted ip address
+# host where IxNetwork GUI/daemon runs
+TRAFFICGEN_IXNET_MACHINE = '10.10.100.6' # quad dotted ip address
+TRAFFICGEN_IXNET_PORT = '8009'
+TRAFFICGEN_IXNET_USER = 'kvm4nfv'
+# paths to shared directory for IXIA_HOST and DUT (localhost)
+TRAFFICGEN_IXNET_TESTER_RESULT_DIR = 'c:/ixia_results/kvm4nfv_ci'
+TRAFFICGEN_IXNET_DUT_RESULT_DIR = '/mnt/ixia_results/kvm4nfv_ci'
+WHITELIST_NICS = ['02:00.0', '02:00.1']
+PATHS['dpdk']['src']['modules'] = ['uio', 'vfio-pci']
+#############################
+# VNF configuration
+#############################
+GUEST_IMAGE = ['/home/jenkins/vloop-vnf-ubuntu-14.04_20160804.qcow2']
+#Using kvmfornfv built qemu for launching guest vms.
+PATHS['qemu'] = {
+ 'type' : 'bin',
+ 'bin': {
+ 'qemu-system': '/usr/local/bin/qemu-system-x86_64'
+ }
+}