Versions Compared

Key

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

...

  • 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
languagetext
$ cd $ONOSONOS_ROOT
$ mvn clean install
$ karaf clean

...