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 # VSWITCH_BASE: Root directory where vswitch binaries are installed
11 # VSWITCH_BASE=/root/vswitch/openvswitch/build
13 # ENABLE_BRCOMPAT: If 'y' than emulate linux bridging interfaces
14 # using the brcompat kernel module and ovs-brcompatd daemon
17 # ENABLE_FAKE_PROC_NET: If 'y' then emulate linux bonding and vlan
18 # files in /proc as if the bonding and vlan demultiplexing done in
19 # ovs-vswitchd were being implemented using existing Linux mechanisms.
20 # This is useful in some cases when replacing existing solutions.
21 # ENABLE_FAKE_PROC_NET=y
23 # FORCE_COREFILES: If 'y' then core files will be enabled.
26 # COREFILE_PATTERN: Pattern used to determine path and filename for
27 # core files when FORCE_COREFILES is 'y'. This is Linux specific.
28 # See the manpage for "core".
29 # COREFILE_PATTERN="/var/log/%e-%t"
31 # VSWITCHD_CONF: File in which ovs-vswitchd stores its configuration.
32 # VSWITCHD_CONF=/etc/ovs-vswitchd.conf
34 # VSWITCHD_PIDFILE: File in which to store the pid of the running
36 # VSWITCHD_PIDFILE=/var/run/ovs-vswitchd.pid
38 # VSWITCHD_RUN_DIR: Set the directory in which ovs-vswitchd should be
39 # run. This mainly affects where core files will be placed.
40 # VSWITCHD_RUN_DIR=/var/xen/vswitch
42 # VSWITCHD_PRIORITY: "nice" priority at which to run ovs-vswitchd and related
44 # VSWITCHD_PRIORITY=-5
46 # VSWITCHD_NETBACK_PRIORITY: "nice" priority at which to run netback.
47 # It is a good idea to run ovs-vswitchd at a higher priority than
48 # netback to ensure that it gets enough CPU time to set up flows
49 # (bug #1656). Set this to 'default' to avoid changing netback's
51 # VSWITCHD_NETBACK_PRIORITY=0
53 # VSWITCHD_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
54 # VSWITCHD_LOGFILE=/var/log/ovs-vswitchd.log
56 # VSWITCHD_MEMLEAK_LOGFILE: File for logging memory leak data.
57 # Enabling this option will slow ovs-vswitchd significantly. Do not
58 # enable it except to debug a suspected memory leak. Use the
59 # ovs-parse-leaks utility included with Open vSwitch to parse the
60 # log file. For best results, you also need debug symbols.
61 # VSWITCHD_MEMLEAK_LOGFILE=""
63 # VSWITCHD_FILE_LOGLEVEL: Log level at which to log into the
64 # VSWITCHD_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 # VSWITCHD_FILE_LOGLEVEL=""
69 # VSWITCHD_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 # VSWITCHD_SYSLOG_LOGLEVEL="WARN"
74 # VSWITCHD_STRACE_LOG: File for logging strace output.
75 # If this is set to a nonempty string, then ovs-vswitchd will run
76 # under strace, whose output will be logged to the specified file.
77 # Enabling this option will slow ovs-vswitchd significantly.
78 # VSWITCHD_STRACE_LOG and VSWITCHD_VALGRIND_LOG are mutually exclusive.
79 # VSWITCHD_STRACE_LOG=""
81 # VSWITCHD_STRACE_OPT: Options to pass to strace.
82 # This option's value is honored only when VSWITCHD_STRACE_LOG is
83 # set to a nonempty string.
84 # VSWITCHD_STRACE_OPT=""
86 # VSWITCHD_VALGRIND_LOG: File for logging valgrind output.
87 # If this is set to a nonempty string, then ovs-vswitchd will run
88 # under valgrind, whose output will be logged to the specified file.
89 # Enabling this option will slow ovs-vswitchd by 100X or more.
90 # valgrind is not installed by default on XenServer systems; you must
91 # install it by hand to usefully enable this option.
92 # VSWITCHD_STRACE_LOG and VSWITCHD_VALGRIND_LOG are mutually exclusive.
93 # VSWITCHD_VALGRIND_LOG=""
95 # VSWITCHD_VALGRIND_OPT: Options to pass to valgrind.
96 # This option's value is honored only when VSWITCHD_VALGRIND_LOG is
97 # set to a nonempty string.
98 # VSWITCHD_VALGRIND_OPT=""
100 # BRCOMPATD_PIDFILE: File in which to store the pid of the running
101 # ovs-brcompatd (the Linux bridge compatibility daemon for ovs-vswitchd).
102 # If this is the empty string, ovs-brcompatd will not be started and
103 # the brcompat_mod kernel module will not be inserted. Note that
104 # the default is to use brcompat!
105 # BRCOMPATD_PIDFILE=/var/run/ovs-brcompatd.pid
107 # BRCOMPATD_RUN_DIR: Set the directory in which ovs-brcompatd should be
108 # run. This mainly affects where core files will be placed.
109 # BRCOMPATD_RUN_DIR=/var/xen/vswitch
111 # BRCOMPATD_PRIORITY: "nice" priority at which to run ovs-vswitchd and related
113 # BRCOMPATD_PRIORITY=-5
115 # BRCOMPATD_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
116 # BRCOMPATD_LOGFILE=/var/log/ovs-brcompatd.log
118 # BRCOMPATD_FILE_LOGLEVEL: Log level at which to log into the
119 # BRCOMPATD_LOG file. If this is null or not set the logfile will
120 # not be created and nothing will be sent to it. This is the
121 # default. The available options are: EMER, WARN, INFO and DBG.
122 # BRCOMPATD_FILE_LOGLEVEL=""
124 # BRCOMPATD_SYSLOG_LOGLEVEL: Log level at which to log into syslog. If
125 # this is null or not set the default is to log to syslog
126 # emergency and warning level messages only.
127 # BRCOMPATD_SYSLOG_LOGLEVEL="WARN"
129 # BRCOMPATD_MEMLEAK_LOGFILE: File for logging memory leak data.
130 # Enabling this option will slow ovs-brcompatd significantly. Do not
131 # enable it except to debug a suspected memory leak. Use the
132 # ovs-parse-leaks utility included with Open vSwitch to parse the
133 # log file. For best results, you also need debug symbols.
134 # BRCOMPATD_MEMLEAK_LOGFILE=""
136 # BRCOMPATD_STRACE_LOG: File for logging strace output.
137 # If this is set to a nonempty string, then ovs-brcompatd will run
138 # under strace, whose output will be logged to the specified file.
139 # Enabling this option will slow brcompatd significantly.
140 # BRCOMPATD_STRACE_LOG and BRCOMPATD_VALGRIND_LOG are mutually exclusive.
141 # BRCOMPATD_STRACE_LOG=""
143 # BRCOMPATD_STRACE_OPT: Options to pass to strace.
144 # This option's value is honored only when BRCOMPATD_STRACE_LOG is
145 # set to a nonempty string.
146 # BRCOMPATD_STRACE_OPT=""
148 # BRCOMPATD_VALGRIND_LOG: File for logging valgrind output.
149 # If this is set to a nonempty string, then ovs-brcompatd will run
150 # under valgrind, whose output will be logged to the specified file.
151 # Enabling this option will slow brcompatd by 100X or more.
152 # valgrind is not installed by default on XenServer systems; you must
153 # install it by hand to usefully enable this option.
154 # BRCOMPATD_STRACE_LOG and BRCOMPATD_VALGRIND_LOG are mutually exclusive.
155 # BRCOMPATD_VALGRIND_LOG=""
157 # BRCOMPATD_VALGRIND_OPT: Options to pass to valgrind.
158 # This option's value is honored only when BRCOMPATD_VALGRIND_LOG is
159 # set to a nonempty string.
160 # BRCOMPATD_VALGRIND_OPT=""