Open vSwitch
  • C 85.8%
  • Python 8.9%
  • Roff 2.1%
  • Shell 1.4%
  • M4 0.7%
  • Other 1.1%
Find a file
Matteo Perin b30f621502 github: Remove executable bit from freebsd.yml.
This file is a GitHub Actions workflow definition and does not need
to be executable.  The stray +x mode triggers a lintian warning
(executable-not-elf-or-script) when packaging.

Signed-off-by: Matteo Perin <matteo.perin@canonical.com>
Reviewed-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Aaron Conole <aconole@redhat.com>
2026-08-27 08:10:21 -04:00
.ci configure: Allow disabling POSIX async I/O and disable in FreeBSD CI. 2026-06-01 16:54:09 +02:00
.github/workflows github: Remove executable bit from freebsd.yml. 2026-08-27 08:10:21 -04:00
build-aux build-aux/extract-ofp-actions: Fix re.sub() DeprecationWarning. 2026-07-15 18:23:57 +02:00
debian Set release date for 4.0.0. 2026-08-17 21:55:59 +02:00
Documentation releases: Mark 3.7 as a new LTS release. 2026-08-17 21:55:23 +02:00
include treewide: Remove Windows support. 2026-05-19 17:41:54 +02:00
ipsec ipsec: libreswan: Consider active only when child SA is established. 2026-02-04 00:32:36 +01:00
lib dpctl: Avoid signed overflow when handling PMD ID. 2026-07-15 18:28:56 +02:00
m4 configure: Allow disabling POSIX async I/O and disable in FreeBSD CI. 2026-06-01 16:54:09 +02:00
ofproto ofproto-dpif: Show multiple or all bridges in fdb/show. 2026-07-15 21:27:31 +02:00
ovsdb treewide: Remove Windows support. 2026-05-19 17:41:54 +02:00
python python: Replace deprecated license with license_expression PEP 639. 2026-07-07 19:07:53 +02:00
rhel utilities: Remove ovs-bugtool. 2026-06-29 21:42:31 +02:00
selinux selinux: Add missing permissions for netlink_rdma_socket. 2024-10-09 10:49:18 -04:00
tests tests: Remove restrictions on tunnel TSO. 2026-08-14 22:24:20 +02:00
third-party doc: Remove documentation from distdoc target 2016-12-12 09:11:03 -08:00
tutorial Remove OVN. 2019-09-06 14:54:58 -07:00
utilities ovs-kmod-ctl: Allow startup without openvswitch kernel module. 2026-08-27 08:04:18 -04:00
vswitchd ofproto-dpif: Show multiple or all bridges in fdb/show. 2026-07-15 21:27:31 +02:00
vtep treewide: Remove Windows support. 2026-05-19 17:41:54 +02:00
.editorconfig treewide: Remove Windows support. 2026-05-19 17:41:54 +02:00
.gitignore vagrant: Remove outdated vagrant integration. 2026-02-19 14:09:37 +01:00
.mailmap AUTHORS: Update email for stackit senders. 2026-03-04 14:04:29 +01:00
.readthedocs.yaml readthedocs: Use dirhtml builder. 2023-10-27 11:07:24 +02:00
acinclude.m4 dpif-netdev: Remove deprecated AVX512-optimized subtable lookup. 2026-05-20 12:31:56 +02:00
AUTHORS.rst AUTHORS: Add Takeru Hayasaka. 2026-07-15 22:25:34 +02:00
boot.sh debian: Check for accurate Debian changelog version at build time too. 2010-07-21 15:38:23 -07:00
configure.ac Prepare for post-4.0.0 (4.0.90). 2026-07-16 21:17:56 +02:00
CONTRIBUTING.rst CONTRIBUTING.rst: Fix links. 2017-03-17 15:20:35 -07:00
LICENSE Edit Open vSwitch license info so that GitHub recognizes it. 2018-04-16 13:00:56 -07:00
MAINTAINERS.rst MAINTAINERS: Move Russell to emeritus status. 2025-09-10 14:35:30 +02:00
Makefile.am cirrus: Remove Cirrus CI for running FreeBSD test builds. 2026-05-29 16:42:14 +02:00
NEWS Set release date for 4.0.0. 2026-08-17 21:55:59 +02:00
NOTICE datapath-windows: Add Connection Tracking Support 2016-04-14 10:11:46 -07:00
README.rst github: Migrate FreeBSD CI from Cirrus CI to GitHub Actions. 2026-05-29 16:39:50 +02:00

.. NOTE(stephenfin): If making changes to this file, ensure that the
   start-after/end-before lines found in 'Documentation/intro/what-is-ovs'
   are kept up-to-date.

