向OpenDaylight应用程序添加功能的过程 [英] Procedure to add features to OpenDaylight application

查看:153
本文介绍了向OpenDaylight应用程序添加功能的过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的问题的反面安装自定义功能或模块在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:

  1. odl-restconf
  2. odl-mdsal-apidocs
  3. odl-openflowplugin-flow-services
  4. odl-openflowplugin-app-table-miss-enforcer
  5. odl-openflowplugin-nxm-extensions
  6. odl-restconf-all
  7. 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