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.
...
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 . So let's start by running the following:
Code Block | ||
---|---|---|
| ||
$ mvn archetype:generate -DarchetypeGroupId=org.fooonosproject -DarchetypeArtifactId=onos-bundle-archetype -DarchetypeVersion=1.2.0-SNAPSHOT -DgroupId=org.foo.app -DartifactId=foo-app -Dversion=1.0.0 |
Alternatively, if you have the ONOS code checked-out and available, you can use the onos-create-app
tool to accomplish the same thing.
...