...
Indigo Virtual Switch (IVS) is a pure OpenFlow virtual switch designed for high performance and minimal administration. It is built on the Indigo platform, which provides a common core for many physical and virtual switches.
Topology
IVS is used only as an edge switch. Zero or more uplink ports may be connected. IVS requires an out-of-band management interface for the OpenFlow control channel. IVS supports flow-based GRE tunnels, and these tunnels must run over interfaces not connected to IVS.
Prerequisites
Ubuntu 11.10
Code Block |
---|
sudo apt-get install libnl3-dev pkg-config python-tz libpcap-dev openvswitch-datapath-dkms
|
Ubuntu 12.04
Code Block |
---|
sudo apt-get install libnl-3-dev libnl-genl-3-dev libnl-route-3-dev pkg-config python-tz libpcap-dev openvswitch-datapath-dkms
|
Get the Code
Directly from GithubDownload most recent release 0.3
Code Block |
---|
git clone --recurse-submodules curl https://github.com/floodlight/ivs/archive/branch-0.3.zip > ivs.git-0.3.zip unzip ivs-0.3.zip |
Download .zip filenightly (unstable)
Code Block |
---|
curl https://github.com/floodlight/ivs/archive/master.zip > ivs-unstable.zip unzip ivs-unstable.zip |
Build and Install
Code Block |
---|
cd ivs make |
...
You'll need an OpenFlow controller to use IVS. We suggest Floodlight, which should work out of the box. Follow your controller's instructions to get it running and note down its IP address.
Kernel Module
The openvswitch kernel module must be loaded:
Code Block |
---|
modprobe openvswitch
|
Run the IVS daemon
You'll need to tell it the IP address of the controller (-c) and the initial set of network interfaces to connect (-i). Here's an example command line:
...