Connecting to an OpenFlow switch

In OpenDaylight, OpenFlow is implemented by the following features: odl-l2switch (and dependencies), openflowplugin and openflowjava. These can be installed in one of the following two ways:

Option A: Installing Openflow features using the karaf console
Open or connect to a karaf console and type:

(odl-dlux-all is installed by default)

Option B: Installing Openflow features using the Frinx UI
Open the Web UI and navigate to: http://localhost:8181/index.html#/featuremgr/index Use the filter functionality to verify which features are installed 1   Verify that odl-l2switch-all, odl-restconf, odl-mdsal-apidocs, odl-dlux-all are installed. As shown in the screenshot above, an installed feature is indicated by both a tick in the Installed column and a trashcan in the Install/Uninstall column. The Frinx UI should be used when you wish to uninstall a feature, as uninstalling using the Karaf console is not currently supported and could cause undesirable behavior.

Set up Mininet
The easiest way to do this is to download a mininet virtual machine (VM) from Then configure your environment so that you can connect to the Mininet VM from the machine hosting the Frinx controller. For example: if the Frinx ODL Distribution is hosted at and Mininet is installed at, a ping should work in both directions.
Use the following command to start Mininet, replacing < your controller ip > with the IP address of the machine hosting the Frinx controller.

If the command is successful, then if you go to you will see something like the screenshot below: 2 The OpenDaylight userguide describes alternative ways to start mininet: