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 […]

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.

How To Remove Node From MD-SAL

Below is the code snippet to publish a node removal notification to MD-SAL

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

How to Lookup all NodeConnectors of a Node in MD-SAL

Let’s say we have a node “node_oo1″ and we want to lookup all the node connectors associated with this node in MD-SAL. First we create an instance identifier using the nodeId and nodeKey and then we lookup the node from MD-SAL. Once we get the node, we invoke getNodeConnector() api to get a list of […]

How To Look Up Topology and Links In MD-SAL

In one of our previous post, we learned how to look up data (all nodes and a specific node) in MD-SAL. In this post, we will understand: How to look up all topologies in MD-SAL How to lookup a specific topology in MD-SAL How to lookup all links in MD-SAL Code snippet given below also […]

OpenDaylight, Netconf, Restconf & YANG

An excerpt from chat with Tomas Olvecky: Q.YANG is a modeling language written to support netconf based devices. But in opendaylight we are using it to describe the structure of data provided by controller components. Well there are couple of tutorials on internet which makes me believe that netconf and yang are inseparable. Please throw […]

How MD-SAL Identifies Southbound Plugin For Flow Provisioning

When I started writing a southbound plugin for one of the netconf device that I am working on, one of my very first question was how will MD-SAL know that it has to route the request received from flow provisioning app to my plugin. I obviously dug a little further and here is what I […]