Fun Facts about the name Onohi. How unique is the name Onohi? Out of 6,122,890 records in the U.S. Social Security Administration public data, the first name Onohi was not present. It is possible the name you are searching has less than five occurrences per year. Weird things about the name Onohi: The name spelled backwards is Ihono. The Happy Mac icon was the normal bootup screen of the Macintosh, it was also used on floppy disks of System softwares. The Mac OS logo and rebranding marks it's debut on version 7.5.1. Released on March 23, 1995. This logo was used for the Mac OS X v10.0, code-named 'Cheetah', and v10.1, code-named 'Puma'. These versions were preceded by the Mac OS X Public Beta, code-named 'Kodiak'. If you have come across Installing and Running ONOS, you'll notice that there are several ways to install and run ONOS. This tutorial focuses on showing you one of several useful deployment methods - ONOS packaged from source, and deployed in an Ubuntu VirtualBox VM using Windows, Linux or Mac OS X as an operation system on your computer. A 'ta rai rapto C i n u r do de l Mdra Intr fes os 1m t u no r Crr ol dado ataar-cerCusa reos do e ld sbtoM 1 A aD dlo E UtadA os cri l rr n di ay e ogro.1 po u m o Rdo g la 0151.1110 -l O S egund: L1 P r p a-rtotr n cf r o I C so s.u o a oig s o trn.lA 5 p dr m r C na aunInI U C log i do A OO perteci nte P or m p o te.

Skip to end of metadataGo to start of metadata

Contents of this page are obsolete. Please refer to Getting Started with ONOS screencast and Building ONOS instead.

Overview

If you have come across Installing and Running ONOS, you'll notice that there are several ways to install and run ONOS. This tutorial focuses on showing you one of several useful deployment methods - ONOS packaged from source, and deployed in an Ubuntu VirtualBox VM using Windows, Linux or Mac OS X as an operation system on your computer.

By completing this tutorial, in addition to learning how to create your ONOS lab environment you will understand how to:

  • Use cell definitions to configure the ONOS build environment to customize the ONOS package
  • Configure which modules the ONOS binary loads by default
  • Install ONOS on a VM using the onos-install utility
  • Access the CLI and monitor ONOS remotely

Conventions

Commands at the shell of the ONOS VM begin with $ (or sdn@onos-scratch:~$)

Onohi Mac Os 11

The commands at the build machine shell begin with build:~$: (or sdn@build:~$)

1. Prerequisites and Setup for the Tutorial

You need a build machine for packaging ONOS and for running your Ubuntu Server ONOS VM. The build machine should be running a UNIX-like OS. In this tutorial you will create a build VM in VirtualBox named Build that is running Ubuntu 14.04, 64-bit Desktop.

You can create the two virtual machines using the virtualization software of your choice, but in this case we use VirtualBox. This tutorial assumes you are using VirtualBox (free open source virtualiztion software).

Setup needed:

  • Install Oracle VirtualBox virtualization software
  • Create a Virtual Machine 1 – onos-scratch VM - Ubuntu Server 14.04 TLS 64 bit
  • Create a Virtual Machine 2 – Build VM running Ubuntu 14.04 TLS 64 bit desktop

1. Install and prepare VirtualBox

This link will guide you through installing VirtualBox if you do not have it installed: http://www.wikihow.com/Install-Ubuntu-on-VirtualBox

Add Host-only Networks vboxnet0 adapter in VirtualBox if it doesn’t have it:

Go to VirtualBox Preferences > Network, select Host-only Networks tab, and:

  • click the green symbol with the + sign on the right to add host-only network
  • click the blue tool icon on the right to edit host-only network and verify that dhcp is enabled.

2. Prepare the Build VM and ONOS VM

Create onos-scratch VM

Onohi Mac OS
  • Download Ubuntu Server 14.04 LTS 64-bit from Ubuntu.com
  • Create an Ubuntu onos-scratch VM in VirtualBox using this image, with the following settings:
    • 2GB RAM
    • 2 processors
    • At least 5GB disk space
    • Two network interfaces, Adapter 1 attached to NAT, and Adapter 2 attached to host-only Adapter set to vboxnet0. Configure both to use DHCP.
    • This tutorial calls the VM onos-scratch.
  • In VirtualBox:
  1. Select New
  2. Name: onos-scratch, type: Linux
  3. Hard disk: Create a virtual hard disk now; select the default VDI for disk type; dynamically allocated
  4. Add the second processor:
  • Install Ubuntu

    • When the VM is created, attach the downloaded Ubuntu 14.04 LTS 64-bit ISO file to it: go to VM’s settings and click the “Storage” tab, add optical drive to the Controller: IDE by clicking the CD/DVD icon with the green plus sign.
    • Browse to the downloaded ISO file:
    • Click on the System tab. Choose boot order and keep CD/DVD on the top as first priority.

    • Add the 2nd Network Adapter and attach it to Host-only Adapter:
    • Start the onos-scratch VM and install Ubuntu.
      More help here: http://www.wikihow.com/Install-Ubuntu-on-VirtualBox
      During the Ubuntu installation:
      • create a user named sdn, with password rocks, and confirm that you want to use this password. This will be the primary account used for this tutorial.
      • when prompted to encrypt the disk, select No
      • For partitioning the disk, select Guided - use entire disk and follow with the defaults provided.
      • For configuring proxy information, follow what best suits your environment.
      • when prompted to install additional software (Software Install) choose OpenSSH server.

