1 ### Configuration options for vswitch
3 # Copyright (C) 2009 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 # FORCE_COREFILES: If 'y' then core files will be enabled.
23 # COREFILE_PATTERN: Pattern used to determine path and filename for
24 # core files when FORCE_COREFILES is 'y'. This is Linux specific.
25 # See the manpage for "core".
26 # COREFILE_PATTERN="/var/log/%e-%t"
28 # OVSDB_SERVER_REMOTES: Space-separated list of methods on which to have
29 # ovsdb-server listen or connect for a JSON-RPC connection.
30 # OVSDB_SERVER_REMOTES="punix:/var/run/ovsdb-server db:Open_vSwitch,managers"
32 # OVSDB_SERVER_DB: File for which ovsdb-server uses for storage.
33 # OVSDB_SERVER_DB=/etc/ovs-vswitchd.conf.db
35 # OVSDB_SERVER_PIDFILE: File in which to store the pid of the running
37 # OVSDB_SERVER_PIDFILE=/var/run/ovsdb-server.pid
39 # OVSDB_SERVER_RUN_DIR: Set the directory in which ovsdb-server should be
40 # run. This mainly affects where core files will be placed.
41 # OVSDB_SERVER_RUN_DIR=/var/xen/vswitch
43 # OVSDB_SERVER_PRIORITY: "nice" priority at which to run ovsdb-server and
45 # OVSDB_SERVER_PRIORITY=-10
47 # OVSDB_SERVER_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
48 # OVSDB_SERVER_LOGFILE=/var/log/ovsdb-server.log
50 # OVSDB_SERVER_FILE_LOGLEVEL: Log level at which to log into the
51 # OVSDB_SERVER_LOG file. If this is null or not set the logfile will
52 # not be created and nothing will be sent to it. This is the
53 # default. The available options are: EMER, WARN, INFO and DBG.
54 # OVSDB_SERVER_FILE_LOGLEVEL=""
56 # OVSDB_SERVER_SYSLOG_LOGLEVEL: Log level at which to log into syslog. If
57 # this is null or not set the default is to log to syslog
58 # emergency and warning level messages only.
59 # OVSDB_SERVER_SYSLOG_LOGLEVEL="WARN"
61 # OVSDB_SERVER_MEMLEAK_LOGFILE: File for logging memory leak data.
62 # Enabling this option will slow ovsdb-server significantly. Do not
63 # enable it except to debug a suspected memory leak. Use the
64 # ovs-parse-leaks utility included with Open vSwitch to parse the
65 # log file. For best results, you also need debug symbols.
66 # OVSDB_SERVER_MEMLEAK_LOGFILE=""
68 # OVSDB_SERVER_STRACE_LOG: File for logging strace output.
69 # If this is set to a nonempty string, then ovsdb-server will run
70 # under strace, whose output will be logged to the specified file.
71 # Enabling this option will slow ovsdb-server significantly.
72 # OVSDB_SERVER_STRACE_LOG and OVSDB_SERVER_VALGRIND_LOG are mutually
74 # OVSDB_SERVER_STRACE_LOG=""
76 # OVSDB_SERVER_STRACE_OPT: Options to pass to strace.
77 # This option's value is honored only when OVSDB_SERVER_STRACE_LOG is
78 # set to a nonempty string.
79 # OVSDB_SERVER_STRACE_OPT=""
81 # OVSDB_SERVER_VALGRIND_LOG: File for logging valgrind output.
82 # If this is set to a nonempty string, then ovsdb-server will run
83 # under valgrind, whose output will be logged to the specified file.
84 # Enabling this option will slow ovsdb-server by 100X or more.
85 # valgrind is not installed by default on XenServer systems; you must
86 # install it by hand to usefully enable this option.
87 # OVSDB_SERVER_STRACE_LOG and OVSDB_SERVER_VALGRIND_LOG are mutually
89 # OVSDB_SERVER_VALGRIND_LOG=""
91 # OVSDB_SERVER_VALGRIND_OPT: Options to pass to valgrind.
92 # This option's value is honored only when OVSDB_SERVER_VALGRIND_LOG is
93 # set to a nonempty string.
94 # OVSDB_SERVER_VALGRIND_OPT=""
96 # VSWITCHD_OVSDB_SERVER: Method to have ovs-vswitchd initiate a JSON-RPC
97 # connection to an ovsdb-server instance.
98 # VSWITCHD_OVSDB_SERVER=unix:/var/run/ovsdb-server
100 # VSWITCHD_OVSDB_SCHEMA: Schema file to use for generating a new OVSDB
101 # ovs-vswitchd database.
102 # VSWITCHD_OVSDB_SCHEMA=/usr/share/vswitch/vswitch-idl.ovsschema
104 # VSWITCHD_PIDFILE: File in which to store the pid of the running
106 # VSWITCHD_PIDFILE=/var/run/ovs-vswitchd.pid
108 # VSWITCHD_RUN_DIR: Set the directory in which ovs-vswitchd should be
109 # run. This mainly affects where core files will be placed.
110 # VSWITCHD_RUN_DIR=/var/xen/vswitch
112 # VSWITCHD_PRIORITY: "nice" priority at which to run ovs-vswitchd and related
114 # VSWITCHD_PRIORITY=-10
116 # VSWITCHD_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
117 # VSWITCHD_LOGFILE=/var/log/ovs-vswitchd.log
119 # VSWITCHD_FILE_LOGLEVEL: Log level at which to log into the
120 # VSWITCHD_LOG file. If this is null or not set the logfile will
121 # not be created and nothing will be sent to it. This is the
122 # default. The available options are: EMER, WARN, INFO and DBG.
123 # VSWITCHD_FILE_LOGLEVEL=""
125 # VSWITCHD_SYSLOG_LOGLEVEL: Log level at which to log into syslog. If
126 # this is null or not set the default is to log to syslog
127 # emergency and warning level messages only.
128 # VSWITCHD_SYSLOG_LOGLEVEL="WARN"
130 # VSWITCHD_MEMLEAK_LOGFILE: File for logging memory leak data.
131 # Enabling this option will slow ovs-vswitchd significantly. Do not
132 # enable it except to debug a suspected memory leak. Use the
133 # ovs-parse-leaks utility included with Open vSwitch to parse the
134 # log file. For best results, you also need debug symbols.
135 # VSWITCHD_MEMLEAK_LOGFILE=""
137 # VSWITCHD_STRACE_LOG: File for logging strace output.
138 # If this is set to a nonempty string, then ovs-vswitchd will run
139 # under strace, whose output will be logged to the specified file.
140 # Enabling this option will slow ovs-vswitchd significantly.
141 # VSWITCHD_STRACE_LOG and VSWITCHD_VALGRIND_LOG are mutually exclusive.
142 # VSWITCHD_STRACE_LOG=""
144 # VSWITCHD_STRACE_OPT: Options to pass to strace.
145 # This option's value is honored only when VSWITCHD_STRACE_LOG is
146 # set to a nonempty string.
147 # VSWITCHD_STRACE_OPT=""
149 # VSWITCHD_VALGRIND_LOG: File for logging valgrind output.
150 # If this is set to a nonempty string, then ovs-vswitchd will run
151 # under valgrind, whose output will be logged to the specified file.
152 # Enabling this option will slow ovs-vswitchd by 100X or more.
153 # valgrind is not installed by default on XenServer systems; you must
154 # install it by hand to usefully enable this option.
155 # VSWITCHD_STRACE_LOG and VSWITCHD_VALGRIND_LOG are mutually exclusive.
156 # VSWITCHD_VALGRIND_LOG=""
158 # VSWITCHD_VALGRIND_OPT: Options to pass to valgrind.
159 # This option's value is honored only when VSWITCHD_VALGRIND_LOG is
160 # set to a nonempty string.
161 # VSWITCHD_VALGRIND_OPT=""
163 # BRCOMPATD_PIDFILE: File in which to store the pid of the running
164 # ovs-brcompatd (the Linux bridge compatibility daemon for ovs-vswitchd).
165 # If this is the empty string, ovs-brcompatd will not be started and
166 # the brcompat_mod kernel module will not be inserted. Note that
167 # the default is to use brcompat!
168 # BRCOMPATD_PIDFILE=/var/run/ovs-brcompatd.pid
170 # BRCOMPATD_RUN_DIR: Set the directory in which ovs-brcompatd should be
171 # run. This mainly affects where core files will be placed.
172 # BRCOMPATD_RUN_DIR=/var/xen/vswitch
174 # BRCOMPATD_PRIORITY: "nice" priority at which to run ovs-vswitchd and related
176 # BRCOMPATD_PRIORITY=-10
178 # BRCOMPATD_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
179 # BRCOMPATD_LOGFILE=/var/log/ovs-brcompatd.log
181 # BRCOMPATD_FILE_LOGLEVEL: Log level at which to log into the
182 # BRCOMPATD_LOG file. If this is null or not set the logfile will
183 # not be created and nothing will be sent to it. This is the
184 # default. The available options are: EMER, WARN, INFO and DBG.
185 # BRCOMPATD_FILE_LOGLEVEL=""
187 # BRCOMPATD_SYSLOG_LOGLEVEL: Log level at which to log into syslog. If
188 # this is null or not set the default is to log to syslog
189 # emergency and warning level messages only.
190 # BRCOMPATD_SYSLOG_LOGLEVEL="WARN"
192 # BRCOMPATD_MEMLEAK_LOGFILE: File for logging memory leak data.
193 # Enabling this option will slow ovs-brcompatd significantly. Do not
194 # enable it except to debug a suspected memory leak. Use the
195 # ovs-parse-leaks utility included with Open vSwitch to parse the
196 # log file. For best results, you also need debug symbols.
197 # BRCOMPATD_MEMLEAK_LOGFILE=""
199 # BRCOMPATD_STRACE_LOG: File for logging strace output.
200 # If this is set to a nonempty string, then ovs-brcompatd will run
201 # under strace, whose output will be logged to the specified file.
202 # Enabling this option will slow brcompatd significantly.
203 # BRCOMPATD_STRACE_LOG and BRCOMPATD_VALGRIND_LOG are mutually exclusive.
204 # BRCOMPATD_STRACE_LOG=""
206 # BRCOMPATD_STRACE_OPT: Options to pass to strace.
207 # This option's value is honored only when BRCOMPATD_STRACE_LOG is
208 # set to a nonempty string.
209 # BRCOMPATD_STRACE_OPT=""
211 # BRCOMPATD_VALGRIND_LOG: File for logging valgrind output.
212 # If this is set to a nonempty string, then ovs-brcompatd will run
213 # under valgrind, whose output will be logged to the specified file.
214 # Enabling this option will slow brcompatd by 100X or more.
215 # valgrind is not installed by default on XenServer systems; you must
216 # install it by hand to usefully enable this option.
217 # BRCOMPATD_STRACE_LOG and BRCOMPATD_VALGRIND_LOG are mutually exclusive.
218 # BRCOMPATD_VALGRIND_LOG=""
220 # BRCOMPATD_VALGRIND_OPT: Options to pass to valgrind.
221 # This option's value is honored only when BRCOMPATD_VALGRIND_LOG is
222 # set to a nonempty string.
223 # BRCOMPATD_VALGRIND_OPT=""