Overlay & Underlay Topologies In OpenDaylight

This post is dedicated to develop an understanding of how Overlay & Underlay Topologies work in OpenDaylight. I have written a small plugin to create a working example of overlay and underlay topologies. But before we jump into what the plugin does, let’s go though some definitions. Definitions As defined in network-topology.yang, for a given […]

How To Look Up Data In MD-SAL – Helium Version

Previously I wrote how to look up data in MD-SAL data store but that holds good only for OpenDaylight’s Hydrogen release. In OpenDaylight’s Helium release, data broker API’s have been changed. Here is how you can look up data in MD-SAL data store if you are using OpenDaylight’s Helium version. Note that you also have […]

How To Insert Data In MD-SAL Data Store – Helium Version

Previously I wrote how to insert data in MD-SAL data store but that holds good only for OpenDaylight’s Hydrogen release. In OpenDaylight’s Helium release, data broker API’s have been changed. Here is how you can insert data in MD-SAL data store if you are using OpenDaylight’s Helium version. Note that you also have to switch […]

Notes On Config Subsystem In OpenDaylight

Notes: Considering ODL controller a network device, its management should be exposed in a standardized manner. Management of ODL is handled by the config subsystem and exposed by NETCONF and RESTCONF using YANG as data definition language. Config subsystem gets activated using OSGi Activators and there is only one instance of config subsystem per controller […]

Why Config Subsystem over OSGI Activator?

Startup Sequence / Dependency Management Since in OSGi, startup is asynchronous, it is hard to tell when the server is initialized, especially when you have to deal with dynamic bundle installing. With OSGI’s dependency management, it is difficult to figure out when a dependency has fully loaded and non-deterministic load orders can create heisenbugs. Whereas […]

Testing OSGI Bundle Using JUnit

In my last blog post I explained how to create a hello world application using Maven, OSGi in Opendaylight framework (although it had nothing to do with networking, I will be explaining that too in coming blogs). For those who haven’t read that please follow the below link: http://sdntutorials.com/hello-world-application-using-osgi-bundle/ As I believe “A not tested […]

Hello World Application Using OSGI Bundle

As I always love to write a basic “Hello World” program when ever i start writing something new. So let’s develop a simple OSGI Bundle in which will print “Hello World” and “Goodbye World” to the console when the bundle starts and stops. This will get you started in application development in ODL. Prerequisites Before […]

How To Remove Link From MD-SAL

Helium Version Everything remains same except the way of accessing notification provider service at line 13.

How To Remove NodeConnector From MD-SAL

Below is the code snippet to publish node connector removal to MD-SAL:

Helium Version Everything remains same except the way of accessing notification provider service at line 15.