Ask Your Question
0

writing flows using rest api

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

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

Comments

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

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

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

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

1 answer

Sort by ยป oldest newest most voted
0

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

karthik330 gravatar image

https://wiki.opendaylight.org/view/Op...

https://wiki.opendaylight.org/view/Ed...

https://wiki.opendaylight.org/view/Op...

refer these links , u l get idea.

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

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

Seen: 133 times

Last updated: Mar 17 '16