otahi / phut

Virtual network in seconds

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

phut

Build Status Code Climate Coverage Status 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

About

Virtual network in seconds

License:GNU General Public License v2.0


Languages

Language:Ruby 83.1%Language:Gherkin 16.9%