Skip to content

handai-trema/patch-panel-ginyo

Repository files navigation

patch_panel

Build Status Coverage Status Code Climate Dependency Status Inline docs

OpenFlow controller that emulates a software patch panel.

Prerequisites

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

Install

$ git clone https://github.com/trema/patch_panel.git
$ cd patch_panel
$ bundle install

Play

% bundle exec trema run lib/patch_panel.rb -c trema.conf

Configuration

When patch_panel.rb starts up, it will search for its configuration file named patch_panel.conf in the current working directory. If you want to specify a path to a configuration file, pass it to patch_panel.rb as its argument:

% bundle exec trema run lib/patch_panel.rb -c trema.conf -- foobar.conf

A configuration file contains patching information. Each line has a pair of port numbers like so:

1 2
3 4

The first line means that switch port #1 is connected to port #2.

About

patch-panel-ginyo created by GitHub Classroom

Resources

License

Contributing

Stars

0 stars

Watchers

2 watching

Forks

Packages

 
 
 

Contributors