Re: [Ryu-devel] app

2018-03-19 Thread Matthew Moskowitz
Sami, I think you are asking 'How can I interact with Ryu from another application?' I'd recommend using ofctl_rest api (1st link) or adding your own (2nd link). http://ryu.readthedocs.io/en/latest/app/ofctl_rest.html https://osrg.github.io/ryu-book/en/html/rest_api.html On Fri, Mar 16, 2018 at

[Ryu-devel] app

2018-03-16 Thread Sami Saia
Hello, how can I interact with a running Ryu application? For example if I define a function inside the class of simple_switch_13.py, and that app is running (started with ryu manager) how can i call it from a different script or application? For example if i want to call/use "datapath.send_msg" (

Re: [Ryu-devel] app

2018-03-01 Thread Frode via Ryu-devel
Hello Iwase, thank you for taking the time to reply. Yes, correct. I was hoping to be able to interact with the running my_app application ($ryu-manager my_app.py) from another Python script. E.g. be able to instantiate the class of the running app and make calls to functions residing there.

[Ryu-devel] app

2018-02-22 Thread Frode via Ryu-devel
Hello, first off kudos for this cool, and free, controller software. Second, I wanted to ask you guys how I can instantiate an app which have been sent to ryu-manager upon start? e.g. if I run $ ryu-manager simple_switch_13.py How can I then instantiate "class SimpleSwitch13(app_manager.RyuApp)

Re: [Ryu-devel] App Development

2015-11-16 Thread Ellen
Hi, Hope you are doing well. I was wondering if you got a chance to review my previous email. Understandably, you must have been running a very busy schedule and could not connect earlier. Have a great day ahead. Best, Ellen From: Ellen [mailto:ellen.business...@gmail.com] Sent: Tuesda

[Ryu-devel] App Development

2015-11-09 Thread Ellen
Hello, As a leading mobile application development company, we have developed mobile applications for over 100 clients all across North America. In addition to developing iPhone & iPad apps, Android apps, Mac OS X apps, HTML5 apps, and custom web apps, we also assist our clients in making their

Re: [Ryu-devel] App hangs when openflow connection disconnects

2015-02-15 Thread FUJITA Tomonori
On Sat, 14 Feb 2015 14:37:48 +0800 Zang MingJie wrote: > I have submitted a pull request > > https://github.com/kghost/ryu/commit/f03b0373d292eff638ee99f07717989f0be4bad8 Thanks! Please send a patch with your Signed-off-by instead of a pull request. >From f03b0373d292eff638ee99f07717989f0be4ba

Re: [Ryu-devel] App hangs when openflow connection disconnects

2015-02-13 Thread Zang MingJie
I have submitted a pull request https://github.com/kghost/ryu/commit/f03b0373d292eff638ee99f07717989f0be4bad8 On Sat, Feb 14, 2015 at 12:20 PM, Yi Tseng wrote: > Thanks a lot. > > Zang MingJie 於 2015年2月14日 星期六寫道: > >> On Fri, Feb 13, 2015 at 11:08 PM, Yi Tseng wrote: >> > Hi Zang MingJie, >> >

Re: [Ryu-devel] App hangs when openflow connection disconnects

2015-02-13 Thread Yi Tseng
Thanks a lot. Zang MingJie 於 2015年2月14日 星期六寫道: > On Fri, Feb 13, 2015 at 11:08 PM, Yi Tseng > wrote: > > Hi Zang MingJie, > > > > I think we can add code to > > > https://github.com/osrg/ryu/blob/master/ryu/controller/controller.py#L145-L148 > > or > > > https://github.com/osrg/ryu/blob/master/

Re: [Ryu-devel] App hangs when openflow connection disconnects

2015-02-13 Thread Zang MingJie
On Fri, Feb 13, 2015 at 11:08 PM, Yi Tseng wrote: > Hi Zang MingJie, > > I think we can add code to > https://github.com/osrg/ryu/blob/master/ryu/controller/controller.py#L145-L148 > or > https://github.com/osrg/ryu/blob/master/ryu/controller/controller.py#L189-L198 > to handling disconnection bet

Re: [Ryu-devel] App hangs when openflow connection disconnects

2015-02-13 Thread Yi Tseng
Hi Zang MingJie, I think we can add code to https://github.com/osrg/ryu/blob/master/ryu/controller/controller.py#L145-L148 or https://github.com/osrg/ryu/blob/master/ryu/controller/controller.py#L189-L198 to handling disconnection between controller and openflow switch. Yi 2015-02-13 16:09 GMT

[Ryu-devel] App hangs when openflow connection disconnects

2015-02-13 Thread Zang MingJie
Hi all: I found another problem in ryu. If openflow connection disconnects while there is any ongoing request, the request will hang forever, because the xid will never be replied. Can we add a connection dc event, notify all ongoing requests then return an error for every request.