phut

Build Status Code Climate Dependency Status Gitter chat

Virtual network in seconds

Install

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

Play

With Phut network DSL, you can describe the network topology in which your OpenFlow controller is executed.

# phut.conf
# One virtual switch + two virtual hosts.
vswitch { dpid 0xabc }
vhost 'host1'
vhost 'host2'
link '0xabc', 'host1'
link '0xabc', 'host2'

Then you can pass the network configuration to phut run.

$ bundle exec phut run phut.conf

License

Phut is released under the GNU General Public License version 2.0 or MIT License: