Skip to content

trema/patch_panel

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

Play

./bin/trema run lib/patch_panel.rb -c patch_panel.conf -d

To create a patch between port #1 and #2 of switch 0xabc:

./bin/patch_panel create 0xabc 1 2

To delete the patch:

./bin/patch_panel delete 0xabc 1 2

About

OpenFlow controller that emulates a software patch panel

Resources

License

Stars

Watchers

Forks

Packages

No packages published