Ask Your Question
0

If i download Helium, how can i modify source code ?

asked 2014-12-08 04:44:45 -0700

Nuno gravatar image

So i've downloaded the opendaylight controller from gerrit (by doing this git clone ssh://<username>@git.opendaylight.org:29418/controller.git). This is the controller code from Hydrogen or Helium ?</username>

When i download from here ( http://www.opendaylight.org/software/downloads/helium ) i can't find anywhere the source code ? Is it supposed ? Can anyone ask me why and what does karaf do ?

Thanks in advance Nuno

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-12-08 06:12:04 -0700

updated 2014-12-08 06:13:33 -0700

The various releases have their own branches and tags.

[~/controller]$ git branch -a
<snip>
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/stable/helium
  remotes/origin/stable/hydrogen
[~/controller]$ git tag --list
<snip>
release/helium
release/helium-sr1

To access the latest Helium source, checkout the Helium branch with git checkout -b origin/stable/helium. Similarly, for Hydrogen you'd use git checkout -b origin/stable/hydrogen. The latest code, which will eventually become Lithium, is on origin/master. The tags show the state of the code when we cut a release artifact, like Helium (0.2.0) and Helium SR1 (0.2.1). To check out the source as it was when we cut a release, use git checkout -b sr1 release/helium-sr1 (or similar, for a different tag).

The downloads page allows you to pull pre-built releases, which is ideal for standing up ODL but not for hacking on the code.

Karaf allows you to choose which ODL features you'd like to install. Think of it as "roll your own ODL". This contrasts with our attempts in Hydrogen to predict use cases and pre-cut Base, Virtualization and Service Provider editions.

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2014-12-08 04:44:45 -0700

Seen: 845 times

Last updated: Dec 08 '14