Once the onos-scratch VM starts up:

Log into your new VM as sdn and give the user passwordless sudo privileges. Run sudo visudo, and add the following line to the end of the file:

Then, update the package repository:

You should also be able to verify that it has two network interfaces, eth0, eth1 and lo:

If eth1 doesn't have UP as an attribute, manually run DHCP client (this should also bring the interface up):

Or manually assign IP and bring the interface up:

Onohi Mac Os Catalina

Create a build VM

  • Download Ubuntu 14.04 LTS 64-bit desktop from Ubuntu.com
  • Create a new VM. In VirtualBox:
    • Name: build, type: Linux:
      • Select 2GB of RAM
      • Hard disk: take the defaults: 8 GB and Create a virtual hard disk now
      • Hard disk file type: VDI
      • Storage on physical hard disk: Dynamically allocated
      • File location and size: type 'build' for the name - select at least 10 GB for the size of the virtual hard disk for the build VM
    • Click on settings for the build VM:
      • Storage: Controller IDE – click on the disk with a + sign symbol to add an optical drive. Choose disk: browse to the location of the downloaded iso file.
      • Add a 2nd network adapter for host-only network (see the screenshot in the section for Creating onos-scratch VM.)
      • System: Motherboard tab – uncheck floppy, move optical to the top in the Boot Order box.
    • Install Ubuntu (use the same credentials as for the first Ubuntu VM). When the installation completes, power the VM on and login.
  • Generate a SSH public key on your build machine if you hadn't done so in the past.
    Login to the build machine and run the following command:

    The default options and no password are fine for this tutorial.

  • Verify connectivity. From the build machine you should be able to SSH to the onos-scratch VM using the IP address assigned to eth1:

    If the ssh connection failed make sure that the openssh-server is installed by running:

    Check that you can ping the onos-scratch VM by IP from the build machine and reverse, for example:

    Close the ssh connection to the onos-scratch VM by typing exit.

2. Install required software

On the build machine


Install Git:

Install Karaf, Maven:

Create two directories called ~/Downloads and ~/Applications. Download the Karaf 3.0.5 and Maven 3.3.9 binaries (the tar.gz versions of both) into ~/Downloads and extract it to ~/Applications. Keep the tar archives in ~/Downloads; we'll need that later.

Next, install Oracle Java 8:

It will ask you to acknowledge the license; do so when prompted.
The second step above may prompt for the installation of python-software-properties. If prompted, do so.

Clone the ONOS source:

Now let’s copy a repository into a new onos directory under the home directory on the build machine.

navigate to the home directory by issuing this command:

This will create a directory called onos, with the source code in it.


On the onos-scratch VM

The VM only requires Java 8 - follow the instructions for Java 8 above performed on the build VM.

3. Set up your build environment

Environment variables

First off, you will need to export several environment variables. The ONOS source comes with a sample bash_profile that can set these variables for you.

This file can be sourced from the interactive portion of .bashrc, or .bash_aliases (or .profile if /bin/sh is bash) of user sdn, by adding the following line to it at the end:

Warning: technically any bash-specific code should not go in .profile. If you have a Debian-based system (e.g. Raspbian) where .profile may be executed by a shell that is not bash (e.g. /bin/sh is dash or some other POSIX-like shell), make sure you put the above line in .bash_aliases or the interactive portion of .bashrc rather than .profile to avoid problems (such as startx not working on Raspbian.)

Here is how:

On the build VM, Edit the .bashrc file (by typing the command below)

Add the line below at the end of the file:

Press Ctrl-X to exit and Yes to save changes.

Once the line is added, source the file you just modified (or just log out and log back in): or run this command:

Once you run the above command, you will see in the output of the env command that several new variables, such as ONOS_ROOT, OCI, and KARAF_ROOT, have been set.

Using a different user name or group

Make sure you also setup ONOS_USER If you used a user name other than 'sdn' during the Ubuntu installation. You can also customize the ONOS_GROUP (typically, the user name and group name will be identical.)

Building ONOS

Edit ~/Applications/apache-karaf-3.0.5/etc/org.apache.karaf.features.cfg file by appending the following line to featuresRepositories:

