https://github.com/bytedance/ovs-dpdk

This is a fork of Open vSwitch, we focus DPDK based Open vSwitch

https://github.com/bytedance/ovs-dpdk

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    8 of 552 committers (1.4%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.9%) to scientific vocabulary

Keywords from Contributors

system init services systemd kernel ansible infrared infrared-plugin embedded x86
Last synced: 10 months ago · JSON representation

Repository

This is a fork of Open vSwitch, we focus DPDK based Open vSwitch

Basic Info
  • Host: GitHub
  • Owner: bytedance
  • License: apache-2.0
  • Language: C
  • Default Branch: open-source
  • Size: 71.1 MB
Statistics
  • Stars: 67
  • Watchers: 7
  • Forks: 24
  • Open Issues: 1
  • Releases: 0
Created about 6 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog Contributing License Authors

README.rst

.. 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.

Introduction
-----------

This is a fork of Open vSwitch. In this code repo, we focus on the DPDK based Open vSwitch including our own bugfixes and feature enhancements.

Currently, we have implemeneted a non-distrupted upgrade for ovs-dpdk running on Mellenox CX5 NICs.

We've also implemented VXLAN decap/encap NIC offloading in the code. The impelementation is different from the community version, because at the time the community repo does not support this.

For the bugfixes and other features in developing, we will first introduce them into this repo and then try to contribute to the OVS community.

The reason we open source this repo is to try to have devoloping agility for our internal services, while not closing the door from the upstream community.

We will update this fork to merge the bugfixes code from the upstream community from time to time, and we welcome anyone provide feedbacks or suggestions to us.

Feature
------

* Non-distrupted upgrade on MLNX nics (cx4/cx5)
* VXLAN decap/encap full offload, (tested on cx5)
* VXLAN TSO
* Partial offload is currently removed, but will be added back if needed.

Contact
-------
hepeng.0320@bytedance.com

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

.. image:: https://travis-ci.org/openvswitch/ovs.png
    :target: https://travis-ci.org/openvswitch/ovs
.. image:: https://ci.appveyor.com/api/projects/status/github/openvswitch/ovs?branch=master&svg=true&retina=true
    :target: https://ci.appveyor.com/project/blp/ovs/history
.. image:: https://api.cirrus-ci.com/github/openvswitch/ovs.svg
    :target: https://cirrus-ci.com/github/openvswitch/ovs

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?
--------------------------------------

.. 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 `__. 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.

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.

File build-aux/cccl is licensed under the GNU General Public License, version 2.

The following files are licensed under the 2-clause BSD license.
    include/windows/getopt.h
    lib/getopt_long.c
    lib/conntrack-tcp.c

The following files are licensed under the 3-clause BSD-license
    include/windows/netinet/icmp6.h
    include/windows/netinet/ip6.h
    lib/strsep.c

Files under the xenserver directory are licensed on a file-by-file basis.
Refer to each file for details.

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

Owner

  • Name: Bytedance Inc.
  • Login: bytedance
  • Kind: organization
  • Location: Singapore

GitHub Events

Total
  • Issues event: 1
  • Watch event: 5
  • Delete event: 2
  • Issue comment event: 1
  • Fork event: 2
  • Create event: 2
Last Year
  • Issues event: 1
  • Watch event: 5
  • Delete event: 2
  • Issue comment event: 1
  • Fork event: 2
  • Create event: 2

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 18,025
  • Total Committers: 552
  • Avg Commits per committer: 32.654
  • Development Distribution Score (DDS): 0.663
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Ben Pfaff b****p@o****g 6,069
Justin Pettit j****t@o****g 964
Ethan J. Jackson e****j@e****u 823
Jarno Rajahalme j****o@o****g 671
Jesse Gross j****e@k****g 665
Gurucharan Shetty g****u@o****g 511
Joe Stringer j****e@o****g 492
Pravin B Shelar p****r@o****g 440
Simon Horman s****n@n****m 390
Andy Zhou a****u@o****g 350
Ilya Maximets i****s@o****g 349
Alex Wang e****1@g****m 288
Daniele Di Proietto d****d@v****m 280
Russell Bryant r****l@o****g 248
Alin Serdean a****n@c****m 247
YAMAMOTO Takashi y****o@o****g 218
William Tu u****3@g****m 164
Han Zhou h****8@e****m 144
Nithin Raju n****n@v****m 141
Darrell Ball d****8@g****m 137
Flavio Leitner f****l@s****g 133
hepeng.0320 h****0@b****m 131
Stephen Finucane s****n@t****u 128
Thomas Graf t****f@n****m 128
Aaron Conole a****e@r****m 124
Yi-Hung Wei y****i@g****m 117
Jakub Sitnicki j****s@r****m 115
Numan Siddique n****q@r****m 111
Greg Rose g****2@g****m 101
Lance Richardson l****d@r****m 100
and 522 more...

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 1.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 1.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • attdone (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

Documentation/requirements.txt pypi
  • ovs_sphinx_theme >=1.0,<1.1
  • sphinx >=1.1,<2.0
python/setup.py pypi
  • sortedcontainers *
utilities/docker/debian/Dockerfile docker
  • ubuntu 16.04 build