Versions Compared

Key

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

...

Let's now generate an ONOS project which will be fully compilable and ready to be deployed. Although, you will still have to code up your application, we haven't yet figured out how to generate code that does exactly what you would like it to do (wink). So let's start by running the following in a directory outside of $ONOS_ROOT:

Code Block
languagetext
mvn archetype:generate -DarchetypeGroupId=org.onosproject -DarchetypeArtifactId=onos-bundle-archetype

...

To allow your application to add to the ONOS web UI, overlay one of the UI interfaces. Navigate in the shell to the directory in which you have already created your app in if you are not already there.

Choose to use either the "Custom View" overlay, like this:

...