Skip to content

miyakz1192/trema

 
 

Repository files navigation

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 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:

About

Full-Stack OpenFlow Framework in Ruby and C

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 79.9%
  • Ruby 18.8%
  • C++ 1.2%
  • Objective-C 0.1%