This page describes how to get ONOS. toc
maxLevel | 3 |
---|
ONOS Binaries and VMs
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.
SSH Public Keys
An SSH key should also be uploaded to the ONOS Gerrit server.
Generate a key. Keep the default file name and location. This will generate an id_rsa and id_rsa.pub file in ~/.ssh:
Code Block | ||
---|---|---|
| ||
$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/onosuser/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/onosuser/.ssh/id_rsa.
Your public key has been saved in /home/onosuser/.ssh/id_rsa.pub.
...
$ ls ~/.ssh
id_rsa id_rsa.pub known_hosts |
...
...
Info |
---|
A key must be uploaded per host if checking code out to multiple hosts with git . |
Checking out code
The ONOS source can then be checked out using git
:
Code Block | ||
---|---|---|
| ||
$ git clone ssh://<user>@gerrit.onosproject.org:29418/onos |
This clones the repository to your home directory, under a directory named onos.
Home : User's Guide
Next : Installing and Running ONOS
...