Ask Your Question

Question: AD-SAL and Yang Tools

asked 2014-05-12 18:02:20 -0700

zedyuang gravatar image

updated 2014-11-25 12:48:52 -0700

Hi all,

I am new to opendaylight and I have few question over AD-SAL and Yang Tools. I hope I could get the answers from you guys:

  1. Since I didn't find the AD-SAL module in ODL source code, I want to know what is the exact definition of AD-SAL and does AD-SAL work in Opendaylight (Could you give an AD-SAL example?) ?
  2. As I know, Yang tool is used to model APIs for Plugins, Services in MD-SAL. However, except APIs, how does ODL model the other methods in implementation class ? ( does it use UML?)


edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2014-05-13 01:37:24 -0700


updated 2014-05-13 12:24:12 -0700

1) AD-SAL stands for Application Driven Service Abstraction Layer. Intent of this layer is to provide abstracted view of all the south bound to all the northbound application irrespective of the heterogeneity of the underlying platform its managing. You can get more details at following URL

Source code for AD-SAL is present in ~/controller/opendaylight/sal/ directory.

If you want to explore the AD-SAL based application, you can start from sample application mentioned at the following URL

2) No, Yang tool is not based on UML, it is a tool for generating java source code from models defined in Yang modelling language. Using yang modelling language you can define rpc's , notifications (APIs) and data models. By "other methods" you mean non-api methods that consumes these API's or utility methods, these methods you need to define in your own application java class. You can get more details about yang and yang tool at the following URL

If you explore following sample applications it will give you more clarity on how you can consume yang modelling and MD-SAL for developing your own application:

and if you want to develop your own application you can start from the archtype module

edit flag offensive delete publish link more


I am really appreciate for your information. Actually, I wanna do some extensions for ODL and I try to make my code consistent with ODL, so what kind of modeling tool does ODL use to describe a class or interface ( other than the APIs provided by Yang tools code generator )? For example the method "pingHost" in (URL ) Btw, AD-SAL should stand for Api-Driven. Thanks.

zedyuang ( 2014-05-13 21:04:30 -0700 )edit

hi,Anil Vishnoi; could you give me your E-mail ,I want to ask you question about slice topology.

wangruxun ( 2015-06-01 06:50:05 -0700 )edit

slice openflow topology.

wangruxun ( 2015-06-01 06:50:31 -0700 )edit
Login/Signup to Answer

Question Tools



Asked: 2014-05-12 18:02:20 -0700

Seen: 411 times

Last updated: May 13 '14