vnfs: Enable PVP using vhost-user
[vswitchperf.git] / conf / 04_vnf.conf
1 # Copyright 2015 Intel Corporation.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #   http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 # ############################
16 # VNF configuration
17 # ############################
18 VNF_DIR = 'vnfs/'
19 VNF = 'QemuDpdkVhost'
20
21 # ############################
22 # Guest configuration
23 # ############################
24
25 # directory which is shared to QEMU guests. Useful for exchanging files
26 # between host and guest
27 GUEST_SHARE_DIR = '/tmp/qemu_share'
28
29 # location of guest disk image
30 GUEST_IMAGE = ''
31
32 # username for guest image
33 GUEST_USERNAME = ''
34
35 # password for guest image
36 GUEST_PASSWORD = ''
37
38 # login username prompt for guest image
39 GUEST_PROMPT_LOGIN = ''
40
41 # login password prompt for guest image
42 GUEST_PROMPT_PASSWORD = ''
43
44 # standard prompt for guest image
45 GUEST_PROMPT = ''
46
47 # log file for qemu
48 LOG_FILE_QEMU = 'qemu.log'
49
50 # log file for all commands executed on guest(s)
51 # multiple guests will result in log files with the guest number appended
52 LOG_FILE_GUEST_CMDS = 'guest-cmds.log'
53
54 # ############################
55 # Executables
56 # ############################
57
58 QEMU_BIN = 'qemu-system-x86_64'
59
60 # Guest shell prompt when inside DPDK dir
61 # for example: root@ovdk_guest DPDK]#'
62 QEMU_GUEST_DPDK_PROMPT = ''
63
64 # Guest shell prompt when inside the
65 # test-pmd directory of DPDK
66 # for example: 'root@ovdk_guest test-pmd]#'
67 QEMU_GUEST_TEST_PMD_PROMPT = ''
68
69 OVS_VAR_DIR = '/usr/local/var/run/openvswitch/'
70
71 GUEST_NET1_MAC = '00:00:00:00:00:01'
72 GUEST_NET2_MAC = '00:00:00:00:00:02'
73
74 GUEST_NET1_PCI_ADDRESS = '00:04.0'
75 GUEST_NET2_PCI_ADDRESS = '00:05.0'
76