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


How to add flow in switch using REST api?

asked 2016-05-22 16:20:46 -0700

mann8352 gravatar image

I found shortest path between 2 hosts using Djikstra's algorithm. I want to add flows in every switch using REST api as per the path which I got using shortest path algorithm. How to do that?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-05-22 20:50:10 -0700

harsha gravatar image

You can use Postman extension on Google Chrome

edit flag offensive delete publish link more

answered 2016-05-23 00:51:36 -0700

karthik330 gravatar image

REST API ? Can you specify which option do you want to perform?

  1. You mean to add the flow in each switch one by one ?(using Restcof API /Postman) or

  2. You want to implement RPC which accepts your full shortest path data, and Implementation will push the flow in each switch accordingly?

edit flag offensive delete publish link more


Thanks @karthik330. Can you give details of carrying out both the options? If not then how can I add, modify or delete flows in a switch using Restconf?

mann8352 ( 2016-05-24 06:17:30 -0700 )edit

1 .

Plz refer my answer in this link.

karthik330 ( 2016-05-25 06:23:17 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-05-22 16:20:46 -0700

Seen: 110 times

Last updated: May 23 '16