Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Full-Stack OpenFlow Framework in Ruby and C
C Ruby Other

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
features
locale
ruby
spec
src
unittests
vendor
.gitignore
.gitmodules
.mono.rant
.travis.yml
Doxyfile
Gemfile
README.md
Rakefile
Rantfile
build.rb
cruise.rb
trema
trema-config
trema.gemspec

README.md

Welcome to Trema

Trema is a OpenFlow controller framework that includes everything needed to create OpenFlow controllers in Ruby and C.

This distribution includes all the source code of Trema you need to develop your own OpenFlow controllers. The source tree includes basic libraries and functional modules that work as an interface to OpenFlow switches.

Several sample applications developed on top of Trema are also provided, so you can run them as a sample of OpenFlow controllers. Additionally, a simple but powerful framework that emulates an OpenFlow-based network and end-hosts is provided for testing your own controllers. For debugging, a wireshark plug-in to diagnose internal data-flows among functional modules is provided.

Getting Started

1.Install the prerequisites at the command prompt:

$ sudo apt-get install gcc make ruby rubygems ruby-dev irb file libpcap-dev libsqlite3-dev

2.Install Trema at the command prompt:

$ sudo gem install trema

3.Follow the guidelines to start developing your OpenFlow controller. You may find the following resources handy:

Meta

Supported Platforms

Trema has been tested ONLY on the following environments:

  • Ubuntu 12.04, 11.10, 11.04, 10.10, and 10.04 (i386/amd64, Desktop Edition)
  • Debian GNU/Linux 6.0 (i386/amd64)

It may also run on other GNU/Linux distributions but is not tested and NOT SUPPORTED at this moment.

Contributors

Special thanks to all contributors for submitting patches. A full list of contributors including their patches can be found at:

https://github.com/trema/trema/contributors

Project Status

  • Build Status Build Status
  • Dependency Status Dependency Status

License

Trema is released under the GNU General Public License version 2.0:

Something went wrong with that request. Please try again.