![]() |
ViewsOpenFlowVMSFrom OpenFlow Wiki
31 Dec 2009: Image to support OpenFlow 1.0 posted. OpenFlowVMS is OpenFlow 1.0 compatible 18 Nov 2009: Support OpenFlow userspace reference implementation 14 Oct 2009: Gitweb access! 4 Sept 2009: OpenFlowVMS repository has been shifted to openflowswitch.org/openflow-vms.git Simulating OpenFlow Network(s)When developing applications using OpenFlow, a small network of OpenFlow switches is often needed for testing and debugging. Using a simulated network for such development would be ideal, allowing more people to develop efficiently at their own pace. The OpenFlow Virtual Machine Simulation (OpenFlowVMS) package is developed to create that virtual simulated network in your very own desktop/laptop. OpenFlowVMS is a set of Python scripts that create that virtual simulated network automatically, letting developers concentrate on their real tasks and not fight the details of setting up a testbed. Setup and InstallationYou will need a Linux system. If you have Windows or Mac, you can use a virtual machine. People have successfully used VMWare and VirtualBox. With the Linux system, we start by installing the dependencies. In Debian, run the following commands sudo apt-get install vde2 graphviz gv qemu genisoimage psmisc debootstrap git git-core \
screen xterm python2.5 python-xml
We now get OpenFlowVMS using git with git clone git://openflowswitch.org/openflow-vms.git openflowvms If you are sadly behind a firewall, try gitweb. More instructions for Git is available at the git page. Finally, make sure that
Next, create the working directory for yourself. It should look something like this, where the blue colored names are files. <working directory>
|- openflow.cd
|- ofprotocol
|- dpctl
|- ofdatapath.ko(kernel datapath)
|- ofdatapath (user datapath)
|- kernel.bin
|- hda.dsk
You will need either the kernel or the user datapath. You are now just steps away from your own OpenFlow network(s). HowtoAll code in OpenFlowVMS has in-code documentation. Being coded in Python, pydoc will works just fine. To view the pydoc documentation, run pydoc -p 8888 and open http://localhost:8888 in your local browser. Further, command line interfaces (all of which are named "vms-xxx") has the "-h/--help" option working, so a quick reference of what to do is always available. Finally, we have the following howtos to make it even easier.
For further enquiries, requests and/or bug reports, please post them to openflow-discuss@lists.stanford.edu, starting the subject line with OpenFlowVMS:. If you would like to correct my mistakes, make this better, add a new feature, etc., don't be shy and please contact KK. We would add you as a collaborator. To Do'sThis is a list of todo's in my mind that was be great, but I have not get to it. Anyone who is willing to get to them before me have my thanks.
AcknowledgmentsOpenFlowVMS is possible with thanks to the following people/organizations.
|
Quick NavigationOpenFlow White PaperOpenFlow Demo Video![]() Watch the Demo that received the best demo award at SIGCOMM 2008. About OpenFlow OpenFlow is supported bythe Stanford Clean Slate Program. Wiki ToolsPersonal toolsProjects |