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

0

How to get source code?

asked 2015-10-06 04:41:38 -0800

g_trelos gravatar image

Hi there, I want to 'do things' on the opendaylight controller itself. How can I get the source code of the hole project? I am new to this. :)

Thank you.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-10-07 01:54:34 -0800

Follow the wiki page: https://wiki.opendaylight.org/view/GettingStarted:Pulling , Hacking,andPushingAlltheCodefromthe_CLI

edit flag offensive delete publish link more

Comments

Thank you!

g_trelos ( 2015-10-07 02:15:12 -0800 )edit
0

answered 2015-10-06 05:59:46 -0800

pbraun gravatar image
$ cat repos.sh 
export ODLREPOS=(aaa aalldp affinity alto autorelease bgpcep builder capwap controller coretutorials defense4all didm discovery dlux docs groupbasedpolicy integration iotdm l2switch lacp lispflowmapping mdsal nemo netconf net-virt-platform neutron nic odlparent opendove openflowjava openflowplugin opflex ovsdb packetcable persistence plugin2oc reservation sdninterfaceapp sfc snbi snmp snmp4sdn sxp tcpmd5 toolkit topoprocessing tsdr ttp usc vpnservice vtn yangtools faas yang-push)

$ cat mass-clone.sh 
#!/bin/bash
source repos.sh
for i in ${ODLREPOS[*]}; do
  echo "----> Cloning repository '$i'"
  git clone https://git.opendaylight.org/gerrit/$i
done

$ cat mass-git.sh 
#!/bin/bash
source repos.sh

RELATIVE_PATH=`dirname $0`
cd `readlink /proc/self/cwd`
cd $RELATIVE_PATH
export BASEDIR=$PWD
cd - > /dev/null

for i in ${ODLREPOS[*]}; do
  echo "----> Performing 'git $@' on '$i' repo"
  cd $BASEDIR/$i
  git $@
done
cd $BASEDIR
edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-10-06 04:41:38 -0800

Seen: 3,717 times

Last updated: Oct 07 '15