Doesn't show any nodes via REST API

asked 2015-01-12 05:00:23 -0800

rawsik gravatar image

I have Helium 2.1 ( 2.1) There are some switches and nodes connected with mininet. I see nodes and switches in DLUX (GUI). But all REST API requests don't show any nodes

curl --user "admin":"admin" -H "Accept: application/json" -H "Content-type: application/json" -X GET http://localhost:8080/config/network-topology:network-topology/ curl --user "admin":"admin" -H "Accept: application/json" -H "Content-type: application/json" -X GET http://localhost:8080/restconf/operational/opendaylight-inventory:nodes curl --user "admin":"admin" -H "Accept: application/json" -H "Content-type: application/json" -X GET /restconf/operational/opendaylight-inventory:nodes

opendaylight-user@root>web:list |grep restconf 292 | Active | Deployed | 80 | /restconf

web:list |grep config There is no any features with config.

What is wrong? Why REST API requests are empty?

edit retag flag offensive close merge delete

Comments

1

I'm not sure if this is the problem but normally RESTCONF is listening on port 8181. I do know it may work on 8080 when the AD-SAL feature are also installed. so can you try port 8181.

Chris O'Shea ( 2015-01-12 10:50:38 -0800 )edit