完整 OpenDaylight 集成分发包的源代码 [英] Source code of the full OpenDaylight Integration Distribution Bundle

查看:26
本文介绍了完整 OpenDaylight 集成分发包的源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的团队正在使用 OpenDaylight 0.11.0 作为 SDN 控制器的基础.我想知道 .tar.gz 是如何构建的?

My team is using OpenDaylight 0.11.0 as the basis for a SDN controller. I am wondering how that .tar.gz is built?

即,github 上是否有一个基础项目和一个创建 .tar.gz 文件的 maven 命令?

I.e., is there a base project on github and a maven command that creates that .tar.gz file?

我发现了许多不同的 opendaylight 相关模块、功能和代码库,我根本找不到构建上述 tar.gz 的完整源代码.我认为它是许多不同 opendaylight 模块的组合,但我确信有一个父项目将它们捆绑在一起.

I am finding so many different opendaylight related modules, features and code bases that I simply can't find the full source code from which the above noted tar.gz is built from. I am thinking it is a combination of many different opendaylight modules, however I am sure there is a parent project that bundles them all together.

我的最终目标是为我们的团队构建一个可以在 ODL 0.11.0 的 karaf 控制台中feature:installed 的自定义功能.

My end goal is to build a custom feature for our team that can be feature:installed in ODL 0.11.0's karaf console.

我们已经按照 此处的开发指南,但是该基础项目不包含顶部链接的 ODL 0.11.0 上可用的许多功能.即,当您构建该示例项目时,它没有与上面链接的 ODL 0.11.0 tar.gz 具有相同的功能集.

We have already followed the dev guide here, however that base project doesn't contain many of the features available on the ODL 0.11.0 linked at the top. I.e., when you build out that sample project, it doesn't come with the same set of features as the ODL 0.11.0 tar.gz linked above.

推荐答案

是的,ODL 作为一个整体只是由一堆更小、更具体、项目.这是一种可视化的方法.所以你可以克隆一个那些做你想做的事情的项目,(例如,netconf)和构建(mvn全新安装).这将构建 netconf 并引入所有它所依赖的一切的神器.最后你会得到你想要的东西可以运行 (netconf/karaf/target/assembly/bin/karaf) 然后安装一些netconf 功能.

yes, ODL as a whole is just comprised of a bunch of smaller, more specific, projects. Here is a way to visualize it. So you could just clone one of those projects that does something you want, (e.g., netconf) and build that (mvn clean install). That would build netconf and pull in all the artifacts of everything it depends on. At the end you would get something you could run (netconf/karaf/target/assembly/bin/karaf) and then install some netconf features.

如果你想要完整的东西,就像你通过去下载页面找到的那样,然后你可以克隆我们的集成/分发仓库.那会拉在所有这些项目的工件中,您可以安装 netvirt和 bgpcep 功能,例如.该构建将导致 .tar.gz您所指的文件.

If you want the whole thing, like you'd find by going to the downloads page, then you can clone our integration/distribution repo. That will pull in the artifacts for all of those projects and you could install netvirt and bgpcep features for example. That build would result in the .tar.gz file you are referring to.

所以,最后如果你想创建一些你可以构建的新项目那个地方.然后,您必须更新集成/分发项目来拉入你的新项目(可能只是按照它正在为其他项目这样做),然后构建它.如果一切顺利,你会获得包括新功能在内的所有功能的完整发行版.

So, in the end if you want to create some new project you could build that locally. Then, you would have to update the integration/distribution project to pull in your new project (probably could just follow how it's doing it for other projects), then build it. If all goes well, you'd get the full distribution with all the features including the new one.

祝你好运!

附注.我看到了你的 IRC 消息,但在我注意到的时候你已经注销了.您还可以通过我们的电子邮件列表寻求帮助.

PS. I saw your IRC message, but you had logged out by the time I noticed. You can also ask for help via our email lists.

这篇关于完整 OpenDaylight 集成分发包的源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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