This directory includes an OpenFlow controller that controls a single OpenFlow switch and emulates a layer 2 switch. # How to run (C version) % ./trema run ./objects/examples/learning_switch/learning_switch -c ./src/examples/learning_switch/learning_switch.conf # How to run (Ruby version) % ./trema run ./src/examples/learning_switch/learning-switch.rb -c ./src/examples/learning_switch/learning_switch.conf Enjoy!