OpenFlow controller that emulates a software patch panel.
- Ruby 2.0.0 or higher (RVM).
- Open vSwitch (
apt-get install openvswitch-switch
).
git clone https://github.com/trema/patch_panel.git
cd patch_panel
bundle install --binstubs
./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