Re: [Ryu-devel] Add flows and Rest API

2014-03-28 Thread Windhya Rankothge
Hi all, Sorry for the trouble, I figured it out.. When I remove "type":"apply", it was working On Fri, Mar 28, 2014 at 12:57 PM, Windhya Rankothge wrote: > Hi all, > > I am using ofctl_rest with my topology.. > > When I try to view switches, it shows the switch ID of the switch > > ryu@ryu-vm:~

[Ryu-devel] Add flows and Rest API

2014-03-28 Thread Windhya Rankothge
Hi all, I am using ofctl_rest with my topology.. When I try to view switches, it shows the switch ID of the switch ryu@ryu-vm:~$ curl -X GET http://localhost:8080/stats/switches [1] ryu@ryu-vm:~$ Then I try to add flows manually to the switch using following command.. ryu@ryu-vm:~$ curl -X POS