Open vSwitch
C Python Roff Shell Makefile M4 Other
Latest commit fa10e59 Jul 25, 2017 Ilya Maximets committed with azhou-nicira Add netdev-dummy/receive test.
Regression test for 'netdev-dummy/receive' appctl command.

Signed-off-by: Ilya Maximets <>
Signed-off-by: Andy Zhou <>
Failed to load latest commit information.
.travis docs: Use DPDK 16.11.2 stable release. Jul 6, 2017
Documentation docs: Note currently used L3 gateway HA approach. Jul 21, 2017
build-aux Python3 compatibility: math error compatibility Jul 6, 2017
datapath-windows datapath-windows: allow catalog creation with local time on WDK 10 Jul 11, 2017
datapath datapath: Fix for force/commit action failures Jul 24, 2017
debian openvswitch-switch.postinst: Remove upstart files. Jul 12, 2017
include OpenFlow: Add support for "group delete" flow removed reason to 1.3. Jul 16, 2017
lib netdev-dummy: Fix setting length in recieve command. Jul 25, 2017
m4 libopenvswitch: Rename to libfoo-X.Y. May 17, 2017
ofproto bond: Remove bond_hash_src. Jul 25, 2017
ovn ovn-architecture: Remove outdated comment. Jul 25, 2017
ovsdb Support IPv6 link-local address scopes on Linux. Jul 17, 2017
python Python3 compatibility: fix integer problems Jul 6, 2017
rhel rhel/systemd: Set ovs-vswitchd timeout to 5 minutes Jul 21, 2017
selinux selinux: Allow ovs-ctl force-reload-kmod. Jul 26, 2016
tests Add netdev-dummy/receive test. Jul 25, 2017
third-party doc: Remove documentation from distdoc target Dec 12, 2016
tutorial sandbox: disable ssl for backup ovn southbound db Jun 13, 2017
utilities checkpatch: Suggest ovs_assert() to author. Jul 12, 2017
vswitchd vswitch.xml: Fix L2 balancing mentioning for balance-tcp bond. Jul 25, 2017
vtep Free port bindings when deleting cached ports. Jul 14, 2017
windows windows-installer: Update DriverVersion to be streamlined to OVS version Apr 14, 2017
xenserver Replace most uses of and references to "ifconfig" by "ip". Jun 1, 2017
.gitignore gitignore: Ignore /docs-check instead of /htmldocs-check Apr 24, 2017
.mailmap .mailmap: Document file format. Nov 17, 2016
.travis.yml travis: Update test kernels Jul 24, 2017
AUTHORS.rst AUTHORS.rst: Add Mark Michelson. Jul 25, 2017
CONTRIBUTING.rst CONTRIBUTING.rst: Fix links. Mar 17, 2017
COPYING conntrack: New userspace connection tracker. Jul 28, 2016
MAINTAINERS.rst MAINTAINERS: Update committer documentation refs. Apr 25, 2017 ctags: include symbols with locking annotations. Jul 13, 2017
NEWS NEWS: Add OVN L3 Gateway HA. Jul 20, 2017
NOTICE datapath-windows: Add Connection Tracking Support Apr 14, 2016
README.rst doc: Clarify how user space is experimental. Feb 9, 2017
Vagrantfile packaging: Make Fedora spec file CentOS compatible Mar 8, 2017
Vagrantfile-FreeBSD vagrant: Add FreeBSD 10.2 box support. Jul 3, 2016
acinclude.m4 acinclude.m4: Support Linux kernel 4.12 Jul 24, 2017
appveyor.yml appveyor: Fix broken URL Jul 15, 2017 debian: Check for accurate Debian changelog version at build time too. Jul 21, 2010 Support IPv6 link-local address scopes on Linux. Jul 17, 2017 ovn-detrace: A tool decoding ofproto/trace output for ovn debugging. Apr 21, 2017


Open vSwitch

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 Xen/XenServer, 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, STT, and LISP 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

The included Linux kernel module supports Linux 3.10 and up.

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 Citrix XenServer and Red Hat Enterprise Linux. The XenServer RPMs allow Open vSwitch to be installed on a Citrix XenServer host as a drop-in replacement for its switch, with additional functionality.
  • 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?

To install Open vSwitch on a regular Linux or FreeBSD host, please read the installation guide. For specifics around installation on a specific platform, refer to one of the other installation guides

For answers to common questions, refer to the FAQ.

To learn about some advanced features of the Open vSwitch software switch, read the tutorial.

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.