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

0

Restconf API not working Beryllium

asked 2016-12-23 04:14:22 -0700

anonymous user

Anonymous

updated 2016-12-23 04:23:33 -0700

I am using Opendaylight Beryllium

1) feature:install odl-dlux-all 2) feature:install odl-mdsal-all 3) feature:install odl-restconf-all 4) feature:install odl-l2switch-switch.

sudo mn --topo=linear,4 --controller=remote,ip=192.168.0.10 --switch=ovsk,protocols=OpenFlow13

http://192.168.0.10:8181/restconf/con...

i am getting the below error

{ "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 " } ] } }

Response code

404

2).When i tried for PUT method for the url

http://192.168.0.10:8181/restconf/con...

and i am getting below error

400: Bad Request

Can any one help me

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-01-10 09:04:46 -0700

giles gravatar image

try replacing "config" with "operational" and see if that helps.

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

Question Tools

Follow
1 follower

Stats

Asked: 2016-12-23 04:14:22 -0700

Seen: 101 times

Last updated: Jan 10