trema / hello_trema

Hello World!

Home Page:trema.github.io/trema

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hello_trema

Build Status Coverage Status Code Climate Dependency Status Inline docs

Welcome to "Hello Trema!"

The "Hello Trema!" example is one of the simplest OpenFlow controller implementations. The basic functionality of this controller is to establish an OpenFlow channel connection with an OpenFlow switch and output the "Hello 0xabc! (switch's datapath ID)" message.

This example demonstrates a minimum template for Trema applications written in Ruby. Hence, it's a good starting point to learn about Trema programming.

Prerequisites

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

Install

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

Play

./bin/trema run lib/hello_trema.rb -c trema.conf

About

Hello World!

trema.github.io/trema

License:GNU General Public License v3.0


Languages

Language:Ruby 95.4%Language:Gherkin 4.6%