Re: [Ryu-devel] Add a flow with two actions REST API

2014-04-01 Thread Windhya Rankothge
Thank you and it is working On Wed, Apr 2, 2014 at 2:26 AM, Yuichi Ito wrote: > Hi, please try this. > > {"cookie":"1","dpid":"1", > "match { "dl_type":"2048", > "nw_proto":"1", > "priority":"5", > "nw_src":"10.0.0.1", > "nw_dst":"10.0.0.5"

Re: [Ryu-devel] Add a flow with two actions REST API

2014-04-01 Thread Yuichi Ito
Hi, please try this. {"cookie":"1","dpid":"1", "match { "dl_type":"2048", "nw_proto":"1", "priority":"5", "nw_src":"10.0.0.1", "nw_dst":"10.0.0.5", "in_port":"1"}, "actions":[{"type":"OUTPUT","port":"2"}, {"type":"SET

[Ryu-devel] Add a flow with two actions REST API

2014-04-01 Thread Windhya Rankothge
Hi all, I am trying to add a flow with two actions : "OUTPUT and SET_VLAN_VID. Following is the part of the string I pass with Curl.. {"cookie":"1","dpid":"1", "match { "dl_type":"2048", "nw_proto":"1", "priority":"5", "nw_src":"10.0.0.1", "n