This version of ONOS has diverged from the upstream version. This is due to compatibility issues related to loxigen that had to be adressed to use ONOS for SDWN during Google Summer of Code 2017. We are working on resolving them to merge with upstream ONOS.
To build this modified ONOS, you first have to install the necesary OpenFlow library in your local maven repository. You can find it here along with installation instructions. In order to build ONOS, you will need buck.
- clone this repository
- Navigate to the onos source root directory:
cd sdwn-onos
- Set environment variables:
ONOS_ROOT=$(pwd); export ONOS_ROOT; source ${ONOS_ROOT}/tools/dev/bash_profile
- Compile ONOS:
onos-buck build onos
Run onos-buck run onos-local -- clean
to start an ONOS instance locally. If you want to install and run the SDWN controller, please refer to the instructions here.
The ONOS Wiki has instructions on how to package, deploy and run ONOS on a remote machine. Find them here.