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 contains the code to lookup all nodes and a specific node in MD-SAL. I created a test osgi-bundle and within the activator I wrote code to perform all the above functions.

 

Comments

  1. Krish says

    I see that you have used private DataProviderService here.
    How does oneuse the NotificationProviderService?
    Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *