1 ### Configuration options for openvswitch
3 # Copyright (C) 2009, 2010 Nicira Networks, Inc.
5 # Copying and distribution of this file, with or without modification,
6 # are permitted in any medium without royalty provided the copyright
7 # notice and this notice are preserved. This file is offered as-is,
8 # without warranty of any kind.
10 # ENABLE_BRCOMPAT: If 'y' than emulate linux bridging interfaces
11 # using the brcompat kernel module and ovs-brcompatd daemon
12 # This is required and enabled by default for XenServer 5.5.0,
13 # and not required and not enabled by default for later versions.
16 # ENABLE_FAKE_PROC_NET: If 'y' then emulate linux bonding and vlan
17 # files in /proc as if the bonding and vlan demultiplexing done in
18 # ovs-vswitchd were being implemented using existing Linux mechanisms.
19 # This is useful in some cases when replacing existing solutions.
20 # This is required and enabled by default for XenServer 5.5.0,
21 # and not required and not enabled by default for later versions.
22 # ENABLE_FAKE_PROC_NET=?
24 # ENABLE_XENSERVERD: If 'y' then monitor system for changes in pool membership
25 # This is required and enabled by default for XenServer 5.5.0,
26 # and not required and not enabled by default for later versions.
29 # ENABLE_MONITOR: If 'y' then monitor daemon processes and restart them
30 # if they die due to an error signal.
33 # FORCE_COREFILES: If 'y' then core files will be enabled.
36 # COREFILE_PATTERN: Pattern used to determine path and filename for
37 # core files when FORCE_COREFILES is 'y'. This is Linux specific.
38 # See the manpage for "core".
39 # COREFILE_PATTERN="/var/xen/openvswitch/%e-%t"
41 # OVSDB_SERVER_REMOTES: Space-separated list of methods on which to have
42 # ovsdb-server listen or connect for a JSON-RPC connection.
43 # OVSDB_SERVER_REMOTES="punix:/var/run/openvswitch/db.sock db:Open_vSwitch,managers"
45 # OVSDB_SERVER_DB: File for which ovsdb-server uses for storage.
46 # OVSDB_SERVER_DB=/etc/openvswitch/conf.db
48 # OVSDB_SERVER_PIDFILE: File in which to store the pid of the running
50 # OVSDB_SERVER_PIDFILE=/var/run/openvswitch/ovsdb-server.pid
52 # OVSDB_SERVER_RUN_DIR: Set the directory in which ovsdb-server should be
53 # run. This mainly affects where core files will be placed.
54 # OVSDB_SERVER_RUN_DIR=/var/xen/openvswitch
56 # OVSDB_SERVER_PRIORITY: "nice" priority at which to run ovsdb-server and
58 # OVSDB_SERVER_PRIORITY=-10
60 # OVSDB_SERVER_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
61 # OVSDB_SERVER_LOGFILE=/var/log/openvswitch/ovsdb-server.log
63 # OVSDB_SERVER_FILE_LOGLEVEL: Log level at which to log into the
64 # OVSDB_SERVER_LOG file. If this is null or not set the logfile will
65 # not be created and nothing will be sent to it. This is the
66 # default. The available options are: EMER, WARN, INFO and DBG.
67 # OVSDB_SERVER_FILE_LOGLEVEL=""
69 # OVSDB_SERVER_SYSLOG_LOGLEVEL: Log level at which to log into syslog. If
70 # this is null or not set the default is to log to syslog
71 # emergency and warning level messages only.
72 # OVSDB_SERVER_SYSLOG_LOGLEVEL="WARN"
74 # OVSDB_SERVER_MEMLEAK_LOGFILE: File for logging memory leak data.
75 # Enabling this option will slow ovsdb-server significantly. Do not
76 # enable it except to debug a suspected memory leak. Use the
77 # ovs-parse-leaks utility included with Open vSwitch to parse the
78 # log file. For best results, you also need debug symbols.
79 # OVSDB_SERVER_MEMLEAK_LOGFILE=""
81 # OVSDB_SERVER_STRACE_LOG: File for logging strace output.
82 # If this is set to a nonempty string, then ovsdb-server will run
83 # under strace, whose output will be logged to the specified file.
84 # Enabling this option will slow ovsdb-server significantly.
85 # OVSDB_SERVER_STRACE_LOG and OVSDB_SERVER_VALGRIND_LOG are mutually
87 # OVSDB_SERVER_STRACE_LOG=""
89 # OVSDB_SERVER_STRACE_OPT: Options to pass to strace.
90 # This option's value is honored only when OVSDB_SERVER_STRACE_LOG is
91 # set to a nonempty string.
92 # OVSDB_SERVER_STRACE_OPT=""
94 # OVSDB_SERVER_VALGRIND_LOG: File for logging valgrind output.
95 # If this is set to a nonempty string, then ovsdb-server will run
96 # under valgrind, whose output will be logged to the specified file.
97 # Enabling this option will slow ovsdb-server by 100X or more.
98 # valgrind is not installed by default on XenServer systems; you must
99 # install it by hand to usefully enable this option.
100 # OVSDB_SERVER_STRACE_LOG and OVSDB_SERVER_VALGRIND_LOG are mutually
102 # OVSDB_SERVER_VALGRIND_LOG=""
104 # OVSDB_SERVER_VALGRIND_OPT: Options to pass to valgrind.
105 # This option's value is honored only when OVSDB_SERVER_VALGRIND_LOG is
106 # set to a nonempty string.
107 # OVSDB_SERVER_VALGRIND_OPT=""
109 # VSWITCHD_OVSDB_SERVER: Method to have ovs-vswitchd initiate a JSON-RPC
110 # connection to an ovsdb-server instance.
111 # VSWITCHD_OVSDB_SERVER=unix:/var/run/openvswitch/db.sock
113 # VSWITCHD_OVSDB_SCHEMA: Schema file to use for generating a new OVSDB
114 # ovs-vswitchd database.
115 # VSWITCHD_OVSDB_SCHEMA=/usr/share/openvswitch/vswitch.ovsschema
117 # VSWITCHD_PIDFILE: File in which to store the pid of the running
119 # VSWITCHD_PIDFILE=/var/run/openvswitch/ovs-vswitchd.pid
121 # VSWITCHD_RUN_DIR: Set the directory in which ovs-vswitchd should be
122 # run. This mainly affects where core files will be placed.
123 # VSWITCHD_RUN_DIR=/var/xen/openvswitch
125 # VSWITCHD_PRIORITY: "nice" priority at which to run ovs-vswitchd and related
127 # VSWITCHD_PRIORITY=-10
129 # VSWITCHD_MLOCKALL: Whether to pass ovs-vswitchd the --mlockall option.
130 # This option should be set to "yes" or "no". The default is "yes".
131 # Enabling this option can avoid networking interruptions due to
132 # system memory pressure in extraordinary situations, such as multiple
133 # concurrent VM import operations.
134 # VSWITCHD_MLOCKALL=yes
136 # VSWITCHD_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
137 # VSWITCHD_LOGFILE=/var/log/openvswitch/ovs-vswitchd.log
139 # VSWITCHD_FILE_LOGLEVEL: Log level at which to log into the
140 # VSWITCHD_LOG file. If this is null or not set the logfile will
141 # not be created and nothing will be sent to it. This is the
142 # default. The available options are: EMER, WARN, INFO and DBG.
143 # VSWITCHD_FILE_LOGLEVEL=""
145 # VSWITCHD_SYSLOG_LOGLEVEL: Log level at which to log into syslog. If
146 # this is null or not set the default is to log to syslog
147 # emergency and warning level messages only.
148 # VSWITCHD_SYSLOG_LOGLEVEL="WARN"
150 # VSWITCHD_MEMLEAK_LOGFILE: File for logging memory leak data.
151 # Enabling this option will slow ovs-vswitchd significantly. Do not
152 # enable it except to debug a suspected memory leak. Use the
153 # ovs-parse-leaks utility included with Open vSwitch to parse the
154 # log file. For best results, you also need debug symbols.
155 # VSWITCHD_MEMLEAK_LOGFILE=""
157 # VSWITCHD_STRACE_LOG: File for logging strace output.
158 # If this is set to a nonempty string, then ovs-vswitchd will run
159 # under strace, whose output will be logged to the specified file.
160 # Enabling this option will slow ovs-vswitchd significantly.
161 # VSWITCHD_STRACE_LOG and VSWITCHD_VALGRIND_LOG are mutually exclusive.
162 # VSWITCHD_STRACE_LOG=""
164 # VSWITCHD_STRACE_OPT: Options to pass to strace.
165 # This option's value is honored only when VSWITCHD_STRACE_LOG is
166 # set to a nonempty string.
167 # VSWITCHD_STRACE_OPT=""
169 # VSWITCHD_VALGRIND_LOG: File for logging valgrind output.
170 # If this is set to a nonempty string, then ovs-vswitchd will run
171 # under valgrind, whose output will be logged to the specified file.
172 # Enabling this option will slow ovs-vswitchd by 100X or more.
173 # valgrind is not installed by default on XenServer systems; you must
174 # install it by hand to usefully enable this option.
175 # VSWITCHD_STRACE_LOG and VSWITCHD_VALGRIND_LOG are mutually exclusive.
176 # VSWITCHD_VALGRIND_LOG=""
178 # VSWITCHD_VALGRIND_OPT: Options to pass to valgrind.
179 # This option's value is honored only when VSWITCHD_VALGRIND_LOG is
180 # set to a nonempty string.
181 # VSWITCHD_VALGRIND_OPT=""
183 # BRCOMPATD_PIDFILE: File in which to store the pid of the running
184 # ovs-brcompatd (the Linux bridge compatibility daemon for ovs-vswitchd).
185 # If this is the empty string, ovs-brcompatd will not be started and
186 # the brcompat_mod kernel module will not be inserted. Note that
187 # the default is to use brcompat!
188 # BRCOMPATD_PIDFILE=/var/run/openvswitch/ovs-brcompatd.pid
190 # BRCOMPATD_RUN_DIR: Set the directory in which ovs-brcompatd should be
191 # run. This mainly affects where core files will be placed.
192 # BRCOMPATD_RUN_DIR=/var/xen/openvswitch
194 # BRCOMPATD_PRIORITY: "nice" priority at which to run ovs-vswitchd and related
196 # BRCOMPATD_PRIORITY=-10
198 # BRCOMPATD_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
199 # BRCOMPATD_LOGFILE=/var/log/openvswitch/ovs-brcompatd.log
201 # BRCOMPATD_FILE_LOGLEVEL: Log level at which to log into the
202 # BRCOMPATD_LOG file. If this is null or not set the logfile will
203 # not be created and nothing will be sent to it. This is the
204 # default. The available options are: EMER, WARN, INFO and DBG.
205 # BRCOMPATD_FILE_LOGLEVEL=""
207 # BRCOMPATD_SYSLOG_LOGLEVEL: Log level at which to log into syslog. If
208 # this is null or not set the default is to log to syslog
209 # emergency and warning level messages only.
210 # BRCOMPATD_SYSLOG_LOGLEVEL="WARN"
212 # BRCOMPATD_MEMLEAK_LOGFILE: File for logging memory leak data.
213 # Enabling this option will slow ovs-brcompatd significantly. Do not
214 # enable it except to debug a suspected memory leak. Use the
215 # ovs-parse-leaks utility included with Open vSwitch to parse the
216 # log file. For best results, you also need debug symbols.
217 # BRCOMPATD_MEMLEAK_LOGFILE=""
219 # BRCOMPATD_STRACE_LOG: File for logging strace output.
220 # If this is set to a nonempty string, then ovs-brcompatd will run
221 # under strace, whose output will be logged to the specified file.
222 # Enabling this option will slow brcompatd significantly.
223 # BRCOMPATD_STRACE_LOG and BRCOMPATD_VALGRIND_LOG are mutually exclusive.
224 # BRCOMPATD_STRACE_LOG=""
226 # BRCOMPATD_STRACE_OPT: Options to pass to strace.
227 # This option's value is honored only when BRCOMPATD_STRACE_LOG is
228 # set to a nonempty string.
229 # BRCOMPATD_STRACE_OPT=""
231 # BRCOMPATD_VALGRIND_LOG: File for logging valgrind output.
232 # If this is set to a nonempty string, then ovs-brcompatd will run
233 # under valgrind, whose output will be logged to the specified file.
234 # Enabling this option will slow brcompatd by 100X or more.
235 # valgrind is not installed by default on XenServer systems; you must
236 # install it by hand to usefully enable this option.
237 # BRCOMPATD_STRACE_LOG and BRCOMPATD_VALGRIND_LOG are mutually exclusive.
238 # BRCOMPATD_VALGRIND_LOG=""
240 # BRCOMPATD_VALGRIND_OPT: Options to pass to valgrind.
241 # This option's value is honored only when BRCOMPATD_VALGRIND_LOG is
242 # set to a nonempty string.
243 # BRCOMPATD_VALGRIND_OPT=""
245 # XENSERVERD_PIDFILE: File in which to store the pid of the running
247 # XENSERVERD_PIDFILE=/var/run/openvswitch/ovs-xenserverd.pid
249 # XENSERVERD_RUN_DIR: Set the directory in which ovs-xenserverd should be
250 # run. This mainly affects where core files will be placed.
251 # XENSERVERD_RUN_DIR=/var/xen/openvswitch