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.
...
- How to extend applications with new services
- How to extend the Karaf-based ONOS CLI with new commands
Conventions
ONOS_ROOT refers to the project root directory for ONOS. For example, if the project directory is ~/onos_next, cd ONOS_ROOT
is equivalent to cd ~/onos_next
.
We also assume that the you have a Mininet installation, as we will be testing our work against it.
Offering services to other modules
...
The CLI commands are defined in the project directory onosONOS_nextROOT/cli/. There are two types of commands, with their source files located in the following locations:
...
Code Block | ||
---|---|---|
| ||
$ cd $ONOSONOS_ROOT $ mvn clean install $ karaf clean |
...