Catalli's threaded switch
[sliver-openvswitch.git] / xenserver / usr_share_openvswitch_scripts_sysconfig.template
1 ### Configuration options for openvswitch
2
3 # Copyright (C) 2009, 2010 Nicira Networks, Inc.
4 #
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.
9
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.
14 # ENABLE_BRCOMPAT=?
15
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=?
23
24 # ENABLE_MONITOR: If 'y' then monitor daemon processes and restart them
25 #    if they die due to an error signal.
26 # ENABLE_MONITOR=y
27
28 # FORCE_COREFILES: If 'y' then core files will be enabled.
29 # FORCE_COREFILES=y
30
31 # COREFILE_PATTERN: Pattern used to determine path and filename for
32 #     core files when FORCE_COREFILES is 'y'.  This is Linux specific.
33 #     See the manpage for "core".
34 # COREFILE_PATTERN="/var/xen/openvswitch/%e-%t"
35
36 # OVSDB_SERVER_REMOTES: Space-separated list of methods on which to have
37 #     ovsdb-server listen or connect for a JSON-RPC connection.
38 # OVSDB_SERVER_REMOTES="punix:/var/run/openvswitch/db.sock db:Open_vSwitch,managers"
39
40 # OVSDB_SERVER_DB: File for which ovsdb-server uses for storage.
41 # OVSDB_SERVER_DB=/etc/openvswitch/conf.db
42
43 # OVSDB_SERVER_PIDFILE: File in which to store the pid of the running
44 #     ovsdb-server.
45 # OVSDB_SERVER_PIDFILE=/var/run/openvswitch/ovsdb-server.pid
46
47 # OVSDB_SERVER_RUN_DIR: Set the directory in which ovsdb-server should be
48 #     run.  This mainly affects where core files will be placed.
49 # OVSDB_SERVER_RUN_DIR=/var/xen/openvswitch
50
51 # OVSDB_SERVER_PRIORITY: "nice" priority at which to run ovsdb-server and 
52 #     related processes.
53 # OVSDB_SERVER_PRIORITY=-10
54
55 # OVSDB_SERVER_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
56 # OVSDB_SERVER_LOGFILE=/var/log/openvswitch/ovsdb-server.log
57
58 # OVSDB_SERVER_FILE_LOGLEVEL: Log level at which to log into the
59 #     OVSDB_SERVER_LOG file.  If this is null or not set the logfile will
60 #     not be created and nothing will be sent to it.  This is the
61 #     default.  The available options are: EMER, WARN, INFO and DBG.
62 # OVSDB_SERVER_FILE_LOGLEVEL=""
63
64 # OVSDB_SERVER_SYSLOG_LOGLEVEL: Log level at which to log into syslog.  If
65 #     this is null or not set the default is to log to syslog
66 #     emergency and warning level messages only.
67 # OVSDB_SERVER_SYSLOG_LOGLEVEL="WARN"
68
69 # OVSDB_SERVER_MEMLEAK_LOGFILE: File for logging memory leak data.
70 #     Enabling this option will slow ovsdb-server significantly.  Do not
71 #     enable it except to debug a suspected memory leak.  Use the
72 #     ovs-parse-leaks utility included with Open vSwitch to parse the
73 #     log file.  For best results, you also need debug symbols.
74 # OVSDB_SERVER_MEMLEAK_LOGFILE=""
75
76 # OVSDB_SERVER_STRACE_LOG: File for logging strace output.
77 #     If this is set to a nonempty string, then ovsdb-server will run
78 #     under strace, whose output will be logged to the specified file.
79 #     Enabling this option will slow ovsdb-server significantly.
80 #     OVSDB_SERVER_STRACE_LOG and OVSDB_SERVER_VALGRIND_LOG are mutually 
81 #     exclusive.
82 # OVSDB_SERVER_STRACE_LOG=""
83
84 # OVSDB_SERVER_STRACE_OPT: Options to pass to strace.
85 #     This option's value is honored only when OVSDB_SERVER_STRACE_LOG is
86 #     set to a nonempty string.
87 # OVSDB_SERVER_STRACE_OPT=""
88
89 # OVSDB_SERVER_VALGRIND_LOG: File for logging valgrind output.
90 #     If this is set to a nonempty string, then ovsdb-server will run
91 #     under valgrind, whose output will be logged to the specified file.
92 #     Enabling this option will slow ovsdb-server by 100X or more.
93 #     valgrind is not installed by default on XenServer systems; you must
94 #     install it by hand to usefully enable this option.
95 #     OVSDB_SERVER_STRACE_LOG and OVSDB_SERVER_VALGRIND_LOG are mutually 
96 #     exclusive.
97 # OVSDB_SERVER_VALGRIND_LOG=""
98
99 # OVSDB_SERVER_VALGRIND_OPT: Options to pass to valgrind.
100 #     This option's value is honored only when OVSDB_SERVER_VALGRIND_LOG is
101 #     set to a nonempty string.
102 # OVSDB_SERVER_VALGRIND_OPT=""
103
104 # VSWITCHD_OVSDB_SERVER: Method to have ovs-vswitchd initiate a JSON-RPC
105 #     connection to an ovsdb-server instance.
106 # VSWITCHD_OVSDB_SERVER=unix:/var/run/openvswitch/db.sock
107
108 # VSWITCHD_OVSDB_SCHEMA: Schema file to use for generating a new OVSDB
109 #     ovs-vswitchd database.
110 # VSWITCHD_OVSDB_SCHEMA=/usr/share/openvswitch/vswitch.ovsschema
111
112 # VSWITCHD_PIDFILE: File in which to store the pid of the running
113 #     ovs-vswitchd.
114 # VSWITCHD_PIDFILE=/var/run/openvswitch/ovs-vswitchd.pid
115
116 # VSWITCHD_RUN_DIR: Set the directory in which ovs-vswitchd should be
117 #     run.  This mainly affects where core files will be placed.
118 # VSWITCHD_RUN_DIR=/var/xen/openvswitch
119
120 # VSWITCHD_PRIORITY: "nice" priority at which to run ovs-vswitchd and related
121 #     processes.
122 # VSWITCHD_PRIORITY=-10
123
124 # VSWITCHD_MLOCKALL: Whether to pass ovs-vswitchd the --mlockall option.
125 #     This option should be set to "yes" or "no".  The default is "yes".
126 #     Enabling this option can avoid networking interruptions due to
127 #     system memory pressure in extraordinary situations, such as multiple
128 #     concurrent VM import operations.
129 # VSWITCHD_MLOCKALL=yes
130
131 # VSWITCHD_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
132 # VSWITCHD_LOGFILE=/var/log/openvswitch/ovs-vswitchd.log
133
134 # VSWITCHD_FILE_LOGLEVEL: Log level at which to log into the
135 #     VSWITCHD_LOG file.  If this is null or not set the logfile will
136 #     not be created and nothing will be sent to it.  This is the
137 #     default.  The available options are: EMER, WARN, INFO and DBG.
138 # VSWITCHD_FILE_LOGLEVEL=""
139
140 # VSWITCHD_SYSLOG_LOGLEVEL: Log level at which to log into syslog.  If
141 #     this is null or not set the default is to log to syslog
142 #     emergency and warning level messages only.
143 # VSWITCHD_SYSLOG_LOGLEVEL="WARN"
144
145 # VSWITCHD_MEMLEAK_LOGFILE: File for logging memory leak data.
146 #     Enabling this option will slow ovs-vswitchd significantly.  Do not
147 #     enable it except to debug a suspected memory leak.  Use the
148 #     ovs-parse-leaks utility included with Open vSwitch to parse the
149 #     log file.  For best results, you also need debug symbols.
150 # VSWITCHD_MEMLEAK_LOGFILE=""
151
152 # VSWITCHD_STRACE_LOG: File for logging strace output.
153 #     If this is set to a nonempty string, then ovs-vswitchd will run
154 #     under strace, whose output will be logged to the specified file.
155 #     Enabling this option will slow ovs-vswitchd significantly.
156 #     VSWITCHD_STRACE_LOG and VSWITCHD_VALGRIND_LOG are mutually exclusive.
157 # VSWITCHD_STRACE_LOG=""
158
159 # VSWITCHD_STRACE_OPT: Options to pass to strace.
160 #     This option's value is honored only when VSWITCHD_STRACE_LOG is
161 #     set to a nonempty string.
162 # VSWITCHD_STRACE_OPT=""
163
164 # VSWITCHD_VALGRIND_LOG: File for logging valgrind output.
165 #     If this is set to a nonempty string, then ovs-vswitchd will run
166 #     under valgrind, whose output will be logged to the specified file.
167 #     Enabling this option will slow ovs-vswitchd by 100X or more.
168 #     valgrind is not installed by default on XenServer systems; you must
169 #     install it by hand to usefully enable this option.
170 #     VSWITCHD_STRACE_LOG and VSWITCHD_VALGRIND_LOG are mutually exclusive.
171 # VSWITCHD_VALGRIND_LOG=""
172
173 # VSWITCHD_VALGRIND_OPT: Options to pass to valgrind.
174 #     This option's value is honored only when VSWITCHD_VALGRIND_LOG is
175 #     set to a nonempty string.
176 # VSWITCHD_VALGRIND_OPT=""
177
178 # BRCOMPATD_PIDFILE: File in which to store the pid of the running
179 #     ovs-brcompatd (the Linux bridge compatibility daemon for ovs-vswitchd).
180 #     If this is the empty string, ovs-brcompatd will not be started and
181 #     the brcompat_mod kernel module will not be inserted.  Note that
182 #     the default is to use brcompat!
183 # BRCOMPATD_PIDFILE=/var/run/openvswitch/ovs-brcompatd.pid
184
185 # BRCOMPATD_RUN_DIR: Set the directory in which ovs-brcompatd should be
186 #     run.  This mainly affects where core files will be placed.
187 # BRCOMPATD_RUN_DIR=/var/xen/openvswitch
188
189 # BRCOMPATD_PRIORITY: "nice" priority at which to run ovs-vswitchd and related
190 #     processes.
191 # BRCOMPATD_PRIORITY=-10
192
193 # BRCOMPATD_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
194 # BRCOMPATD_LOGFILE=/var/log/openvswitch/ovs-brcompatd.log
195
196 # BRCOMPATD_FILE_LOGLEVEL: Log level at which to log into the
197 #     BRCOMPATD_LOG file.  If this is null or not set the logfile will
198 #     not be created and nothing will be sent to it.  This is the
199 #     default.  The available options are: EMER, WARN, INFO and DBG.
200 # BRCOMPATD_FILE_LOGLEVEL=""
201
202 # BRCOMPATD_SYSLOG_LOGLEVEL: Log level at which to log into syslog.  If
203 #     this is null or not set the default is to log to syslog
204 #     emergency and warning level messages only.
205 # BRCOMPATD_SYSLOG_LOGLEVEL="WARN"
206
207 # BRCOMPATD_MEMLEAK_LOGFILE: File for logging memory leak data.
208 #     Enabling this option will slow ovs-brcompatd significantly.  Do not
209 #     enable it except to debug a suspected memory leak.  Use the
210 #     ovs-parse-leaks utility included with Open vSwitch to parse the
211 #     log file.  For best results, you also need debug symbols.
212 # BRCOMPATD_MEMLEAK_LOGFILE=""
213
214 # BRCOMPATD_STRACE_LOG: File for logging strace output.
215 #     If this is set to a nonempty string, then ovs-brcompatd will run
216 #     under strace, whose output will be logged to the specified file.
217 #     Enabling this option will slow brcompatd significantly.
218 #     BRCOMPATD_STRACE_LOG and BRCOMPATD_VALGRIND_LOG are mutually exclusive.
219 # BRCOMPATD_STRACE_LOG=""
220
221 # BRCOMPATD_STRACE_OPT: Options to pass to strace.
222 #     This option's value is honored only when BRCOMPATD_STRACE_LOG is
223 #     set to a nonempty string.
224 # BRCOMPATD_STRACE_OPT=""
225
226 # BRCOMPATD_VALGRIND_LOG: File for logging valgrind output.
227 #     If this is set to a nonempty string, then ovs-brcompatd will run
228 #     under valgrind, whose output will be logged to the specified file.
229 #     Enabling this option will slow brcompatd by 100X or more.
230 #     valgrind is not installed by default on XenServer systems; you must
231 #     install it by hand to usefully enable this option.
232 #     BRCOMPATD_STRACE_LOG and BRCOMPATD_VALGRIND_LOG are mutually exclusive.
233 # BRCOMPATD_VALGRIND_LOG=""
234
235 # BRCOMPATD_VALGRIND_OPT: Options to pass to valgrind.
236 #     This option's value is honored only when BRCOMPATD_VALGRIND_LOG is
237 #     set to a nonempty string.
238 # BRCOMPATD_VALGRIND_OPT=""