1 ### Configuration options for openvswitch
3 # Copyright (C) 2009, 2010, 2011 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_MONITOR: If 'y' then monitor daemon processes and restart them
11 # if they die due to an error signal.
14 # FORCE_COREFILES: If 'y' then core files will be enabled.
17 # COREFILE_PATTERN: Pattern used to determine path and filename for
18 # core files when FORCE_COREFILES is 'y'. This is Linux specific.
19 # See the manpage for "core".
20 # COREFILE_PATTERN="/var/xen/openvswitch/%e-%t"
22 # OVSDB_SERVER_REMOTES: Space-separated list of methods on which to have
23 # ovsdb-server listen or connect for a JSON-RPC connection.
24 # OVSDB_SERVER_REMOTES="punix:/var/run/openvswitch/db.sock db:Open_vSwitch,manager_options"
26 # OVSDB_SERVER_DB: File for which ovsdb-server uses for storage.
27 # OVSDB_SERVER_DB=/etc/openvswitch/conf.db
29 # OVSDB_SERVER_PIDFILE: File in which to store the pid of the running
31 # OVSDB_SERVER_PIDFILE=/var/run/openvswitch/ovsdb-server.pid
33 # OVSDB_SERVER_RUN_DIR: Set the directory in which ovsdb-server should be
34 # run. This mainly affects where core files will be placed.
35 # OVSDB_SERVER_RUN_DIR=/var/xen/openvswitch
37 # OVSDB_SERVER_PRIORITY: "nice" priority at which to run ovsdb-server and
39 # OVSDB_SERVER_PRIORITY=-10
41 # OVSDB_SERVER_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
42 # OVSDB_SERVER_LOGFILE=/var/log/openvswitch/ovsdb-server.log
44 # OVSDB_SERVER_FILE_LOGLEVEL: Log level at which to log into the
45 # OVSDB_SERVER_LOG file. If this is null or not set the logfile will
46 # not be created and nothing will be sent to it. This is the
47 # default. The available options are: EMER, WARN, INFO and DBG.
48 # OVSDB_SERVER_FILE_LOGLEVEL=""
50 # OVSDB_SERVER_SYSLOG_LOGLEVEL: Log level at which to log into syslog. If
51 # this is null or not set the default is to log to syslog
52 # emergency and warning level messages only.
53 # OVSDB_SERVER_SYSLOG_LOGLEVEL="WARN"
55 # OVSDB_SERVER_MEMLEAK_LOGFILE: File for logging memory leak data.
56 # Enabling this option will slow ovsdb-server significantly. Do not
57 # enable it except to debug a suspected memory leak. Use the
58 # ovs-parse-leaks utility included with Open vSwitch to parse the
59 # log file. For best results, you also need debug symbols.
60 # OVSDB_SERVER_MEMLEAK_LOGFILE=""
62 # OVSDB_SERVER_STRACE_LOG: File for logging strace output.
63 # If this is set to a nonempty string, then ovsdb-server will run
64 # under strace, whose output will be logged to the specified file.
65 # Enabling this option will slow ovsdb-server significantly.
66 # OVSDB_SERVER_STRACE_LOG and OVSDB_SERVER_VALGRIND_LOG are mutually
68 # OVSDB_SERVER_STRACE_LOG=""
70 # OVSDB_SERVER_STRACE_OPT: Options to pass to strace.
71 # This option's value is honored only when OVSDB_SERVER_STRACE_LOG is
72 # set to a nonempty string.
73 # OVSDB_SERVER_STRACE_OPT=""
75 # OVSDB_SERVER_VALGRIND_LOG: File for logging valgrind output.
76 # If this is set to a nonempty string, then ovsdb-server will run
77 # under valgrind, whose output will be logged to the specified file.
78 # Enabling this option will slow ovsdb-server by 100X or more.
79 # valgrind is not installed by default on XenServer systems; you must
80 # install it by hand to usefully enable this option.
81 # OVSDB_SERVER_STRACE_LOG and OVSDB_SERVER_VALGRIND_LOG are mutually
83 # OVSDB_SERVER_VALGRIND_LOG=""
85 # OVSDB_SERVER_VALGRIND_OPT: Options to pass to valgrind.
86 # This option's value is honored only when OVSDB_SERVER_VALGRIND_LOG is
87 # set to a nonempty string.
88 # OVSDB_SERVER_VALGRIND_OPT=""
90 # VSWITCHD_OVSDB_SERVER: Method to have ovs-vswitchd initiate a JSON-RPC
91 # connection to an ovsdb-server instance.
92 # VSWITCHD_OVSDB_SERVER=unix:/var/run/openvswitch/db.sock
94 # VSWITCHD_OVSDB_SCHEMA: Schema file to use for generating a new OVSDB
95 # ovs-vswitchd database.
96 # VSWITCHD_OVSDB_SCHEMA=/usr/share/openvswitch/vswitch.ovsschema
98 # VSWITCHD_PIDFILE: File in which to store the pid of the running
100 # VSWITCHD_PIDFILE=/var/run/openvswitch/ovs-vswitchd.pid
102 # VSWITCHD_RUN_DIR: Set the directory in which ovs-vswitchd should be
103 # run. This mainly affects where core files will be placed.
104 # VSWITCHD_RUN_DIR=/var/xen/openvswitch
106 # VSWITCHD_PRIORITY: "nice" priority at which to run ovs-vswitchd and related
108 # VSWITCHD_PRIORITY=-10
110 # VSWITCHD_MLOCKALL: Whether to pass ovs-vswitchd the --mlockall option.
111 # This option should be set to "yes" or "no". The default is "yes".
112 # Enabling this option can avoid networking interruptions due to
113 # system memory pressure in extraordinary situations, such as multiple
114 # concurrent VM import operations.
115 # VSWITCHD_MLOCKALL=yes
117 # VSWITCHD_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
118 # VSWITCHD_LOGFILE=/var/log/openvswitch/ovs-vswitchd.log
120 # VSWITCHD_FILE_LOGLEVEL: Log level at which to log into the
121 # VSWITCHD_LOG file. If this is null or not set the logfile will
122 # not be created and nothing will be sent to it. This is the
123 # default. The available options are: EMER, WARN, INFO and DBG.
124 # VSWITCHD_FILE_LOGLEVEL=""
126 # VSWITCHD_SYSLOG_LOGLEVEL: Log level at which to log into syslog. If
127 # this is null or not set the default is to log to syslog
128 # emergency and warning level messages only.
129 # VSWITCHD_SYSLOG_LOGLEVEL="WARN"
131 # VSWITCHD_MEMLEAK_LOGFILE: File for logging memory leak data.
132 # Enabling this option will slow ovs-vswitchd significantly. Do not
133 # enable it except to debug a suspected memory leak. Use the
134 # ovs-parse-leaks utility included with Open vSwitch to parse the
135 # log file. For best results, you also need debug symbols.
136 # VSWITCHD_MEMLEAK_LOGFILE=""
138 # VSWITCHD_STRACE_LOG: File for logging strace output.
139 # If this is set to a nonempty string, then ovs-vswitchd will run
140 # under strace, whose output will be logged to the specified file.
141 # Enabling this option will slow ovs-vswitchd significantly.
142 # VSWITCHD_STRACE_LOG and VSWITCHD_VALGRIND_LOG are mutually exclusive.
143 # VSWITCHD_STRACE_LOG=""
145 # VSWITCHD_STRACE_OPT: Options to pass to strace.
146 # This option's value is honored only when VSWITCHD_STRACE_LOG is
147 # set to a nonempty string.
148 # VSWITCHD_STRACE_OPT=""
150 # VSWITCHD_VALGRIND_LOG: File for logging valgrind output.
151 # If this is set to a nonempty string, then ovs-vswitchd will run
152 # under valgrind, whose output will be logged to the specified file.
153 # Enabling this option will slow ovs-vswitchd by 100X or more.
154 # valgrind is not installed by default on XenServer systems; you must
155 # install it by hand to usefully enable this option.
156 # VSWITCHD_STRACE_LOG and VSWITCHD_VALGRIND_LOG are mutually exclusive.
157 # VSWITCHD_VALGRIND_LOG=""
159 # VSWITCHD_VALGRIND_OPT: Options to pass to valgrind.
160 # This option's value is honored only when VSWITCHD_VALGRIND_LOG is
161 # set to a nonempty string.
162 # VSWITCHD_VALGRIND_OPT=""