Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: make the development page more self contained

...

Table of Contents
maxLevel3

 


Warning
titleBefore starting
  • Make sure you have read the Abstraction and Definitions section in the Administrator Guide on this wiki
  • ONOS, being an SDN controller authored in Java, can run on a variety of platforms. However, in the interest of focus, the ONOS team engages primarily in testing on Ubuntu server distributions, specifically Ubuntu Server LTS 64-bit. Commands above are related

...

Code Block
languagebash
titleAutomatically
ssh-keygen -t rsa         	        # TBD on the management machine. If an .ssh directory is not present under your user directory, generate new SSH keys.
onos-push-keys $TARGET_MACHINE_IP   # TBD on the management machine for each target machine

...


  • As a proof that everything works, from your management machine you should be able to login into any target machine doing ssh sdn@TARGET_MACHINE_IP and execute sudo echo hello (for example) with no passwords required

...

  • Oracle Java (at least JRE) 1.8 installed. The ONOS installation section, under the Administration Guide, provides examples for Ubuntu about how to do that.
  • curl installed
  • make sure the following ports are open:
    • 8181    for REST API and GUI

    • 8101    to access the ONOS CLI

    • 9876    for intra-cluster communication (communication between target machines)

    • 6653    optional, for OpenFlow

    • 6640    optional, for OVSDB

Mininet target machine

Additionally, the Mininet target machine should have

...

Code Block
languagebash
titlecells command output example
$ cells
beast             # Bare metal cluster (7-node)
beast-1           # Bare metal cluster (1-node)
beast-3           # Bare metal cluster (3-node)
beast-5           # Bare metal cluster (5-node)
demo              # LXC demo environment for oneping tutorial
demo-eu           # For demo with GEANT topology and three ONOS instances using vagrant devmachine
demo-eu-single    # For demo with GEANT topology and three ONOS instances using vagrant devmachine
demo-eu-single-vpls *  # For demo with GEANT topology and three ONOS instances using vagrant devmachine
ec2               # EC2-based cluster (7-node)
i2                # SDN-IP ProxMox cell
i2-centos-single  # SDN-IP ProxMox cell
i2-single         # SDN-IP ProxMox cell
local             # Local VirtualBox-based ONOS instances 1,2 & ONOS mininet box

...


Cell definitions are loaded into the shell environment with the cell utility. This utility takes the name of a cell definition file as the argument. If the command is invoked without parameters, it will just print out the cell in use.

...

Info
titleMore STC scripts

STC scripts can do really much more than this. If you're interested to know more check out this page!

...


Putting everything together: using the test environment

...