onos op脚本调用关系

前置条件同ok clean

python版本为2.X

1. onos-package(onos/tools/build/onos-package)

2. onos-assembly.py(onos/tools/package/karaf-assembly)

3. onos-stage-apps(onos/tools/test/bin/onos-stage-apps)

注意事项:

1. 注释掉karaf-assembly项目下pom.xml中的<repository>

2. 如果环境是python 3.x, 在onos-assembly.py中倒数地三行,改为

print(‘Writing to file:’, outputFile)

本质上就加个括号

3. 设置代理,在编译karaf-assembly项目时,会从中央库下依赖文件,计算云中设置openproxy即可。(openproxy已经支持karaf中央仓库)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.