Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.2 KB

README.md

File metadata and controls

52 lines (36 loc) · 1.2 KB

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!