Ask Your Question

what is the difference between the Rest Api URL's starting with http://localhost:8080/controller/... and http://localhost:8080/restconf/..

asked 2015-08-17 00:02:23 -0700

balaodl gravatar image

HI, I am seeing two different REST call URL's in ODL. 1. http://localhost:8080/controller/. . - This URL i got when i was going through the ODL codes(Stable Helium). 2. http://localhost:8080/restconf/config/.. . - this URL i am seeing the ODl UI.

What are the difference between these two URL's? how it is different from each other.. or how it is designed? is there any documents to understand these..

Thanks Bala

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2015-08-18 22:11:27 -0700

balaodl gravatar image

Thanks for your reply jamoluhrsen..

Regarding the ports. If i use the integration version of ODL software, i can use the 8181 to see the web page. if i use controller version of ODL software i can see the web page through the 8080 port only.

I think the port 8080 and 8181 are not specific to the AD-SAL and MD-SAL.

The links that you shared gave me some idea.

I am using helium stable (controller version) installed in my machine.. in which i am able to See and access both the URL's through the port 8080.

I assume that the ODL software(stable helium) contains API'S that are developed for the AD_SAL as well as MD-SAL.

  1. the URL with http://localhost:8080/controller/ . . is used to access the AD-SAL API's(NOt shown in UI page).
  2. The url http://localhost:8080/restconf/config/. . is used to access the MD-SAL API"s(shown in the Restconf UI page).

Is my understanding is correct?

Thanks, Balaji A

edit flag offensive delete publish link more


Bala, which "web page" are you referring to? The dlux web page you can get to from /index.html? As far as I know, you have to access that via 8181 and that will not be available unless you are using the integration version of ODL.

jamoluhrsen ( 2015-08-19 22:37:03 -0700 )edit

hi.. yeah, i was refereing to the DLUX page, (http://(host):8181/index.html) for integration version of ODL, and (http://(host):8080/index.html) for controller veriosn of ODL.

balaodl ( 2015-08-19 23:30:58 -0700 )edit

Sorry, Bala, I am no help. I am starting karaf after building the controller project and I cannot access :8080/index.html. DLUX should not even be included when only building the controller project. I'm not sure how it's working for you.

jamoluhrsen ( 2015-08-20 15:50:20 -0700 )edit

answered 2015-08-17 15:21:38 -0700

jamoluhrsen gravatar image

I think anything with port 8080 is for the, now deprecated, AD-SAL. With MD-SAL the port to use is 8181.

here are two links talking about those:



edit flag offensive delete publish link more

answered 2015-08-20 22:53:48 -0700

balaodl gravatar image

i followed the (beginner) steps given in below URL,and i got the dlux page in 8080 port. But my doubt is not about the Dlux web page. There are two different Rest Api's URL's. 1. the list of URlL that we see in the http://(IP):port/apidoc/explorer page. and the other URL that i got from the below video

edit flag offensive delete publish link more


Bala, the beginner guide is linking you to hydrogen. you said above you are using helium, so wanted to point that out.

jamoluhrsen ( 2015-08-21 13:12:31 -0700 )edit

I've never used port 8080 in my testing before, but now that I've tried it seems to me that both 8181 and 8080 are resolving to the same place. /apidoc/explorer/ as well as /restconf/<whatever> seem to be working the same for either port 8080 or 8181. I've always assumed 8181 is what to use.

jamoluhrsen ( 2015-08-21 13:22:15 -0700 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower


Asked: 2015-08-17 00:02:23 -0700

Seen: 393 times

Last updated: Aug 18 '15