How to set up OpenDaylight for Software-Defined Networking in your OnApp cloud

One of the new capabilities in v6.0 of the OnApp cloud platform is SDN, Software Defined Networking. To do this, we use OpenDaylight. Here’s a quick guide to getting it up and running, so you can use our new SDN functionality via the OnApp UI.

If you’d like to know more about our SDN architecture, there’s a video at the end of this post explaining just that. Ok, on with the OpenDaylight guide!

Before you get started

  • Make sure you are running OnApp 6.0. If you’re running an earlier version, get in touch to arrange a free upgrade or a scheduled upgrade – our support team or professional services team will be happy to help.
  • You will also need a server or VM *outside* of your OnApp deployment. This will be for the OpenDaylight controller, and should conform to these recommended specifications. The server needs to communicate with your OnApp Control Panel – this can be internally or externally.

Getting OpenDaylight installed

1. SSH into the ODL controller and disable the firewall:

sudo systemctl stop firewalld
sudo systemctl disable firewalld
sudo systemctl mask --now firewalld

2. Follow these OpenDaylight install instructions

Hint 1: Once you enter the ‘bin/karaf’ command you will be presented with the karaf terminal. Try not to exit this during the setup process until you have entered both the ‘feature:’ commands listed on this page.

Hint 2: If you are unable to find netstat, do a ‘yum provides *netstat’ and locate a package with netstat.

Configuring OpenDaylight

1. Access the OnApp Control Panel and navigate to Settings > SDN Managers. If you don’t see this option, contact your Account Manager as it might not be enabled on your license.

2. Click Add Manager. You will be asked for the following:

Label: You can just call this SDN1
Host: This is the internal (or external) IP of the ODL controller.
Port: 8080
Login: admin
Password: admin

Note: If you are using an external IP for the ODL controller, this password should be changed. You can access the ODL controller web interface at :8080/index.html.

3. Navigate into the SDN Manager record you have just created and insert a new connection option. This will be:


4. Click on the Nodes tab. You will need to add the HVs. In this example, we will add an HV called Node 1 and Node 2 and use the Management network as the SDN Data plane (vxlans).

5. Select: Node 1. Enter:

tcp:MANAGEMENT_IP_OF_NODE:6640 (This is the IP assigned to the HV in OnApp under Settings > Compute Resources.)

6. Select: Node 2. Enter:

tcp:MANAGEMENT_IP_OF_NODE:6640 (This is the IP assigned to the HV in OnApp under Settings > Compute Resources.)

7. Click on Network management and add a new SDN Network. In this example we are using default options and an existing network.

Label: vxlan1
VNI: 5001
Network Zone: Default Network Zone

8. Navigate to Settings > Networks. You should now see vxlan1 in the list. Click on it.

9. Add a new IP net. In this example we are just doing an internal network:

Label: vxtest
Network address:
Network mask: 30
Add default IP range: [Ticked]

Making sure it works

You should attempt to create 2 VMs called ‘vxtest1’ and ‘vxtest2’ on different HVs, using this network. You can then test connectivity between them by pinging the IPs.

Learn more about SDN with OnApp

If you’d like to know more, or have any questions… check out the short SDN presentation below from Anatoliy Pylypchuk, our Director of Product Management – he shows the OnApp SDN architecture and a quick demo of how it works in the OnApp UI. Alternatively, drop a line to your Account Manager or our support team.


OnApp SDN demo