close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Changes between Initial Version and Version 1 of Proto/cModules/e0SDN/a0OpenFlow/a1OpenDaylight/b0Installation


Ignore:
Timestamp:
Nov 30, 2014, 5:26:58 AM (9 years ago)
Author:
wontoniii
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Proto/cModules/e0SDN/a0OpenFlow/a1OpenDaylight/b0Installation

    v1 v1  
     1The following instructions are for installing the ODL controller on Ubuntu version 13.04.
     2
     3= Installing the ODL Controller =
     4
     5The SDN controller used in the MF SDN prototype is the Open Daylight Controller. The release version is Hydrogen and we use the Base edition.
     6
     7Required Packages
     8
     9{{{
     10sudo apt-get update
     11sudo apt-get install git maven openjdk-7-jdk openjdk-7-jre
     12}}}
     13The pre-built version of the controller can be downloaded at the following link [http://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distributions-base/0.1.1/distributions-base-0.1.1-osgipackage.zip Open Dayligth Controller Hydrogen Base Edition]
     14
     15Download and unzip the controller in a Linux machine. The controller was tested to work in Ubuntu 13.04.
     16
     17{{{
     18unzip distributions-base-0.1.1-osgipackage.zip
     19}}}
     20For more details, visit the controller installation guide at: https://wiki.opendaylight.org/view/Release/Hydrogen/Base/Installation_Guide#Installing
     21
     22= Developing !OpenFlow 1.3 Modules with the Controller =
     23
     24For developing applications and running the controller with OF 1.3, download the openflowplugin from git at the following link:
     25
     26{{{
     27git clone https://git.opendaylight.org/gerrit/p/openflowplugin.git
     28}}}
     29A sample application for a Learning switch is provided by the plugin. For learning to develop new modules as applications, this is a good starting point.
     30
     31Build the application:
     32
     33{{{
     34cd  openflowplugin/samples/learning-switch/
     35mvn clean install
     36}}}
     37For running the learning switch application,do the following steps
     38
     39{{{
     40rm opendaylight/plugins/org.opendaylight.controller.samples.simpleforwarding-0.4.1.jar
     41}}}
     42Copy the 'learning-switch-0.0.3-SNAPSHOT.jar' bundle into the ‘opendaylight/plugins' folder.
     43
     44To run the controller with OF 1.3:
     45
     46{{{
     47cd opendaylight
     48
     49./run.sh -of13
     50}}}
     51To test if the learning switch is working, on the controller console:
     52
     53{{{
     54osgi > lb learn
     55}}}
     56Now you can see the controller installing flow rules when you test the network by pinging nodes.
     57
     58For more details and information for developing applications you can visit the Open Daylight wiki at: https://wiki.opendaylight.org/view/OpenDaylight_Controller:Hydrogen_Developer_Guide:MD-SAL_App_Tutorial