> For the complete documentation index, see [llms.txt](https://zhaojunhhhu.gitbook.io/learn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zhaojunhhhu.gitbook.io/learn/chapter5/opendaylight.md).

# 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.

```bash
$ 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:

```bash
feature:install <feature1>
```

install multiple features using the following command:

```bash
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:

```bash
feature:list
```

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

```bash
feature:list -i
```

```bash
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
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://zhaojunhhhu.gitbook.io/learn/chapter5/opendaylight.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
