Http://www.sdnap.com/wp-content/uploads/2014/04/Opendaylight Learning and Development Beginner's tutorial Bupt-Tian Yi. pdf
http://blog.csdn.net/charshaw/article/details/23205611
Opendaylight Environment Construction (recommended)
A brief description of how to build a openflow environment without openflow hardware devices. Controller using Opendaylight (hereinafter abbreviated as ODL), is now the mainstream controller project, the function is more perfect. Analog OpenFlow devices use Mininet, which is far more efficient, concise, and easier to understand than KVM-based virtual machine applications. 1 Environment Preparation
The main simplest environment preparation is: a PC and the installation of a VMware station (or VirtualBox) workstation to host the VMS. 2 ODL get the installation
You can download Odl VM images directly from the address link:
Http://archive.openflow.org/wk/index.php?title=OpenDayLight_Tutorial, after downloading this image, you can open this VM directly with VMware Station and use and start ODL. To find out more about the installation details of ODL, you can search the documentation for ODL and update the ODL specific installation in the technical documentation.
After you open the VM, go to the Opendaylight directory:
1 |
CD Opendaylight/opendaylight/distribution/opendaylight/ |
Then enter the Opendaylight startup directory:
1 |
CD target/distribution. Opendaylight-package/opendaylight |
Perform:
Entering http://[vm_ip]:8080 in the browser (VM environment or on-premises environment) can go to the following login interface where [VM_IP] is replaced with the controller IP. Login user name: admin, Password: admin, login into ODL Web interface to view and can operate on ODL.
3 mininet Get the installation
The mininet is primarily a virtual out-of-openflow switch and host node, and can be customized to construct the topology that the user wants. Virtual OpenFlow switches are primarily used with open vswitch-based applications.
Download mininet vm image from http://mininet.org/download/, after opening this image, the user name is mininet and the password is mininet. Log in to the mininet virtual machine and you can then create the topology with the MN command. Follow-up will also provide mininet source code compilation installation method. 4 support for OpenFlow Wireshark plug-in installation
It is recommended that Wireshark be installed on ODL VMS because the ODL VM is a desktop version that directly displays the Wireshark packet capture data. Version 1.6 of Wireshark to support OpenFlow, you need to do the following (note: This document configuration only supports version 1.6). 4.1 Download and install OpenFlow
1 2 3 4 |
$ sudo apt-get install Git-core automake M4 pkg-config libtool $ git clone git://OpenFlow. Org/open Flow. Git or git clone git://Gitosis. Stanford. Edu/openflow. Git $ cd OpenFlow $. /BOOT. Sh |
4.2 Installing the Compile command
Executed under the OpenFlow directory