locate the featuresRepositories and append this line (will need a comma before appending the text to separate from the previous value)

Mac

Save and close the file. Now we are ready to build ONOS with Maven:

Now we are ready to start customizing, creating, and installing ONOS packages.

If previous version of ONOS is running, the service should be stopped (sudo service onos stop) before building with mvn. Otherwise, the test on onlab.nio package would fail with 'address already in use' error.

4. Create a custom cell definition

A quick intro to cells

Under ONOS terminology, a cell is a collection of environment variables that are used:

  • by the utility scripts included with ONOS, including the ones that we are about to talk about
  • for telling the packaging process how we want to customize our ONOS package

Cells make it easy to use the utility scripts to package, configure, install, and run ONOS. Here we will create an ONOS package that, when installed and launched, starts up a single-instance (non-clustering) ONOS instance that uses the intent-based forwarding application.

Create a cell definition file

A cell is defined in a cell definition file. We will create the following cell definition file called tutorial in ${ONOS_ROOT}/tools/test/cells/ :

Note that:

  • OC1 and OCI are set to the address of eth1 in our VM (onos-scratch VM)
  • ONOS_APPS indicates the ONOS applications we want to activate, including OpenFlow protocol, reactive forwarding (fwd), proxy ARP, and mobility.

Applying a cell

This cell can be applied to your build environment with the cell command:

Now any ONOS package you will build will take up the ONOS_APPS setting. Additionally, if you need to create packages with other configurations (i.e. different applications or install targets), all you need to do is to apply a different cell definition to your environment before package creation and deployment.

If you want to work with multiple terminals on the build machine, you should apply the cell to each new terminal you have, if you want the onos-* scripts (from the Create and Deploy the package sections below) to work from all of them.

You can also use the vicell utility to create and edit your cell file. For example, to create a new cell file:

the above command opens a new file named 'mycell' in ${ONOS_ROOT}/tools/test/cells/ either in the editor specified by the EDITOR env variable, or vi otherwise. When you exit out of the editor, the cell is automatically created and then applied to your session.

Onohi Mac Os X

See vicell -h for the list of options.

5. Package and deploy ONOS

Passwordless VM access

For convenience, before we can deploy anything to our VM, we will configure paswordless login to the VM from our build machine with onos-push-keys:

Older versions of the utility will ask you to authenticate multiple times; newer versions will require you to enter the password just once.

This tutorial deals with only 1 VM, but if you want to create a cluster of ONOS, cloning the 1st VM, onos-patch-vm script can be used to set the hostname, etc. to the cloned VM.

Creating the package

To create an ONOS binary, run onos-package (or op, for short):

This creates a tar archive in /tmp .

Deploying the package

We can now deploy it to our VM:

Once onos-install returns with the last message in the code block above, we can try logging on from our build machine:

We are now actually logged into the ONOS CLI of the instance that we have deployed on the VM.

Use apps to list all installed applications. The one with asterisk sign indicates that it is activated (running).

Note that there will be many more modules than you have configured - these are part of the ONOS OpenFlow and core components. Refer to Appendix C : Source Tree Organization to see descriptions of the modules.

You can log out (detach) from the CLI with logout, or Ctrl-D.

The argument $OC1 can be replaced with $OCI, or even omitted; when omitted, the scripts will fall back to using the value stored in OCI.

Deploy on Mac OS X

On Ubuntu, onos-install uses the upstart/initctl system to start and stop onos semi-automatically.

OS X manages daemons using launchd/launchctl, which onos-install doesn't currently support, so we need to specify 'nostart' (-n):

and start ONOS manually using

What’s next?

  • Now that you've got the basics of a development environment, try a hand at creating an application in the Template Application Tutorial.
  • Learn more about the installation process in Installing and Running ONOS.
  • Learn more about cells in Test Environment Setup.


Download Ono for PC free at BrowserCam. Silent Monk Games. built Ono game to work with Android OS plus iOS nevertheless, you may also install Ono on PC or computer. There exist's couple of worthwhile guidelines listed below that you must carry out before you begin to download Ono PC.

How to Download Ono for PC or MAC:

  • Begin with downloading BlueStacks App player to your PC.
  • If the download process is finished open up the file to begin the installation process.
  • Go on with the simple installation steps just by clicking on 'Next' for a few times.
  • Once you see 'Install' on the monitor screen, click on it to begin with the final install process and click on 'Finish' immediately after it is finally ended.
  • Next, either via the windows start menu or alternatively desktop shortcut start BlueStacks App Player.
  • Link a Google account by just signing in, that will take few minutes.
  • Well done! You are able to install Ono for PC using BlueStacks Android emulator either by searching for Ono game in google play store page or through apk file.It's time to install Ono for PC by visiting the google playstore page once you successfully installed BlueStacks software on your computer.