Opendaynight (KARAF) and mininet test OpenFlow

Source: Internet
Author: User

===================================================================================================

Install Mininet Method 1:
1) Install Git first
sudo apt-get update
sudo apt-get install git

2) access to Mininet source code
git clone git://github.com/mininet/mininet

3) Open the Mininet folder and select one of the versions to install
CD mininet
git tag #查看可用版本
git checkout-b 2.2.1 2.2.1# Select a version

4) Start the installation
CD util #进入mininet里的util文件夹
Install.sh-a #安装在home目录
Install.sh-s mydir-a #mydir目录
INSTALL.SH-NFV #安装mininet + user Switch +openvswitch
Install.sh-s MYDIR-NFV//user this one

5) Testing
sudo mn--test Pingall


===================================================================================================

Install Mininet Method 2:

1) Download virtual machine in Https://github.com/mininet/mininet/wiki/Mininet-VM-Images

2) Import with Virtual box

3) login user name password: mininet

4) Testing
sudo mn--test Pingall

===================================================================================================

1) Download the Karaf and unzip

Https://www.opendaylight.org/technical-community/getting-started-for-developers/downloads-and-documentation

2) Set Java_home

• At the end of the profile file, add:
Export java_home=/usr/share/jdk1.6.0_14
Export path= $JAVA _home/bin: $PATH
Export classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar
Need to sign in again.

3)./bin/karaf

4) View the currently installed feature

Feature:list-i

5) Install the necessary feature

6) Open Web page

Http://yourip:8181/index.html

===================================================================================================

Opendaynight (KARAF) and mininet test OpenFlow

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.