An Open vSwitch package for OpenWrt
Pull request Compare This branch is 24 commits ahead, 4 commits behind schuza:master.
Latest commit 14454ac Oct 15, 2014 @pichuang End of Support
Permalink
Failed to load latest commit information.
openvswitch Upgrade to OpenvSwitch 2.3.0 Aug 15, 2014
README.md End of Support Oct 15, 2014

README.md

OpenvWrt

Open vSwitch 2.3.0 (OvS) package for OpenWrt "CHAOS CALMER" (trunk, r42165)

From NOW, OpenvSwitch had been add to OpenWrt Packages Repository, so support has ended.

Installation in OpenWrt

  1. cd $TOPDIR

  2. echo 'src-git openvswitch git://github.com/pichuang/openvwrt.git' >> feeds.conf

  3. ./scripts/feeds update openvswitch

  4. ./scripts/feeds install -a -p openvswitch

  5. wget https://gist.githubusercontent.com/pichuang/7372af6d5d3bd1db5a88/raw/4e2290e3e184288de7623c02f63fb57c536e035a/openwrt-add-libatomic.patch -q -O - | patch -p1

  6. make menuconfig

    • select Network -> openvswitch-switch, openvswitch-switch, openvswitch-ipsec (Optional)
    • select Advanced configuration options (for developers) -> Toolchain Options -> Binutils Version -> Linaro binutils 2.24
    • UNSELECT Advanced configuration options (for developers) -> Target Options -> Build packages with MIPS16 instructions
  7. echo '#CONFIG_KERNEL_BRIDGE is not set' >> .config

  8. make V=s

!WARNING! You need repeat step 7 and 8 after you enter "make menuconfig".

Enviroment

  • Hardware: D-LINK Dir-835
  • Build enviroment
    • gcc version 4.9.0 20140604 (prerelease) (GCC)
    • Ubuntu 14.04.1 x86_64

Q&A

  1. How to build OpenWrt?

  2. How to set OpenvSwitch configuration?

  3. No works?

    • Try reboot and telnet 192.168.1.1
    • or, make clean rebuild it.

Screenshot

alt tag

Development

Please fork on github and send pull requests.