opendaylight


The OpenDaylight project is an open source platform for Software Defined Networking (SDN) that uses open protocols to provide centralized, programmatic control and network device monitoring.

1. Installing OpenDaylight

Download 0.4.4-Beryllium-SR4/

To run the Karaf distribution:

  1. Unzip the zip file.

  2. Navigate to the directory.

  3. run ./bin/karaf.

$ export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/
$ tar -xvf distribution-karaf-0.6.1-Carbon.tar.gz
$ cd distribution-karaf-0.4.4-Beryllium-SR4
$ ./bin/karaf
Apache Karaf starting up. Press Enter to open the shell now...
100% [========================================================================]

Karaf started in 5s. Bundle stats: 64 active, 64 total

    ________                       ________                .__  .__       .__     __
    \_____  \ ______   ____   ____ \______ \ _____  ___.__.|  | |__| ____ |  |___/  |_
     /   |   \\____ \_/ __ \ /    \ |    |  \\__  \<   |  ||  | |  |/ ___\|  |  \   __\
    /    |    \  |_> >  ___/|   |  \|    `   \/ __ \\___  ||  |_|  / /_/  >   Y  \  |
    \_______  /   __/ \___  >___|  /_______  (____  / ____||____/__\___  /|___|  /__|
            \/|__|        \/     \/        \/     \/\/            /_____/      \/


Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown OpenDaylight.

opendaylight-user@root>

2. Install the Karaf features

To install a feature, use the following command, where feature1 is the feature name listed in the table below:

feature:install <feature1>

install multiple features using the following command:

feature:install <feature1> <feature2> ... <featureN-name>

3. Uninstalling features

To uninstall a feature, you must shut down OpenDaylight, delete the data directory, and start OpenDaylight up again.

Important Uninstalling a feature using the Karaf feature:uninstall command is not supported and can cause unexpected and undesirable behavior.

4. Listing available features

To find the complete list of Karaf features, run the following command:

feature:list

To list the installed Karaf features, run the following command:

feature:list -i
feature:install odl-dlux-all odl-dlux-core odl-dlux-node odl-dlux-yangui odl-dlux-yangvisualizer
feature:install odl-ovsdb-openstack
feature:install odl-l2switch-switch odl-l2switch-switch-ui odl-l2switch-switch-rest
feature:install odl-vtn-manager-neutron odl-neutron-service odl-neutron-northbound-api

Last updated