trema / cbench

An dedicated OpenFlow controller implementation for "cbench" OpenFlow controller benchmark suite

Home Page:http://trema.github.io/trema/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cbench

Build Status Code Climate Coverage Status Dependency Status

An dedicated OpenFlow controller implementation for "cbench" OpenFlow controller benchmark.

Prerequisites

  • Ruby 2.2.5 or higher (RVM).
  • Open vSwitch (apt-get install openvswitch-switch).

Install

$ git clone https://github.com/trema/cbench.git
$ cd cbench
$ bundle install --binstubs

Play

Run this controller

$ ./bin/trema run ./lib/cbench.rb

then, on another terminal

$ ./bin/cbench --port 6653 --switches 1 --loops 10 --ms-per-test 10000 --delay 1000 --throughput

Enjoy!

About

An dedicated OpenFlow controller implementation for "cbench" OpenFlow controller benchmark suite

http://trema.github.io/trema/

License:GNU General Public License v3.0


Languages

Language:Ruby 96.8%Language:Gherkin 3.2%