Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


How to get the source code of distributions-base-0.1.1-osgipackage

asked 2014-08-08 16:17:28 -0800

zoqowu gravatar image

Hello, I can get from downloads page. How could I get its source code? I hope to change the code of one of its plugins, which is different from the one in its 0.1.2 version (latest version). Many thanks in advance.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2014-08-14 09:19:28 -0800

Madhu gravatar image

Opendaylight distribution such as happens from a project called integration project. And this integration project's distribution component just pulls in the bundles from various other projects (such as controller, openflowplugin, ovsdb, yangtools etc...). So, in order to answer your question effectively, we need to consider the fact that a single distribution is made of bundles from various other projects and each of it has its own unique GIT repository.

Having said that, unfortunately, there isnt an easy way that i know of to find all of the project source-code in one-go. But, we can get to that info from project-by-project. The easiest way is to identify the release branch pulled during the release phase of building the final In this example, that release branch is :

  1. Controller release branch : controller-bulk-release-prepare-only-2-17
  2. OVSDB release branch : ovsdb-bulk-release-prepare-only-9

... and so on for all the projects involved in that release. The release branch name is currently (and extremely unfortunately) arbitrary and is decided on the jenkins job for each of the project. We need to fix that for Helium release.

If you are Git challenged, You can get this information on branches for each of the project from the Gerrit page. such as :,branches.

Once you identify the exact branch that is used to perform the release for a given project. You can follow the instructions to pull the master branch of any project of interest using this link and then simply do git checkout origin/{relese-branch-name-that-you-identified}

edit flag offensive delete publish link more


Thanks for the more comprehensive answer than my answer

raghu67 ( 2014-08-14 09:45:32 -0800 )edit

@raghu67 Sure. you are welcome.

Madhu ( 2014-08-14 10:01:59 -0800 )edit

Many thanks for helps from both of you. I will try to get some branches with your method.

zoqowu ( 2014-08-22 06:10:05 -0800 )edit

answered 2014-08-12 01:59:00 -0800

Please see,Hacking,andPushingAlltheCodefromthe_CLI

edit flag offensive delete publish link more


This doesn't address the question appropriately. The question was to find out the Source code for a particular distribution.

Madhu ( 2014-08-14 09:04:25 -0800 )edit

But, We don't have separate source code for each distribution, do we? Aren't the steps to get the source code the same irrespective of the distribution you need?

raghu67 ( 2014-08-14 09:37:49 -0800 )edit

The intent of the question was to identify the source code for a release and we do have it based on the branch that we pull during every release for each project. Pulling just the master repo and working on it doesnt correspond to the appropriate release distribution. So, we need to identify the branch which carries the source for a particular distribution. Please refer to my answer.

Madhu ( 2014-08-14 09:42:02 -0800 )edit

answered 2014-08-14 06:51:46 -0800

zoqowu gravatar image

Thanks a lot for the link.

By following the link, I have got the controller project from opendaylight.

When I checked its commits (git log --oneline) and got its commit list: ... 83ce8d8 Added MD-SAL statistics-manager to dependendy in pom.xml 35164fe Merge "Fixed quote issue in flow-types.yang and table-types.yang" cd196a4 Fixed quote issue in flow-types.yang and table-types.yang ...

However, I still do not know with which commit I could check out the source code of "" - the binary code provided by opendaylight at the moment.

Sorry, I am not familiar with git and studying it.

Any suggestion?

edit flag offensive delete publish link more


@zoqowu - You should post this as a comment on @raghu67's answer (and delete this "answer"). Remember that this is a Q&A site, not a forum.

dfarrell07 ( 2014-08-14 08:01:08 -0800 )edit
Login/Signup to Answer


Asked: 2014-08-08 16:17:28 -0800

Seen: 299 times

Last updated: Aug 14 '14