If you want to develop for ODTN you should first get ONOS . Please follow the instructions in the following link to setup development environment for ONOS:

Development Environment Setup

And the following link  describes a simple "local" workflow where you build and run ONOS on a single development machine.

ONOS Developer Quick Start

Note:  For ODTN development purposes you should checkout master branch.

Note: Before launching ONOS please export these apps:

$> export ONOS_APPS=odtn-service,roadm


Then you can follow one of these guides to setup a phase 1.0 demo as a base:

ODTN Phase1.0 Demo (at NTTCom lab)