aboutsummaryrefslogtreecommitdiffstats
path: root/conf/04_vnf.conf
diff options
context:
space:
mode:
authorDino Simeon Madarang <dino.simeonx.madarang@intel.com>2015-07-15 09:22:07 +0100
committerMaryam Tahhan <maryam.tahhan@intel.com>2015-08-25 09:05:55 +0000
commitfcdbebe21c7ce590bb6e321506dcd722ad9f9863 (patch)
tree0f71099ddcbe7ce276fdfc2ab3bf1d7cf819535e /conf/04_vnf.conf
parent65fe266e99de3746372e633794c07ad95c1e383e (diff)
vnfs: Enable PVP using vhost-cuse
Enable PVP testing using vhost-cuse as guest access method Recent changes: * Move NEWS.md changes to NEWS.rst * Update comment to vhost-cuse * Restore config back to checkout state after make * Merge OPNFV 1092 updates * Add PVP-vhost-cuse to NEWS.md * Add comment/example to GUEST_CORE_BINDING * Move hardcoded values to conf/04_vnfs.conf * Set default VNF to QemuDpdkVhostCuse * Compile eventfd_link if VHOST_USER=n * Use MAC and PCI address from conf * Use vhost method in conf to properly set interface type JIRA: VSPERF-59 Change-Id: Ib1159e216f3e25b9971c0935969680582683916b Signed-off-by: Madarang, Dino Simeon <dino.simeonx.madarang@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Diffstat (limited to 'conf/04_vnf.conf')
-rw-r--r--conf/04_vnf.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/conf/04_vnf.conf b/conf/04_vnf.conf
index 7d1399d1..1c3712ed 100644
--- a/conf/04_vnf.conf
+++ b/conf/04_vnf.conf
@@ -74,3 +74,17 @@ GUEST_NET2_MAC = '00:00:00:00:00:02'
GUEST_NET1_PCI_ADDRESS = '00:04.0'
GUEST_NET2_PCI_ADDRESS = '00:05.0'
+GUEST_MEMORY = '3072'
+
+# test-pmd requires 2 VM cores
+GUEST_SMP = '2'
+
+# Host cores to use to affinitize the SMP cores of a QEMU instance
+# For 2 VNFs you may use [(4,5), (6, 7)]
+GUEST_CORE_BINDING = [(4, 5)]
+
+# Starte Qemu on cores 3, 4,5 (0x038)
+QEMU_CORE = '38'
+
+GUEST_OVS_DPDK_DIR = '/root/ovs_dpdk'
+OVS_DPDK_SHARE = '/mnt/ovs_dpdk_share'