编写ONOS应用
1、指明ONOS API版本
export ONOS_POM_VERSION=2.0.0
2、运行配置文件
source tools/dev/bash_profile
3、确定一系列参数
onos-create-app app org.foo foo-app 1.0-SNAPSHOT org.foo.app
添加参数
-DarchetypeCatalog=internal
加快构建速度
4、编译、安装和激活
cd foo-app
mvn clean install
安装并激活app
onos-app localhost install! target/foo-app-1.0-SNAPSHOT.oar
通过onos控制台查看app
<