1 ### Configuration options for vswitch
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
14 # ENABLE_FAKE_PROC_NET: If 'y' then emulate linux bonding and vlan
15 # files in /proc as if the bonding and vlan demultiplexing done in
16 # ovs-vswitchd were being implemented using existing Linux mechanisms.
17 # This is useful in some cases when replacing existing solutions.
18 # ENABLE_FAKE_PROC_NET=y
20 # ENABLE_MONITOR: If 'y' then monitor daemon processes and restart them
21 # if they die due to an error signal.
24 # FORCE_COREFILES: If 'y' then core files will be enabled.
27 # COREFILE_PATTERN: Pattern used to determine path and filename for
28 # core files when FORCE_COREFILES is 'y'. This is Linux specific.
29 # See the manpage for "core".
30 # COREFILE_PATTERN="/var/log/%e-%t"
32 # OVSDB_SERVER_REMOTES: Space-separated list of methods on which to have
33 # ovsdb-server listen or connect for a JSON-RPC connection.
34 # OVSDB_SERVER_REMOTES="punix:/var/run/ovsdb-server db:Open_vSwitch,managers"
36 # OVSDB_SERVER_DB: File for which ovsdb-server uses for storage.
37 # OVSDB_SERVER_DB=/etc/ovs-vswitchd.conf.db
39 # OVSDB_SERVER_PIDFILE: File in which to store the pid of the running
41 # OVSDB_SERVER_PIDFILE=/var/run/ovsdb-server.pid
43 # OVSDB_SERVER_RUN_DIR: Set the directory in which ovsdb-server should be
44 # run. This mainly affects where core files will be placed.
45 # OVSDB_SERVER_RUN_DIR=/var/xen/vswitch
47 # OVSDB_SERVER_PRIORITY: "nice" priority at which to run ovsdb-server and
49 # OVSDB_SERVER_PRIORITY=-10
51 # OVSDB_SERVER_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
52 # OVSDB_SERVER_LOGFILE=/var/log/ovsdb-server.log
54 # OVSDB_SERVER_FILE_LOGLEVEL: Log level at which to log into the
55 # OVSDB_SERVER_LOG file. If this is null or not set the logfile will
56 # not be created and nothing will be sent to it. This is the
57 # default. The available options are: EMER, WARN, INFO and DBG.
58 # OVSDB_SERVER_FILE_LOGLEVEL=""
60 # OVSDB_SERVER_SYSLOG_LOGLEVEL: Log level at which to log into syslog. If
61 # this is null or not set the default is to log to syslog
62 # emergency and warning level messages only.
63 # OVSDB_SERVER_SYSLOG_LOGLEVEL="WARN"
65 # OVSDB_SERVER_MEMLEAK_LOGFILE: File for logging memory leak data.
66 # Enabling this option will slow ovsdb-server significantly. Do not
67 # enable it except to debug a suspected memory leak. Use the
68 # ovs-parse-leaks utility included with Open vSwitch to parse the
69 # log file. For best results, you also need debug symbols.
70 # OVSDB_SERVER_MEMLEAK_LOGFILE=""
72 # OVSDB_SERVER_STRACE_LOG: File for logging strace output.
73 # If this is set to a nonempty string, then ovsdb-server will run
74 # under strace, whose output will be logged to the specified file.
75 # Enabling this option will slow ovsdb-server significantly.
76 # OVSDB_SERVER_STRACE_LOG and OVSDB_SERVER_VALGRIND_LOG are mutually
78 # OVSDB_SERVER_STRACE_LOG=""
80 # OVSDB_SERVER_STRACE_OPT: Options to pass to strace.
81 # This option's value is honored only when OVSDB_SERVER_STRACE_LOG is
82 # set to a nonempty string.
83 # OVSDB_SERVER_STRACE_OPT=""
85 # OVSDB_SERVER_VALGRIND_LOG: File for logging valgrind output.
86 # If this is set to a nonempty string, then ovsdb-server will run
87 # under valgrind, whose output will be logged to the specified file.
88 # Enabling this option will slow ovsdb-server by 100X or more.
89 # valgrind is not installed by default on XenServer systems; you must
90 # install it by hand to usefully enable this option.
91 # OVSDB_SERVER_STRACE_LOG and OVSDB_SERVER_VALGRIND_LOG are mutually
93 # OVSDB_SERVER_VALGRIND_LOG=""
95 # OVSDB_SERVER_VALGRIND_OPT: Options to pass to valgrind.
96 # This option's value is honored only when OVSDB_SERVER_VALGRIND_LOG is
97 # set to a nonempty string.
98 # OVSDB_SERVER_VALGRIND_OPT=""
100 # VSWITCHD_OVSDB_SERVER: Method to have ovs-vswitchd initiate a JSON-RPC
101 # connection to an ovsdb-server instance.
102 # VSWITCHD_OVSDB_SERVER=unix:/var/run/ovsdb-server
104 # VSWITCHD_OVSDB_SCHEMA: Schema file to use for generating a new OVSDB
105 # ovs-vswitchd database.
106 # VSWITCHD_OVSDB_SCHEMA=/usr/share/vswitch/vswitch.ovsschema
108 # VSWITCHD_PIDFILE: File in which to store the pid of the running
110 # VSWITCHD_PIDFILE=/var/run/ovs-vswitchd.pid
112 # VSWITCHD_RUN_DIR: Set the directory in which ovs-vswitchd should be
113 # run. This mainly affects where core files will be placed.
114 # VSWITCHD_RUN_DIR=/var/xen/vswitch
116 # VSWITCHD_PRIORITY: "nice" priority at which to run ovs-vswitchd and related
118 # VSWITCHD_PRIORITY=-10
120 # VSWITCHD_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
121 # VSWITCHD_LOGFILE=/var/log/ovs-vswitchd.log
123 # VSWITCHD_FILE_LOGLEVEL: Log level at which to log into the
124 # VSWITCHD_LOG file. If this is null or not set the logfile will
125 # not be created and nothing will be sent to it. This is the
126 # default. The available options are: EMER, WARN, INFO and DBG.
127 # VSWITCHD_FILE_LOGLEVEL=""
129 # VSWITCHD_SYSLOG_LOGLEVEL: Log level at which to log into syslog. If
130 # this is null or not set the default is to log to syslog
131 # emergency and warning level messages only.
132 # VSWITCHD_SYSLOG_LOGLEVEL="WARN"
134 # VSWITCHD_MEMLEAK_LOGFILE: File for logging memory leak data.
135 # Enabling this option will slow ovs-vswitchd significantly. Do not
136 # enable it except to debug a suspected memory leak. Use the
137 # ovs-parse-leaks utility included with Open vSwitch to parse the
138 # log file. For best results, you also need debug symbols.
139 # VSWITCHD_MEMLEAK_LOGFILE=""
141 # VSWITCHD_STRACE_LOG: File for logging strace output.
142 # If this is set to a nonempty string, then ovs-vswitchd will run
143 # under strace, whose output will be logged to the specified file.
144 # Enabling this option will slow ovs-vswitchd significantly.
145 # VSWITCHD_STRACE_LOG and VSWITCHD_VALGRIND_LOG are mutually exclusive.
146 # VSWITCHD_STRACE_LOG=""
148 # VSWITCHD_STRACE_OPT: Options to pass to strace.
149 # This option's value is honored only when VSWITCHD_STRACE_LOG is
150 # set to a nonempty string.
151 # VSWITCHD_STRACE_OPT=""
153 # VSWITCHD_VALGRIND_LOG: File for logging valgrind output.
154 # If this is set to a nonempty string, then ovs-vswitchd will run
155 # under valgrind, whose output will be logged to the specified file.
156 # Enabling this option will slow ovs-vswitchd by 100X or more.
157 # valgrind is not installed by default on XenServer systems; you must
158 # install it by hand to usefully enable this option.
159 # VSWITCHD_STRACE_LOG and VSWITCHD_VALGRIND_LOG are mutually exclusive.
160 # VSWITCHD_VALGRIND_LOG=""
162 # VSWITCHD_VALGRIND_OPT: Options to pass to valgrind.
163 # This option's value is honored only when VSWITCHD_VALGRIND_LOG is
164 # set to a nonempty string.
165 # VSWITCHD_VALGRIND_OPT=""
167 # BRCOMPATD_PIDFILE: File in which to store the pid of the running
168 # ovs-brcompatd (the Linux bridge compatibility daemon for ovs-vswitchd).
169 # If this is the empty string, ovs-brcompatd will not be started and
170 # the brcompat_mod kernel module will not be inserted. Note that
171 # the default is to use brcompat!
172 # BRCOMPATD_PIDFILE=/var/run/ovs-brcompatd.pid
174 # BRCOMPATD_RUN_DIR: Set the directory in which ovs-brcompatd should be
175 # run. This mainly affects where core files will be placed.
176 # BRCOMPATD_RUN_DIR=/var/xen/vswitch
178 # BRCOMPATD_PRIORITY: "nice" priority at which to run ovs-vswitchd and related
180 # BRCOMPATD_PRIORITY=-10
182 # BRCOMPATD_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
183 # BRCOMPATD_LOGFILE=/var/log/ovs-brcompatd.log
185 # BRCOMPATD_FILE_LOGLEVEL: Log level at which to log into the
186 # BRCOMPATD_LOG file. If this is null or not set the logfile will
187 # not be created and nothing will be sent to it. This is the
188 # default. The available options are: EMER, WARN, INFO and DBG.
189 # BRCOMPATD_FILE_LOGLEVEL=""
191 # BRCOMPATD_SYSLOG_LOGLEVEL: Log level at which to log into syslog. If
192 # this is null or not set the default is to log to syslog
193 # emergency and warning level messages only.
194 # BRCOMPATD_SYSLOG_LOGLEVEL="WARN"
196 # BRCOMPATD_MEMLEAK_LOGFILE: File for logging memory leak data.
197 # Enabling this option will slow ovs-brcompatd significantly. Do not
198 # enable it except to debug a suspected memory leak. Use the
199 # ovs-parse-leaks utility included with Open vSwitch to parse the
200 # log file. For best results, you also need debug symbols.
201 # BRCOMPATD_MEMLEAK_LOGFILE=""
203 # BRCOMPATD_STRACE_LOG: File for logging strace output.
204 # If this is set to a nonempty string, then ovs-brcompatd will run
205 # under strace, whose output will be logged to the specified file.
206 # Enabling this option will slow brcompatd significantly.
207 # BRCOMPATD_STRACE_LOG and BRCOMPATD_VALGRIND_LOG are mutually exclusive.
208 # BRCOMPATD_STRACE_LOG=""
210 # BRCOMPATD_STRACE_OPT: Options to pass to strace.
211 # This option's value is honored only when BRCOMPATD_STRACE_LOG is
212 # set to a nonempty string.
213 # BRCOMPATD_STRACE_OPT=""
215 # BRCOMPATD_VALGRIND_LOG: File for logging valgrind output.
216 # If this is set to a nonempty string, then ovs-brcompatd will run
217 # under valgrind, whose output will be logged to the specified file.
218 # Enabling this option will slow brcompatd by 100X or more.
219 # valgrind is not installed by default on XenServer systems; you must
220 # install it by hand to usefully enable this option.
221 # BRCOMPATD_STRACE_LOG and BRCOMPATD_VALGRIND_LOG are mutually exclusive.
222 # BRCOMPATD_VALGRIND_LOG=""
224 # BRCOMPATD_VALGRIND_OPT: Options to pass to valgrind.
225 # This option's value is honored only when BRCOMPATD_VALGRIND_LOG is
226 # set to a nonempty string.
227 # BRCOMPATD_VALGRIND_OPT=""