Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


Accessing Opendaylight restconf using curl

asked 2017-07-31 02:24:58 -0700

srik1782 gravatar image

Hi, I am trying to access restconf using the below CURL command: curl -u admin:admin

But, I am getting the below response:

{"errors":{"error":[{"error-type":"application","error-tag":"data-missing","error-message":"Request could not be completed because the relevant data model content does not exist "}]}}

Can anyone help me to resolve the issue?

Regards, Srikanth.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-08-16 13:36:49 -0700

The error message is telling you the correct thing: It cannot find the model you are requesting. I recommend starting with /restconf/modules to see a full listing of the yang models available. It seems likely that there is a typo in your request (although I'm not personally familiar with sfc-of-renderer).

If that module does exist, I recommend locating the actual yang file and reviewing the syntax for using the method in question.

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

Question Tools

1 follower


Asked: 2017-07-31 02:24:58 -0700

Seen: 16 times

Last updated: Aug 16