Onos network operating system

Source: Internet
Author: User

Finally wait for you! Onos awaited began to come out in everyone's eagerly awaited, and finally waited until December 5! Originally thought that when the release, Beijing time is early morning, unexpectedly is in the 5th number five o'clock in the afternoon more has been released. The following main records use the Onos virtual machine installation process.

1.ONOS Tutorial Installation

In the Onos tutorial virtual machine, has installed the Onos needs the dependent software, may understand a series of distributed network operating system Onos main concept and the function, is familiar with the Onos basic ability operation.

Onos is based on the SDN OpenFlow Environment, beginners are advised to familiarize themselves with the use and knowledge of OpenFlow, mininet, and flowvisor tutorials before they know about SDN, which is helpful for onos use. However, this onos virtual machine can only be started in VirtualBox, which is used for installation under Windows systems.

1.1 Downloads VirtualBox

Download VirtualBox link address is: Http://dlc-cdn.sun.com/virtualbox/4.3.20/VirtualBox-4.3.20-96997-Win.exe, download and click EXE file to install.

1.2 Download Onos virtual machine

Download Onos virtual machine Image: Http://onlab.vicci.org/onos/vm/onos-tutorial-1.0.0-ovf.zip, first unzip the Onos, open VirtualBox, import the extracted onos virtual machine files, confirm the import.

1.3 Using Onos virtual machines

After importing the VM, start the VM with the VirtualBox Start button: After starting the VM, enter the onos-tutorial login screen, type the user name: Tutorial1, Password: tutorial1, log in to the Onos virtual machine: After entering the VM, Directly click on the Onos and Mininet buttons to run the Onos,onos as shown: Click the Mininet button to start an already simulated mininet topology that contains 6 switches and 24 hosts, and the mininet analog switch is connected to Onos. At this point, Onos can be used to view Onos connected devices, links, and so on. Note: If the Onos command is not familiar, you can use the Help Onos to view the command information.

2. Onos command Use 2.1 display Onos device

To display the devices connected to the switch via devices:

<textarea class="crayon-plain print-no" readonly="" data-settings="dblclick" style="margin: 0px; padding-top: 0px; padding-left: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; border-color: rgb(153, 153, 153); overflow: hidden; z-index: 0; opacity: 0; tab-size: 4; line-height: 20px !important;"></textarea>
1 Onos> onos:devices  or  onos> devices

2.2 Viewing links

View links between switches in Onos via links

<textarea class="crayon-plain print-no" readonly="" data-settings="dblclick" style="margin: 0px; padding-top: 0px; padding-left: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; border-color: rgb(153, 153, 153); overflow: hidden; z-index: 0; opacity: 0; tab-size: 4; line-height: 20px !important;"></textarea>
1 Onos> onos:links  or  onos> links

2.3 Viewing host information

Viewing host information through hosts:

<textarea class="crayon-plain print-no" readonly="" data-settings="dblclick" style="margin: 0px; padding-top: 0px; padding-left: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; border-color: rgb(153, 153, 153); overflow: hidden; z-index: 0; opacity: 0; tab-size: 4; line-height: 20px !important;"></textarea>
1 onos> hosts

However, it has been verified that there is no communication between the emulated hosts because the data forwarding module has not yet been loaded, as shown by the list to see that the module loaded by default does not have a forwarding module.

2.4 Load forward Forwarding module

Load the Forwarding module:

<textarea class="crayon-plain print-no" readonly="" data-settings="dblclick" style="margin: 0px; padding-top: 0px; padding-left: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; border-color: rgb(153, 153, 153); overflow: hidden; z-index: 0; opacity: 0; tab-size: 4; line-height: 20px !important;"></textarea>
1 onos> feature:install onos< Span class= "Crayon-o" style= "margin:0px; padding:0px; line-height:1.8 ">-app-FWD

After the forwarding module is loaded, ping again, the host can ping through, such as: When loading a module, you can also stop or restart the use of this module, such as:

<textarea class="crayon-plain print-no" readonly="" data-settings="dblclick" style="margin: 0px; padding-top: 0px; padding-left: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; border-color: rgb(153, 153, 153); overflow: hidden; z-index: 0; opacity: 0; tab-size: 4; line-height: 20px !important;"></textarea>
1 onos> stop onos-app-fwd  #停止后, verify that the host cannot communicate with each other.

Or

<textarea class="crayon-plain print-no" readonly="" data-settings="dblclick" style="margin: 0px; padding-top: 0px; padding-left: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; border-color: rgb(153, 153, 153); overflow: hidden; z-index: 0; opacity: 0; tab-size: 4; line-height: 20px !important;"></textarea>
1 onos> start onos-app-fwd  #重启后, the host can communicate again.

2.5 views flows

After the host communicates, you can see flows, such as H12 Ping h15, that shows the stream:

<textarea class="crayon-plain print-no" readonly="" data-settings="dblclick" style="margin: 0px; padding-top: 0px; padding-left: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; border-color: rgb(153, 153, 153); overflow: hidden; z-index: 0; opacity: 0; tab-size: 4; line-height: 20px !important;"></textarea>
1 onos> flows

Flows displays a variety of displays, which can display all streams, or only manually added streams, or only manually deleted streams. Flows added: Indicates that the stream has been added to the switch, flows pending_add: Represents the stream sent to the switch via Onos, flows pending_remove: Deletes the stream sent to the switch via Onos; removed: The stream has been deleted.

2.6 Viewing the Running module

To view the currently running program for Onos:

<textarea class="crayon-plain print-no" readonly="" data-settings="dblclick" style="margin: 0px; padding-top: 0px; padding-left: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; border-color: rgb(153, 153, 153); overflow: hidden; z-index: 0; opacity: 0; tab-size: 4; line-height: 20px !important;"></textarea>
onos> apps

Paths can show the path between any two devices, if more than one path can be reached, the input paths will display multiple paths: Note: You can navigate through the intends command to be stored in the system.

2.7 Installing the Onos GUI

Install Onos GUI interface by command to access Onos:

<textarea class="crayon-plain print-no" readonly="" style="margin:0px; padding-top:0px; padding-left:0px; font-family:Verdana,Arial,Helvetica,sans-serif; border-color:rgb(153,153,153); overflow:hidden; z-index:0; line-height:20px!important"></textarea>
1 onos> feature:install onos-gui

Viewing the Web interface, many of the features on the Http://localhost:8181/ui/index.html:ONOS interface are hidden, and you can use the "/" shortcut keys to display the hidden shortcut functions.

after the language: Small series in the use of Onos, feel onos is still very useful! Whether in the description, or in the installation function, or in the Web interface use, are simple, easy to understand, and easy to operate, and the use of Web GUI shortcut keys, like Treasure hunt, very interesting and very convenient. Because of Onos is very looking forward to, plus weekend, at home no specific equipment environment, just experience the use of Onos virtual machine tutorial, use is very convenient. Looking forward to subsequent use, Onos is applied to more scenarios, unlike Opendaylight, which makes people feel complicated and difficult to operate.

Onos network operating system

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.