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 <[email protected]>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:~$ 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 POST -d
> '{"dpid":"1","match":{"in_port":9,"dl_vlan":100},{"type":"apply",
> "actions":[{"type":"OUTPUT","port":7}]}}'
> http://localhost:8080/stats/flowentry/add
>
> And then when I try to view the flow table
>
> ryu@ryu-vm:~$ curl -X GET http://localhost:8080/stats/flow/1
>
> {"1": []}
> ryu@ryu-vm:~$
>
>
> Am I doing something wrong here ?
>
> Best Regards,
>
> Windhya Rankothge,
> Universitat Pompeu Fabra,
> Barcelona.
>



-- 
Best Regards,

Windhya Rankothge,
Universitat Pompeu Fabra,
Barcelona.
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to