Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

Latest commit

 

History

History
56 lines (39 loc) · 1.4 KB

README.md

File metadata and controls

56 lines (39 loc) · 1.4 KB

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