向OpenDaylight应用程序添加功能的过程 [英] Procedure to add features to OpenDaylight application
问题描述
这是我的问题的反面安装自定义功能或模块在Opendaylight中?.我希望使用
This is an inverse of my question Install a custom feature or module in Opendaylight?. I am looking to take the Hello World app and add the ability to do a feature:install
for the following features:
- odl-restconf
- odl-mdsal-apidocs
- odl-openflowplugin-flow-services
- odl-openflowplugin-app-table-miss-enforcer
- odl-openflowplugin-nxm-extensions
- odl-restconf-all
- odl-openflowplugin-flow-services
我认为归结为在许多pom文件之一中正确列出了这些功能.
I assume it comes down to listing these features properly in one of the many pom files.
For the record, currently we run the ODL 0.12.1 by downloading the .tar.gz from ODL's nexus server, shell into karaf, and run the feature:install
command against all the above features and I am able to do the install.
我也希望能够为所有这些功能运行相同的feature:install
,但是在Hello World示例中,karaf找不到这些功能.
I'd like to be able to run that same feature:install
for all those features as well, but in the Hello World example, karaf can't find those features.
还有一些类似的问题(例如如何向OpenDayLight Karaf中添加新功能?),但是答案不够明确,对于Karaf来说似乎是通用的.例如,答案似乎与修改org.ops4j.pax.url.mvn.repositories
的值有关,但是当我查看 ODL 0.12.1集成/分发存储库,我完全看不到使用该值.
There are some similar questions out there (such as this How to add new features to OpenDayLight Karaf?) however the answers weren't specific enough and seem generic to Karaf. For example, the answer there seems to be about modifying the values of org.ops4j.pax.url.mvn.repositories
however when I look at the ODL 0.12.1 integration/distribution repo, I do not see this value being used at all.
推荐答案
我认为您正在寻找的是 etc/org.apache.karaf.features.cfg文件.
I think what you are looking for is the featuresBoot config in the etc/org.apache.karaf.features.cfg file.
这篇关于向OpenDaylight应用程序添加功能的过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!