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


writing flows using rest api

asked 2016-03-14 17:23:30 -0800

santosh gravatar image

I am running lithium on ubuntu. I am able to write flows into controller using yang UI and also able to write flows directly into openvswitch using ovs-ofctl command. I can see the flows on the mininet CLI and ubuntu CLI (using dump-flows command), but its not showing up in the flows section of the web ui.

Am trying to insert flows into the controller using postman and its giving me error (415 Unsupported Media Type). In odl inventory, config mode i wrote a flow, used show preview option and then copied the json body & URL along with appropriate headers and authentication into the postman as it is and selected PUT. I get errors. Any help appreciated. Thanks

edit retag flag offensive close merge delete


posting your data, headers and full request URL would help, if karthik330's links don't help.

jamoluhrsen ( 2016-03-17 17:07:43 -0800 )edit

hi.. i got it..i had the wrong headers. thanks for the help

santosh ( 2016-03-21 15:13:17 -0800 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-03-17 05:59:41 -0800

karthik330 gravatar image

refer these links , u l get idea.

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

Question Tools

1 follower


Asked: 2016-03-14 17:23:30 -0800

Seen: 5,285 times

Last updated: Mar 17 '16