Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
The latest ONOS source can then be checked out cloned using git
:
Code Block | ||
---|---|---|
| ||
$ 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 | ||
---|---|---|
| ||
$ 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
...