Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The ONOS binaries, as well as VMs pre-installed with ONOS are available from Downloads

ONOS Source Code

The ONOS source code may be downloaded using git. git is available via various package managers.

Checking out code

The latest ONOS source can then be cloned using git:

Code Block
languagetext
$ git clone https://gerrit.onosproject.org/onos

This clones the repository to your home directory, under a directory named onos.

Updating an existing repository

If you have already cloned an earlier version of the repository, you can update it using the following git commands:

Code Block
$ cd onos
$ git checkout master             # checks out 'master' as the working branch
$ git pull --rebase origin master # pulls the latest code from Gerrit, and rebases any local changes onto origin/master

In order to checkout the stable, release version of ONOS, do the following once you cloned the repository:

Code Block
languagetext
$ cd onos
$ git checkout 1.1.0    # checks out the official release tag
# --- or ---
$ git checkout onos-1.1 # checks out the Blackbird maintenance branch

Maven Artifacts

The artifacts have been pushed to Maven Central Repository

You can directly add artifacts to your pom.xml file. Here is an example of how to pull in the onos api:

Code Block
<dependency>
    <groupId>org.onosproject</groupId>
    <artifactId>onos-api</artifactId>
    <version>1.1.0</version>
</dependency>

 

 

...

Previous : Welcome to ONOS !
Next : Installing and Running ONOS

...