Merge commit 'origin/ctrix' into k
[sliver-openvswitch.git] / xenserver / root_vswitch_scripts_sysconfig.template
1 ### Configuration options for vswitch
2
3 # Copyright (C) 2009 Nicira Networks, Inc.
4 #
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.
9
10 # VSWITCH_BASE: Root directory where vswitch binaries are installed
11 # VSWITCH_BASE=/root/vswitch/openvswitch/build
12
13 # ENABLE_BRCOMPAT: If 'y' than emulate linux bridging interfaces
14 #    using the brcompat kernel module and ovs-brcompatd daemon
15 # ENABLE_BRCOMPAT=y
16
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
22
23 # FORCE_COREFILES: If 'y' then core files will be enabled.
24 # FORCE_COREFILES=y
25
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"
30
31 # VSWITCHD_CONF: File in which ovs-vswitchd stores its configuration.
32 # VSWITCHD_CONF=/etc/ovs-vswitchd.conf
33
34 # VSWITCHD_PIDFILE: File in which to store the pid of the running
35 #     ovs-vswitchd.
36 # VSWITCHD_PIDFILE=/var/run/ovs-vswitchd.pid
37
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
41
42 # VSWITCHD_PRIORITY: "nice" priority at which to run ovs-vswitchd and related
43 #     processes.
44 # VSWITCHD_PRIORITY=-10
45
46 # VSWITCHD_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
47 # VSWITCHD_LOGFILE=/var/log/ovs-vswitchd.log
48
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=""
55
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=""
61
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"
66
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=""
73
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=""
78
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=""
87
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=""
92
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
99
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
103
104 # BRCOMPATD_PRIORITY: "nice" priority at which to run ovs-vswitchd and related
105 #     processes.
106 # BRCOMPATD_PRIORITY=-10
107
108 # BRCOMPATD_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
109 # BRCOMPATD_LOGFILE=/var/log/ovs-brcompatd.log
110
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=""
116
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"
121
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=""
128
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=""
135
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=""
140
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=""
149
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=""