Re: [Ryu-devel] How to add/modify/delete flow without getting the datapath from an event

2015-04-09 Thread Clément Rault
Hi, Thanks, that what I was looking for! But I'm not sure to understand what you mean by "try to create your app this app as a guide?"? Best, Clément On 9 April 2015 at 05:13, Minoru TAKAHASHI wrote: > Hi, > > On 2015年04月08日 21:41, Clément Rault wrote: >> Hi, >> >> I am wondering if there is a

Re: [Ryu-devel] How to add/modify/delete flow without getting the datapath from an event

2015-04-08 Thread Minoru TAKAHASHI
Hi, On 2015年04月08日 21:41, Clément Rault wrote: > Hi, > > I am wondering if there is a way to add/modify/delete a flow with a > python method without getting the datapath from an event (from a > packet in for ex). ofctl_rest app gets the datapath by using the Dpset. https://github.com/osrg/ryu/bl

[Ryu-devel] How to add/modify/delete flow without getting the datapath from an event

2015-04-08 Thread Clément Rault
Hi, I am wondering if there is a way to add/modify/delete a flow with a python method without getting the datapath from an event (from a packet in for ex). Actually what I would like to do is exactly what I'm doing below with curl but directly in python: curl -X POST -d '{ "dpid": 1, "co