Page tree

Versions Compared


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


Code Block
titleCreating a UI Overlay
onos-create-app ui foo-app 1.0.0

Now, as before, we need to build and install our application.  Since we installed it once already, we will use the reinstall command to deploy it:

Code Block
titleRebuild and reinstall the app
mvn clean install
onos-app localhost reinstall target/foo-app-1.0-SNAPSHOT.oar

Using the ONOS command line, restart the application:

Code Block
onos> app activate


The web UI overlay is now active.  To view the new application page that was just created, point your browser to the ONOS GUI at http://localhost:8181/onos/ui/. In the upper left corner of the home page, click the navigation button to activate the drop down navigation menu. At the bottom of the list, you will see an entry for "Sample".  If you select it, you will be sent to a page called "Sample App View" which is a page that was installed by your test application.

Happy coding 

Finally your application is loaded and running withing ONOS. Also, the generation process has generated an entire project which can be loaded into your favourite JAVA editor.