Ask Your Question
0

How to get source code?

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

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 -0700

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 -0700 )edit
0

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

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 -0700

Seen: 3,673 times

Last updated: Oct 07 '15