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=-10
46 # VSWITCHD_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
47 # VSWITCHD_LOGFILE=/var/log/ovs-vswitchd.log
49 # VSWITCHD_MEMLEAK_LOGFILE: File for logging memory leak data.
50 # Enabling this option will slow ovs-vswitchd significantly. Do not
51 # enable it except to debug a suspected memory leak. Use the
52 # ovs-parse-leaks utility included with Open vSwitch to parse the
53 # log file. For best results, you also need debug symbols.
54 # VSWITCHD_MEMLEAK_LOGFILE=""
56 # VSWITCHD_FILE_LOGLEVEL: Log level at which to log into the
57 # VSWITCHD_LOG file. If this is null or not set the logfile will
58 # not be created and nothing will be sent to it. This is the
59 # default. The available options are: EMER, WARN, INFO and DBG.
60 # VSWITCHD_FILE_LOGLEVEL=""
62 # VSWITCHD_SYSLOG_LOGLEVEL: Log level at which to log into syslog. If
63 # this is null or not set the default is to log to syslog
64 # emergency and warning level messages only.
65 # VSWITCHD_SYSLOG_LOGLEVEL="WARN"
67 # VSWITCHD_STRACE_LOG: File for logging strace output.
68 # If this is set to a nonempty string, then ovs-vswitchd will run
69 # under strace, whose output will be logged to the specified file.
70 # Enabling this option will slow ovs-vswitchd significantly.
71 # VSWITCHD_STRACE_LOG and VSWITCHD_VALGRIND_LOG are mutually exclusive.
72 # VSWITCHD_STRACE_LOG=""
74 # VSWITCHD_STRACE_OPT: Options to pass to strace.
75 # This option's value is honored only when VSWITCHD_STRACE_LOG is
76 # set to a nonempty string.
77 # VSWITCHD_STRACE_OPT=""
79 # VSWITCHD_VALGRIND_LOG: File for logging valgrind output.
80 # If this is set to a nonempty string, then ovs-vswitchd will run
81 # under valgrind, whose output will be logged to the specified file.
82 # Enabling this option will slow ovs-vswitchd by 100X or more.
83 # valgrind is not installed by default on XenServer systems; you must
84 # install it by hand to usefully enable this option.
85 # VSWITCHD_STRACE_LOG and VSWITCHD_VALGRIND_LOG are mutually exclusive.
86 # VSWITCHD_VALGRIND_LOG=""
88 # VSWITCHD_VALGRIND_OPT: Options to pass to valgrind.
89 # This option's value is honored only when VSWITCHD_VALGRIND_LOG is
90 # set to a nonempty string.
91 # VSWITCHD_VALGRIND_OPT=""
93 # BRCOMPATD_PIDFILE: File in which to store the pid of the running
94 # ovs-brcompatd (the Linux bridge compatibility daemon for ovs-vswitchd).
95 # If this is the empty string, ovs-brcompatd will not be started and
96 # the brcompat_mod kernel module will not be inserted. Note that
97 # the default is to use brcompat!
98 # BRCOMPATD_PIDFILE=/var/run/ovs-brcompatd.pid
100 # BRCOMPATD_RUN_DIR: Set the directory in which ovs-brcompatd should be
101 # run. This mainly affects where core files will be placed.
102 # BRCOMPATD_RUN_DIR=/var/xen/vswitch
104 # BRCOMPATD_PRIORITY: "nice" priority at which to run ovs-vswitchd and related
106 # BRCOMPATD_PRIORITY=-10
108 # BRCOMPATD_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
109 # BRCOMPATD_LOGFILE=/var/log/ovs-brcompatd.log
111 # BRCOMPATD_FILE_LOGLEVEL: Log level at which to log into the
112 # BRCOMPATD_LOG file. If this is null or not set the logfile will
113 # not be created and nothing will be sent to it. This is the
114 # default. The available options are: EMER, WARN, INFO and DBG.
115 # BRCOMPATD_FILE_LOGLEVEL=""
117 # BRCOMPATD_SYSLOG_LOGLEVEL: Log level at which to log into syslog. If
118 # this is null or not set the default is to log to syslog
119 # emergency and warning level messages only.
120 # BRCOMPATD_SYSLOG_LOGLEVEL="WARN"
122 # BRCOMPATD_MEMLEAK_LOGFILE: File for logging memory leak data.
123 # Enabling this option will slow ovs-brcompatd significantly. Do not
124 # enable it except to debug a suspected memory leak. Use the
125 # ovs-parse-leaks utility included with Open vSwitch to parse the
126 # log file. For best results, you also need debug symbols.
127 # BRCOMPATD_MEMLEAK_LOGFILE=""
129 # BRCOMPATD_STRACE_LOG: File for logging strace output.
130 # If this is set to a nonempty string, then ovs-brcompatd will run
131 # under strace, whose output will be logged to the specified file.
132 # Enabling this option will slow brcompatd significantly.
133 # BRCOMPATD_STRACE_LOG and BRCOMPATD_VALGRIND_LOG are mutually exclusive.
134 # BRCOMPATD_STRACE_LOG=""
136 # BRCOMPATD_STRACE_OPT: Options to pass to strace.
137 # This option's value is honored only when BRCOMPATD_STRACE_LOG is
138 # set to a nonempty string.
139 # BRCOMPATD_STRACE_OPT=""
141 # BRCOMPATD_VALGRIND_LOG: File for logging valgrind output.
142 # If this is set to a nonempty string, then ovs-brcompatd will run
143 # under valgrind, whose output will be logged to the specified file.
144 # Enabling this option will slow brcompatd by 100X or more.
145 # valgrind is not installed by default on XenServer systems; you must
146 # install it by hand to usefully enable this option.
147 # BRCOMPATD_STRACE_LOG and BRCOMPATD_VALGRIND_LOG are mutually exclusive.
148 # BRCOMPATD_VALGRIND_LOG=""
150 # BRCOMPATD_VALGRIND_OPT: Options to pass to valgrind.
151 # This option's value is honored only when BRCOMPATD_VALGRIND_LOG is
152 # set to a nonempty string.
153 # BRCOMPATD_VALGRIND_OPT=""