Wiki
Clone wikimobilityfirst / Open Daylight SDN Controller
Setting up the Network
On SB9, you can set up the Openflow network with the controller running in the node node1-11 and other end hosts running on nodes node1-1 through node1-4 which are configured to be Openflow capable.
Boot up node1-11 with Ubuntu version 13.04 or above. Other nodes can be booted up with any Ubuntu linux version
Installation
The SDN controller used in the MF SDN prototype is the Open Daylight Controller. The release version is Hydrogen and we use the Base edition.
- Required Packages
#!Unix sudo apt-get update sudo apt-get install git maven openjdk-7-jdk openjdk-7-jre
The pre-built version of the controller can be downloaded at the following link Open Daylight Controller Hydrogen - Base version
Download and unzip the controller in a Linux machine. The controller was tested to work in Ubuntu 13.04.
#!Unix unzip distributions-base-0.1.1-osgipackage.zip
For more details, visit the controller installation guide at:
Running the Controller
The controller can be started directly by running the script in the following directory
#!Unix cd opendaylight ./run.sh
Once the controller is running,to access the GUI, point your browser to the IP address running the controller with port 8080: http://<ip-address-of-machine-where-you-ran-opendaylight>:8080 or http://127.0.0.1:8080 from the same machine running the controller
Login with the following details: username: admin password: admin
You can set up flow rules or make modifications using the GUI provided.
Developing OpenFlow 1.3 Modules with the Controller
For developing applications and running the controller with OF 1.3, download the openflowplugin from git at the following link:
#!unix git clone https://git.opendaylight.org/gerrit/p/openflowplugin.git
A 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
Build the application:
#!unix cd openflowplugin/samples/learning-switch/ mvn clean install
#!unix rm opendaylight/plugins/org.opendaylight.controller.samples.simpleforwarding-0.4.1.jar
To run the controller with OF 1.3:
#!unix cd opendaylight ./run.sh -of13
To test if the learning switch is working, on the controller console:
#!unix osgi > lb learn
For more details and information for developing applications you can visit the Open Daylight wiki at
Updated