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

查看:264
本文介绍了完整的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.

我们已经遵循了

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.

祝你好运!

PS.我看到了您的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天全站免登陆