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

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

问题描述

这与我的问题相反 安装自定义功能或模块在开放日光下?.我希望采用 Hello World 应用程序 并添加为以下功能执行 feature:install 的能力:

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.

为了记录,目前我们运行 ODL 0.12.1 通过从 ODL 的 nexus 服务器下载 .tar.gz、shell 到 karaf,然后针对上述所有功能运行 feature:install 命令,我能够进行安装.

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.

有一些类似的问题(例如这个 How to向 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.

推荐答案

我认为您正在寻找的是 featuresBoot 配置中的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天全站免登陆