Ask Your Question

ReST APIs for Hydrogen release

asked 2015-08-25 07:21:40 -0700

Arun_Kumar_AV gravatar image

Hi all,

I am using Hydrogen release base edition. I want to know whether there are any ReST API's available for fetching topology from the controller. I could see many ReST APIs that are working fantastic for Helium and above releases but they are of no use with hydrogen release. Any help would be appreciated.

Thanks in advance.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-08-25 07:43:29 -0700

hydrogen uses ADSAL (API Driven Software Abstraction Layer) and Helium uses MDSAL (Model Driven Software Abstraction Layer). but I think you can enable the MDSAL in hydrogen by ./ -of13, may be few rest api will work.

edit flag offensive delete publish link more


Thanks for the reply Subash. But I am not able to do that. "Unknown option -of13" is the message I'm getting. Any other way to enable md-sal features, or at least any API which will give similar output as this URI :""

Arun_Kumar_AV ( 2015-08-26 00:11:46 -0700 )edit

Above specified URI easily works for Helium release.

Arun_Kumar_AV ( 2015-08-26 00:56:23 -0700 )edit

answered 2015-08-26 03:19:56 -0700

As @subhash said, Hydrogen uses mostly AD-SAL and some MD-SAL. However, the Topology Manager is using AD-SAL, so activating OpenFlow 1.3 does not help much. Most of the AD-SAL ReST API documentation can be found in the source code, so your best bet is to clone the controller repository, build the source, and point your browser to the generated documentation. For each Northbound ReST API project that is under target/site/wsdocs/index.html. So for topology you would open opendaylight/northbound/topology/target/site/wsdocs/index.html.

git clone
cd controller
git checkout -t origin/stable/hydrogen
mvn clean install -DskipTests
firefox opendaylight/northbound/topology/target/site/wsdocs/index.html

You can explore the ReST documentation for all of the AD-SAL Northbound components this way.

The reason this is not in the wiki is because the Jenkins continuous integration platform used to publish these artifacts, but they have been since deprecated and removed. The only place in the wiki I found mentioning the old AD-SAL Topology Manager API with a few examples is the CSIT Test Plan Base page.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-08-25 07:21:40 -0700

Seen: 189 times

Last updated: Aug 26 '15