ovs-brcompatd8
Bridge compatibility front-end for ovs-vswitchd
Usage
ovs-brcompatd [options]
Overview
A daemon that provides a legacy bridge front-end for ovs-vswitchd. It does this by listening for bridge ioctl commands (e.g., those generated by the brctl program) to add or remove datapaths and the interfaces that attach to them.
Options
-
--appctl=program -
Sets the name to the program that
ovs-brcompatdruns to communicate withovs-vswitchd. The default isovs-appctl. Unless program contains/,ovs-brcompatdwill search the PATH environment variable to find it.
-
--vsctl=program -
Sets the name to the program that
ovs-brcompatdruns to communicate withovsdb-server. The default isovs-vsctl. Unless program contains/,ovs-brcompatdwill search the PATH environment variable to find it.
-
--pidfile[=pidfile] -
Causes a file (by default,
ovs-brcompatd.pid) to be created indicating the PID of the running process. If the pidfile argument is not specified, or if it does not begin with/, then it is created in/var/run/openvswitch.
-
If
--pidfileis not specified, no pidfile is created.
-
--overwrite-pidfile -
By default, when
--pidfileis specified and the specified pidfile already exists and is locked by a running process,ovs-brcompatdrefuses to start. Specify--overwrite-pidfileto cause it to instead overwrite the pidfile.
-
When
--pidfileis not specified, this option has no effect.
-
--detach -
Causes
ovs-brcompatdto detach itself from the foreground session and run as a background process.
-
--monitor -
Creates an additional process to monitor the
ovs-brcompatddaemon. If the daemon dies due to a signal that indicates a programming error (e.g. SIGSEGV, SIGABRT), then the monitor process starts a new copy of it. If the daemon die or exits for another reason, the monitor process exits.
-
This option is normally used with
--detach, but it also functions without it.
-
--no-chdir -
By default, when
--detachis specified,ovs-brcompatdchanges its current working directory to the root directory after it detaches. Otherwise, invokingovs-brcompatdfrom a carelessly chosen directory would prevent the administrator from unmounting the file system that holds that directory.
-
Specifying
--no-chdirsuppresses this behavior, preventingovs-brcompatdfrom changing its current working directory. This may be useful for collecting core files, since it is common behavior to write core dumps into the current working directory and the root directory is not a good directory to use.
-
This option has no effect when
--detachis not specified.
-
-vmodule[:facility[:level]], --verbose=module[:facility[:level]] -
Sets the logging level for module in facility to level:
- •
-
module may be any valid module name (as displayed by the
--listaction on ovs-appctl(8)), or the special name ANY to set the logging levels for all modules.
- •
-
facility may be
syslog,console, orfileto set the levels for logging to the system log, the console, or a file respectively, or ANY to set the logging levels for both facilities. If it is omitted, facility defaults to ANY.
-
Regardless of the log levels set for
file, logging to a file will not take place unless--log-fileis also specified (see below).
- •
-
level must be one of
off,emer,err,warn,info, ordbg, designating the minimum severity of a message for it to be logged. If it is omitted, level defaults todbg. See ovs-appctl(8) for a definition of each log level.
-
-v, --verbose -
Sets the maximum logging verbosity level, equivalent to
--verbose=ANY:ANY:dbg.
-vPATTERN:facility:pattern,--verbose=PATTERN:facility:pattern-
Sets the log pattern for facility to pattern. Refer to ovs-appctl(8) for a description of the valid syntax for pattern.
-
--log-file[=file] -
Enables logging to a file. If file is specified, then it is used as the exact name for the log file. The default log file name used if file is omitted is
/var/log/openvswitch/ovs-brcompatd.log.
-
-h, --help -
Prints a brief help message to the console.
-
-V, --version -
Prints version information to the console.
-
--check-leaks=file -
Logs information about memory allocation and deallocation to file, to allow for debugging memory leaks in
ovs-brcompatd. This option slows downovs-brcompatdconsiderably, so it should only be used when a memory leak is suspected. Use theovs-parse-leaksscript to interpret the leak file.
-
--leak-limit=size -
Limits size of the leak file as specified by
--check-leaksto size bytes. Finding leaks sometimes requires allowing the leak file to grow very large, up to 1GB. By default, files are limited to 10MB.
Notes
ovs-brcompatd requires the brcompat_mod.ko kernel module to be loaded.