Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yyang13/ovs_nsh_patches
https://github.com/yyang13/ovs_nsh_patches
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yyang13/ovs_nsh_patches
- Owner: yyang13
- Created: 2016-03-31T06:11:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-11T11:20:14.000Z (about 7 years ago)
- Last Synced: 2024-07-21T03:06:32.245Z (4 months ago)
- Language: Shell
- Size: 32.7 MB
- Stars: 21
- Watchers: 11
- Forks: 16
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ovs nsh patches
===============patch file list
---------------
```
0001-ovs-vxlan-gpe-vxlan-extension-to-support-vxlan-gpe-t.patch
0002-ovs-nsh-support-push-and-pop-actions-for-vxlan-gpe-a.patch
0003-Add-userspace-dataplane-nsh-support-and-remove-push_.patch
0004-Fix-too-large-stack-frame-size.patch
0005-Ethernet-header-must-be-kept-in-VxLAN-gpe-eth-NSH-fo.patch
0006-Fix-VxLAN-gpe-Eth-NSH-issues.patch
0007-Fix-ovs-dpdk-issues.patch
```How to apply them
-----------------
```
$ git clone https://github.com/yyang13/ovs_nsh_patches.git
$ git clone https://github.com/openvswitch/ovs.git
$ cd ovs
$ git reset --hard 7d433ae57ebb90cd68e8fa948a096f619ac4e2d8
$ cp ../ovs_nsh_patches/*.patch ./
$ git am *.patch
```How to build
------------
```
$ ./boot.sh
$ ./configure --with-linux=/lib/modules/`uname -r`/build
$ make
```How to build ovs DPDK
---------------------
```
$ pushd ../
$ wget http://fast.dpdk.org/rel/dpdk-2.2.0.tar.gz
$ tar xf dpdk-2.2.0.tar.gz
$ export DPDK_DIR=$(pwd)/dpdk-2.2.0
$ cd $DPDK_DIR
$ sed -i 's/CONFIG_RTE_BUILD_COMBINE_LIBS=n/CONFIG_RTE_BUILD_COMBINE_LIBS=y/g' config/common_linuxapp
$ make install T=x86_64-native-linuxapp-gcc DESTDIR=install
$ export DPDK_BUILD=$DPDK_DIR/x86_64-native-linuxapp-gcc/
$ popd
$ ./boot.sh
$ ./configure --with-dpdk=$DPDK_BUILD
$ make
```If you want to overwrite local ovs installation, please also run it, but please be careful.
```
$ sudo make install
```Test network topology
---------------------
![Test Network Topology](https://raw.githubusercontent.com/yyang13/ovs_nsh_patches/master/test-topo.png)Openflow tables
===============Non-DPDK version
----------------
- [test-flows-host1.txt](https://github.com/yyang13/ovs_nsh_patches/blob/master/test-flows-host1.txt)
- [test-flows-host2.txt](https://github.com/yyang13/ovs_nsh_patches/blob/master/test-flows-host2.txt)DPDK version
----------------
- [test-flows-dpdk-host1.txt](https://github.com/yyang13/ovs_nsh_patches/blob/master/test-flows-dpdk-host1.txt)
- [test-flows-dpdk-host2.txt](https://github.com/yyang13/ovs_nsh_patches/blob/master/test-flows-dpdk-host2.txt)