Cannot retrieve the node list from inventory

asked 2017-07-12 02:32:07 -0700

Hi - i am new to ODL and trying to fetch the inventory nodes using the following API as generated by the api doc.

curl -X GET "http://192.168.56.103:8181/config/opendaylight-inventory:nodes"

I have installed ODL on a separate VM whose ip is 192.168.56.103 and the service is listening on 8181 also.

When i execute the above command the it hangs without giving me any result

What is the issue in this? Can anyone help me?

edit retag flag offensive close merge delete

Comments

try this curl --silent -u $usernmae:$password -X GET "http://192.168.56.103:8181/config/opendaylight-inventory:nodes" Note : username & password are restconf credentials.

sunilkumarms ( 2017-08-17 05:53:37 -0700 )edit