============
Open vSwitch
============

.. image:: https://github.com/openvswitch/ovs/workflows/Build%20and%20Test/badge.svg
    :target: https://github.com/openvswitch/ovs/actions
.. image:: https://github.com/openvswitch/ovs/workflows/FreeBSD%20Build%20and%20Test/badge.svg
    :target: https://github.com/openvswitch/ovs/actions
.. image:: https://readthedocs.org/projects/openvswitch/badge/?version=latest
    :target: https://docs.openvswitch.org/en/latest/

What is Open vSwitch?
---------------------

Open vSwitch is a multilayer software switch licensed under the open source
Apache 2 license.  Our goal is to implement a production quality switch
platform that supports standard management interfaces and opens the forwarding
functions to programmatic extension and control.

Open vSwitch is well suited to function as a virtual switch in VM environments.
In addition to exposing standard control and visibility interfaces to the
virtual networking layer, it was designed to support distribution across
multiple physical servers.  Open vSwitch supports multiple Linux-based
virtualization technologies including KVM, and VirtualBox.

The bulk of the code is written in platform-independent C and is easily ported
to other environments.  The current release of Open vSwitch supports the
following features:

- Standard 802.1Q VLAN model with trunk and access ports
- NIC bonding with or without LACP on upstream switch
- NetFlow, sFlow(R), and mirroring for increased visibility
- QoS (Quality of Service) configuration, plus policing
- Geneve, GRE, VXLAN, ERSPAN, GTP-U, SRv6, and Bareudp tunneling
- 802.1ag connectivity fault management
- OpenFlow 1.0 plus numerous extensions
- Transactional configuration database with C and Python bindings
- High-performance forwarding using a Linux kernel module

Open vSwitch can also operate entirely in userspace without assistance from
a kernel module.  This userspace implementation should be easier to port than
the kernel-based switch. OVS in userspace can access Linux or DPDK devices.
Note Open vSwitch with userspace datapath and non DPDK devices is considered
experimental and comes with a cost in performance.

What's here?
------------

The main components of this distribution are:

- ovs-vswitchd, a daemon that implements the switch, along with a companion
  Linux kernel module for flow-based switching.
- ovsdb-server, a lightweight database server that ovs-vswitchd queries to
  obtain its configuration.
- ovs-dpctl, a tool for configuring the switch kernel module.
- Scripts and specs for building RPMs for Red Hat Enterprise Linux and
  deb packages for Ubuntu/Debian.
- ovs-vsctl, a utility for querying and updating the configuration of
  ovs-vswitchd.
- ovs-appctl, a utility that sends commands to running Open vSwitch daemons.

Open vSwitch also provides some tools:

- ovs-ofctl, a utility for querying and controlling OpenFlow switches and
  controllers.
- ovs-pki, a utility for creating and managing the public-key infrastructure
  for OpenFlow switches.
- ovs-testcontroller, a simple OpenFlow controller that may be useful for
  testing (though not for production).
- A patch to tcpdump that enables it to parse OpenFlow messages.

What other documentation is available?
--------------------------------------

.. TODO(stephenfin): Update with a link to the hosting site of the docs, once
   we know where that is

To install Open vSwitch on a regular Linux or FreeBSD host, please read the
`installation guide <Documentation/intro/install/general.rst>`__. For specifics
around installation on a specific platform, refer to one of the `other
installation guides <Documentation/intro/install/index.rst>`__

For answers to common questions, refer to the `FAQ <Documentation/faq>`__.

To learn about some advanced features of the Open vSwitch software switch, read
the `tutorial <Documentation/tutorials/ovs-advanced.rst>`__.

Each Open vSwitch userspace program is accompanied by a manpage.  Many of the
manpages are customized to your configuration as part of the build process, so
we recommend building Open vSwitch before reading the manpages.

License
-------

The following is a summary of the licensing of files in this distribution.
As mentioned, Open vSwitch is licensed under the open source Apache 2 license.
Some files may be marked specifically with a different license, in which case
that license applies to the file in question.


Files under the datapath directory are licensed under the GNU General Public
License, version 2.

The following files are licensed under the 2-clause BSD license.
    lib/conntrack-tcp.c

Files lib/sflow*.[ch] are licensed under the terms of either the
Sun Industry Standards Source License 1.1, that is available at:
        http://host-sflow.sourceforge.net/sissl.html
or the InMon sFlow License, that is available at:
        http://www.inmon.com/technology/sflowlicense.txt

Contact
-------

bugs@openvswitch.org