summaryrefslogtreecommitdiff
path: root/xenserver/usr_share_openvswitch_scripts_sysconfig.template
blob: c639df81aafe0d30d4637c36774d5ea4539afd52 (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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
### Configuration options for openvswitch

# Copyright (C) 2009, 2010 Nicira Networks, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.  This file is offered as-is,
# without warranty of any kind.

# ENABLE_BRCOMPAT: If 'y' than emulate linux bridging interfaces
#    using the brcompat kernel module and ovs-brcompatd daemon
#    This is required and enabled by default for XenServer 5.5.0,
#    and not required and not enabled by default for later versions.
# ENABLE_BRCOMPAT=?

# ENABLE_FAKE_PROC_NET: If 'y' then emulate linux bonding and vlan
#    files in /proc as if the bonding and vlan demultiplexing done in
#    ovs-vswitchd were being implemented using existing Linux mechanisms.
#    This is useful in some cases when replacing existing solutions.
#    This is required and enabled by default for XenServer 5.5.0,
#    and not required and not enabled by default for later versions.
# ENABLE_FAKE_PROC_NET=?

# ENABLE_MONITOR: If 'y' then monitor daemon processes and restart them
#    if they die due to an error signal.
# ENABLE_MONITOR=y

# FORCE_COREFILES: If 'y' then core files will be enabled.
# FORCE_COREFILES=y

# COREFILE_PATTERN: Pattern used to determine path and filename for
#     core files when FORCE_COREFILES is 'y'.  This is Linux specific.
#     See the manpage for "core".
# COREFILE_PATTERN="/var/xen/openvswitch/%e-%t"

# OVSDB_SERVER_REMOTES: Space-separated list of methods on which to have
#     ovsdb-server listen or connect for a JSON-RPC connection.
# OVSDB_SERVER_REMOTES="punix:/var/run/openvswitch/db.sock db:Open_vSwitch,managers"

# OVSDB_SERVER_DB: File for which ovsdb-server uses for storage.
# OVSDB_SERVER_DB=/etc/openvswitch/conf.db

# OVSDB_SERVER_PIDFILE: File in which to store the pid of the running
#     ovsdb-server.
# OVSDB_SERVER_PIDFILE=/var/run/openvswitch/ovsdb-server.pid

# OVSDB_SERVER_RUN_DIR: Set the directory in which ovsdb-server should be
#     run.  This mainly affects where core files will be placed.
# OVSDB_SERVER_RUN_DIR=/var/xen/openvswitch

# OVSDB_SERVER_PRIORITY: "nice" priority at which to run ovsdb-server and 
#     related processes.
# OVSDB_SERVER_PRIORITY=-10

# OVSDB_SERVER_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
# OVSDB_SERVER_LOGFILE=/var/log/openvswitch/ovsdb-server.log

# OVSDB_SERVER_FILE_LOGLEVEL: Log level at which to log into the
#     OVSDB_SERVER_LOG file.  If this is null or not set the logfile will
#     not be created and nothing will be sent to it.  This is the
#     default.  The available options are: EMER, WARN, INFO and DBG.
# OVSDB_SERVER_FILE_LOGLEVEL=""

# OVSDB_SERVER_SYSLOG_LOGLEVEL: Log level at which to log into syslog.  If
#     this is null or not set the default is to log to syslog
#     emergency and warning level messages only.
# OVSDB_SERVER_SYSLOG_LOGLEVEL="WARN"

# OVSDB_SERVER_MEMLEAK_LOGFILE: File for logging memory leak data.
#     Enabling this option will slow ovsdb-server significantly.  Do not
#     enable it except to debug a suspected memory leak.  Use the
#     ovs-parse-leaks utility included with Open vSwitch to parse the
#     log file.  For best results, you also need debug symbols.
# OVSDB_SERVER_MEMLEAK_LOGFILE=""

# OVSDB_SERVER_STRACE_LOG: File for logging strace output.
#     If this is set to a nonempty string, then ovsdb-server will run
#     under strace, whose output will be logged to the specified file.
#     Enabling this option will slow ovsdb-server significantly.
#     OVSDB_SERVER_STRACE_LOG and OVSDB_SERVER_VALGRIND_LOG are mutually 
#     exclusive.
# OVSDB_SERVER_STRACE_LOG=""

# OVSDB_SERVER_STRACE_OPT: Options to pass to strace.
#     This option's value is honored only when OVSDB_SERVER_STRACE_LOG is
#     set to a nonempty string.
# OVSDB_SERVER_STRACE_OPT=""

# OVSDB_SERVER_VALGRIND_LOG: File for logging valgrind output.
#     If this is set to a nonempty string, then ovsdb-server will run
#     under valgrind, whose output will be logged to the specified file.
#     Enabling this option will slow ovsdb-server by 100X or more.
#     valgrind is not installed by default on XenServer systems; you must
#     install it by hand to usefully enable this option.
#     OVSDB_SERVER_STRACE_LOG and OVSDB_SERVER_VALGRIND_LOG are mutually 
#     exclusive.
# OVSDB_SERVER_VALGRIND_LOG=""

# OVSDB_SERVER_VALGRIND_OPT: Options to pass to valgrind.
#     This option's value is honored only when OVSDB_SERVER_VALGRIND_LOG is
#     set to a nonempty string.
# OVSDB_SERVER_VALGRIND_OPT=""

# VSWITCHD_OVSDB_SERVER: Method to have ovs-vswitchd initiate a JSON-RPC
#     connection to an ovsdb-server instance.
# VSWITCHD_OVSDB_SERVER=unix:/var/run/openvswitch/db.sock

# VSWITCHD_OVSDB_SCHEMA: Schema file to use for generating a new OVSDB
#     ovs-vswitchd database.
# VSWITCHD_OVSDB_SCHEMA=/usr/share/openvswitch/vswitch.ovsschema

# VSWITCHD_PIDFILE: File in which to store the pid of the running
#     ovs-vswitchd.
# VSWITCHD_PIDFILE=/var/run/openvswitch/ovs-vswitchd.pid

# VSWITCHD_RUN_DIR: Set the directory in which ovs-vswitchd should be
#     run.  This mainly affects where core files will be placed.
# VSWITCHD_RUN_DIR=/var/xen/openvswitch

# VSWITCHD_PRIORITY: "nice" priority at which to run ovs-vswitchd and related
#     processes.
# VSWITCHD_PRIORITY=-10

# VSWITCHD_MLOCKALL: Whether to pass ovs-vswitchd the --mlockall option.
#     This option should be set to "yes" or "no".  The default is "yes".
#     Enabling this option can avoid networking interruptions due to
#     system memory pressure in extraordinary situations, such as multiple
#     concurrent VM import operations.
# VSWITCHD_MLOCKALL=yes

# VSWITCHD_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
# VSWITCHD_LOGFILE=/var/log/openvswitch/ovs-vswitchd.log

# VSWITCHD_FILE_LOGLEVEL: Log level at which to log into the
#     VSWITCHD_LOG file.  If this is null or not set the logfile will
#     not be created and nothing will be sent to it.  This is the
#     default.  The available options are: EMER, WARN, INFO and DBG.
# VSWITCHD_FILE_LOGLEVEL=""

# VSWITCHD_SYSLOG_LOGLEVEL: Log level at which to log into syslog.  If
#     this is null or not set the default is to log to syslog
#     emergency and warning level messages only.
# VSWITCHD_SYSLOG_LOGLEVEL="WARN"

# VSWITCHD_MEMLEAK_LOGFILE: File for logging memory leak data.
#     Enabling this option will slow ovs-vswitchd significantly.  Do not
#     enable it except to debug a suspected memory leak.  Use the
#     ovs-parse-leaks utility included with Open vSwitch to parse the
#     log file.  For best results, you also need debug symbols.
# VSWITCHD_MEMLEAK_LOGFILE=""

# VSWITCHD_STRACE_LOG: File for logging strace output.
#     If this is set to a nonempty string, then ovs-vswitchd will run
#     under strace, whose output will be logged to the specified file.
#     Enabling this option will slow ovs-vswitchd significantly.
#     VSWITCHD_STRACE_LOG and VSWITCHD_VALGRIND_LOG are mutually exclusive.
# VSWITCHD_STRACE_LOG=""

# VSWITCHD_STRACE_OPT: Options to pass to strace.
#     This option's value is honored only when VSWITCHD_STRACE_LOG is
#     set to a nonempty string.
# VSWITCHD_STRACE_OPT=""

# VSWITCHD_VALGRIND_LOG: File for logging valgrind output.
#     If this is set to a nonempty string, then ovs-vswitchd will run
#     under valgrind, whose output will be logged to the specified file.
#     Enabling this option will slow ovs-vswitchd by 100X or more.
#     valgrind is not installed by default on XenServer systems; you must
#     install it by hand to usefully enable this option.
#     VSWITCHD_STRACE_LOG and VSWITCHD_VALGRIND_LOG are mutually exclusive.
# VSWITCHD_VALGRIND_LOG=""

# VSWITCHD_VALGRIND_OPT: Options to pass to valgrind.
#     This option's value is honored only when VSWITCHD_VALGRIND_LOG is
#     set to a nonempty string.
# VSWITCHD_VALGRIND_OPT=""

# BRCOMPATD_PIDFILE: File in which to store the pid of the running
#     ovs-brcompatd (the Linux bridge compatibility daemon for ovs-vswitchd).
#     If this is the empty string, ovs-brcompatd will not be started and
#     the brcompat_mod kernel module will not be inserted.  Note that
#     the default is to use brcompat!
# BRCOMPATD_PIDFILE=/var/run/openvswitch/ovs-brcompatd.pid

# BRCOMPATD_RUN_DIR: Set the directory in which ovs-brcompatd should be
#     run.  This mainly affects where core files will be placed.
# BRCOMPATD_RUN_DIR=/var/xen/openvswitch

# BRCOMPATD_PRIORITY: "nice" priority at which to run ovs-vswitchd and related
#     processes.
# BRCOMPATD_PRIORITY=-10

# BRCOMPATD_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
# BRCOMPATD_LOGFILE=/var/log/openvswitch/ovs-brcompatd.log

# BRCOMPATD_FILE_LOGLEVEL: Log level at which to log into the
#     BRCOMPATD_LOG file.  If this is null or not set the logfile will
#     not be created and nothing will be sent to it.  This is the
#     default.  The available options are: EMER, WARN, INFO and DBG.
# BRCOMPATD_FILE_LOGLEVEL=""

# BRCOMPATD_SYSLOG_LOGLEVEL: Log level at which to log into syslog.  If
#     this is null or not set the default is to log to syslog
#     emergency and warning level messages only.
# BRCOMPATD_SYSLOG_LOGLEVEL="WARN"

# BRCOMPATD_MEMLEAK_LOGFILE: File for logging memory leak data.
#     Enabling this option will slow ovs-brcompatd significantly.  Do not
#     enable it except to debug a suspected memory leak.  Use the
#     ovs-parse-leaks utility included with Open vSwitch to parse the
#     log file.  For best results, you also need debug symbols.
# BRCOMPATD_MEMLEAK_LOGFILE=""

# BRCOMPATD_STRACE_LOG: File for logging strace output.
#     If this is set to a nonempty string, then ovs-brcompatd will run
#     under strace, whose output will be logged to the specified file.
#     Enabling this option will slow brcompatd significantly.
#     BRCOMPATD_STRACE_LOG and BRCOMPATD_VALGRIND_LOG are mutually exclusive.
# BRCOMPATD_STRACE_LOG=""

# BRCOMPATD_STRACE_OPT: Options to pass to strace.
#     This option's value is honored only when BRCOMPATD_STRACE_LOG is
#     set to a nonempty string.
# BRCOMPATD_STRACE_OPT=""

# BRCOMPATD_VALGRIND_LOG: File for logging valgrind output.
#     If this is set to a nonempty string, then ovs-brcompatd will run
#     under valgrind, whose output will be logged to the specified file.
#     Enabling this option will slow brcompatd by 100X or more.
#     valgrind is not installed by default on XenServer systems; you must
#     install it by hand to usefully enable this option.
#     BRCOMPATD_STRACE_LOG and BRCOMPATD_VALGRIND_LOG are mutually exclusive.
# BRCOMPATD_VALGRIND_LOG=""

# BRCOMPATD_VALGRIND_OPT: Options to pass to valgrind.
#     This option's value is honored only when BRCOMPATD_VALGRIND_LOG is
#     set to a nonempty string.
# BRCOMPATD_VALGRIND_OPT=""