kernel/vanilla_config: add dm-flakey and dm-snapshot mods
[ddiss/rapido.git] / rapido.conf.example
1 # Path to Linux kernel source. Prior to running a "cut_X" script, the kernel
2 # should be built, with modules installed (or symlinked) under
3 # /lib/modules/<kernel_version>
4 #
5 # e.g. KERNEL_SRC="/home/me/linux"
6 KERNEL_SRC=""
7
8 # If specified, this parameter defines the path that Dracut should use to
9 # obtain compiled kernel modules. If left blank, Dracut will use its default
10 # (e.g. /lib/modules) search path.
11 # A value of "${KERNEL_SRC}/mods" makes sense when used alongside
12 # "INSTALL_MOD_PATH=./mods make modules_install" during kernel compilation.
13 KERNEL_INSTALL_MOD_PATH="${KERNEL_SRC}/mods"
14
15 # bridge device provisioned by br_setup.sh
16 # e.g. BR_DEV="br0"
17 BR_DEV="br0"
18
19 # If specified, a physical network interface to be connected to the bridge.
20 # This should only be necessary if you wish to connect to the rapido VMs from a
21 # remote host.
22 # e.g. BR_IF="eth0"
23 #BR_IF=""
24
25 # if specified, an address to configure for the bridge device
26 BR_ADDR="192.168.155.1/24"
27
28 # if specified, start a dhcp server, listening on $BR_DEV
29 # e.g. BR_DHCP_SRV_RANGE="192.168.155.10,192.168.155.20,12h"
30 #BR_DHCP_SRV_RANGE=""
31
32 # Tap VM network device owner
33 # e.g. TAP_USER="me"
34 TAP_USER=""
35
36 # extra qemu-kvm arguments to append for both VMs:
37 # "-nographic" sees the emulated serial port redirected to the invoking console.
38 # "-display none -daemonize" can be used to run VMs in the background, without
39 # redirection.
40 #
41 # e.g. QEMU_EXTRA_ARGS="-nographic -drive file=/dev/sdz,if=virtio,cache=none,format=raw,index=0"
42 # e.g. QEMU_EXTRA_ARGS="-nographic -gdb tcp::1234"
43 QEMU_EXTRA_ARGS="-nographic"
44
45 # kernel modules or files for which dynamic debug should be enabled
46 # e.g. DYN_DEBUG_MODULES="rbd libceph"
47 # e.g. DYN_DEBUG_FILES="drivers/block/rbd.c"
48 #DYN_DEBUG_MODULES=""
49 #DYN_DEBUG_FILES=""
50
51 ######### First VM #########
52 # Tap tunnel interface provisioned by br_setup.sh, and used by vm.sh
53 TAP_DEV0="tap0"
54
55 # MAC address assigned to the VM
56 # e.g. MAC_ADDR1="b8:ac:24:45:c5:01"
57 MAC_ADDR1=""
58
59 # When set to "1", use DHCP to obtain IP and hostname.
60 #IP_ADDR1_DHCP="1"
61
62 # IP address assigned to the VM during boot
63 IP_ADDR1="192.168.155.101"
64
65 # Static hostname assigned to the VM
66 HOSTNAME1="rapido1"
67 #############################
68
69 ######### Second VM #########
70 # Tap tunnel interface provisioned by br_setup.sh, and used by vm.sh
71 TAP_DEV1="tap1"
72
73 # MAC address assigned to the VM
74 # e.g. MAC_ADDR2="b8:ac:24:45:c5:02"
75 MAC_ADDR2=""
76
77 # When set to "1", use DHCP to obtain IP and hostname.
78 #IP_ADDR2_DHCP="1"
79
80 # Static IP address assigned to the VM during boot
81 IP_ADDR2="192.168.155.102"
82
83 # Static hostname assigned to the VM
84 HOSTNAME2="rapido2"
85 #############################
86
87 ##### Ceph globals #####
88 # Path to src directory within Ceph source repository. Only required if a Ceph
89 # specific Cut script will be run. vstart.sh should be run prior to Cut.
90 # If not specified, then the Ceph config, keyring and binaries will be obtained
91 # from the local system.
92 #
93 # e.g. CEPH_SRC="/home/me/ceph/src"
94 CEPH_SRC=""
95
96 # user for Ceph authentication. Secret obtained from keyring file.
97 # The default "admin" user is created by vstart.sh.
98 CEPH_USER="admin"
99
100 # monitor name used to obtain the mon_addr from ceph.conf [mon.$name], otherwise
101 # fallback to mon_host in the [global] section. The default below corresponds to
102 # the first vstart.sh deployed monitor.
103 CEPH_MON_NAME="a"
104
105 # The RBD pool and image to expose via LIO/tcmu iSCSI, loopback fabric, or for
106 # rbd_autorun.sh to map as a local device. This image must be created prior
107 # to booting the test VM.
108 CEPH_RBD_POOL="rbd"
109 CEPH_RBD_IMAGE="iscsi_test"
110 CEPH_RBD_IMAGE_MB="4096"
111 ###########################
112
113 ####### lio_local_autorun, lio_rbd_autorun and rbd_autorun #######
114 # IQN for the iSCSI target configured by lio_*_autorun.sh
115 TARGET_IQN="iqn.2003-01.org.linux-iscsi:rapido"
116
117 # List of initiator IQNs granted full access to the lio_*_autorun.sh iSCSI
118 # target. Defaults below correspond to the libiscsi test utility.
119 INITIATOR_IQNS="iqn.2007-10.com.github:sahlberg:libiscsi:iscsi-test \
120                 iqn.2007-10.com.github:sahlberg:libiscsi:iscsi-test-2"
121 ###########################
122
123 ####### fstests_*_autorun.sh #######
124 # If defined, run the following command from within the fstests source directory
125 # following VM boot-up.
126 # e.g. FSTESTS_AUTORUN_CMD="./check -g auto && shutdown"
127 #FSTESTS_AUTORUN_CMD=""
128 #################################
129
130 ######## fstests_cifs_autorun.sh ########
131 # SMB/CIFS server and authentication details, used to mount the test share.
132 # e.g. CIFS_SERVER="smbserver.example.com"
133 #CIFS_SERVER=""
134 # e.g. CIFS_SHARE="myshare"
135 #CIFS_SHARE=""
136 # e.g. CIFS_DOMAIN="EXAMPLE"
137 #CIFS_DOMAIN=""
138 # e.g. CIFS_USER="me"
139 #CIFS_USER=""
140 # e.g. CIFS_PW="password"
141 #CIFS_PW=""
142 # e.g. CIFS_MOUNT_OPTS="vers=3.0"
143 #CIFS_MOUNT_OPTS=""
144 #################################
145
146 ######## cut_fstests_*.sh #########
147 # FSTESTS_SRC should correspond to a checkout and build of the xfstests source
148 # available at https://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git
149 # e.g. FSTESTS_SRC="/home/me/xfstests-dev"
150 #FSTESTS_SRC=""
151 ##################################
152
153 ####### blktests_*_autorun.sh #######
154 # If defined, run the following command from within the blktests source directory
155 # following VM boot-up.
156 # e.g. BLKTESTS_AUTORUN_CMD="./check && shutdown"
157 #BLKTESTS_AUTORUN_CMD=""
158 #################################
159
160 ######## cut_blktests_*.sh #########
161 # BLKTESTS_SRC should correspond to a checkout and build of the blktests source
162 # available at https://github.com/osandov/blktests.git
163 # e.g. BLKTESTS_SRC="/home/me/blktests"
164 #BLKTESTS_SRC=""
165 ##################################
166
167 ######## cut_usb_rbd.sh #########
168 # RBD_USB_SRC should correspond to a checkout and build of
169 # https://github.com/ddiss/rbd-usb.
170 # e.g. RBD_USB_SRC="/home/me/rbd-usb"
171 #RBD_USB_SRC=""
172 #################################
173
174 ######## cut_tcmu_*.sh ########
175 # TCMU_RUNNER_SRC should correspond to a checkout and build of
176 # https://github.com/open-iscsi/tcmu-runner
177 # e.g. TCMU_RUNNER_SRC="/home/me/tcmu-runner"
178 #TCMU_RUNNER_SRC=""
179 #################################
180
181 ###### dropbear_autorun.sh ######
182 # public ssh key to add to Dropbear's authorized_keys file
183 #SSH_AUTHORIZED_KEY=""
184 #################################