Open vSwitch
C Python Roff Shell M4 Makefile Other
Latest commit e656b16 Aug 4, 2017 @blp blp Prepare for post-2.8.0 (2.8.90).
Signed-off-by: Ben Pfaff <blp@ovn.org>
Permalink
Failed to load latest commit information.
.travis Update relevant artifacts to add support for DPDK 17.05.1. Aug 2, 2017
Documentation debian.rst: Clarify that "dpkg" needs manual help with dependencies. Aug 4, 2017
build-aux Python3 compatibility: math error compatibility Jul 6, 2017
datapath-windows datapath-windows: Fix conntrack lookups for reversed keys Aug 3, 2017
datapath datapath: fix potential out of bound access in parse_ct Jul 26, 2017
debian Prepare for post-2.8.0 (2.8.90). Aug 4, 2017
include ovs-ofctl: Avoid unnecessary flow replacement in "replace-flows" comm… Aug 3, 2017
lib ovsdb-idl: idl compound indexes implementation Aug 3, 2017
m4 Automatically verify that OVS header files work OK in C++ also. Jul 31, 2017
ofproto ofproto-dpif-xlate: Add OFPACT_ENCAP, OFPACT_DECAP to reversible_acti… Aug 3, 2017
ovn ovn-controller: use idl indexes for logical datapath Aug 3, 2017
ovsdb ovsdb-server: Document clarification for some bad wording in RFC 7047. Aug 4, 2017
python Python3 compatibility: fix integer problems Jul 6, 2017
rhel rhel: Use systemd Restart option for ovn-controllers. Aug 3, 2017
selinux selinux: Allow ovs-ctl force-reload-kmod. Jul 26, 2016
tests tests: fix wrapped comment Aug 4, 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 ovs-ofctl: Avoid unnecessary flow replacement in "replace-flows" comm… Aug 3, 2017
vswitchd bridge: Avoid read of uninitialized data configuring Auto-Attach. Aug 3, 2017
vtep Eliminate most shadowing for local variable names. Aug 2, 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 ovsdb-server: Document clarification for some bad wording in RFC 7047. Aug 4, 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
Makefile.am Automatically verify that OVS header files work OK in C++ also. Jul 31, 2017
NEWS Prepare for post-2.8.0 (2.8.90). Aug 4, 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
boot.sh debian: Check for accurate Debian changelog version at build time too. Jul 21, 2010
configure.ac Prepare for post-2.8.0 (2.8.90). Aug 4, 2017
manpages.mk ovn-detrace: A tool decoding ofproto/trace output for ovn debugging. Apr 21, 2017

README.rst

Open vSwitch

https://travis-ci.org/openvswitch/ovs.png

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.

Contact

bugs@openvswitch.org