summaryrefslogtreecommitdiffstats
path: root/conf/04_vnf.conf
blob: 7d1399d1c77bc044aa7aea3cde7204ea0e098d01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Copyright 2015 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.

# ############################
# VNF configuration
# ############################
VNF_DIR = 'vnfs/'
VNF = 'QemuDpdkVhost'

# ############################
# Guest configuration
# ############################

# directory which is shared to QEMU guests. Useful for exchanging files
# between host and guest
GUEST_SHARE_DIR = '/tmp/qemu_share'

# location of guest disk image
GUEST_IMAGE = ''

# username for guest image
GUEST_USERNAME = ''

# password for guest image
GUEST_PASSWORD = ''

# login username prompt for guest image
GUEST_PROMPT_LOGIN = ''

# login password prompt for guest image
GUEST_PROMPT_PASSWORD = ''

# standard prompt for guest image
GUEST_PROMPT = ''

# log file for qemu
LOG_FILE_QEMU = 'qemu.log'

# log file for all commands executed on guest(s)
# multiple guests will result in log files with the guest number appended
LOG_FILE_GUEST_CMDS = 'guest-cmds.log'

# ############################
# Executables
# ############################

QEMU_BIN = 'qemu-system-x86_64'

# Guest shell prompt when inside DPDK dir
# for example: root@ovdk_guest DPDK]#'
QEMU_GUEST_DPDK_PROMPT = ''

# Guest shell prompt when inside the
# test-pmd directory of DPDK
# for example: 'root@ovdk_guest test-pmd]#'
QEMU_GUEST_TEST_PMD_PROMPT = ''

OVS_VAR_DIR = '/usr/local/var/run/openvswitch/'

GUEST_NET1_MAC = '00:00:00:00:00:01'
GUEST_NET2_MAC = '00:00:00:00:00:02'

GUEST_NET1_PCI_ADDRESS = '00:04.0'
GUEST_NET2_PCI_ADDRESS = '00:05.0'