Re: [Ryu-devel] Multiple Controllers(REST handler) files

2018-03-26 Thread Artem Gromov
Hi Suresh, You could call ryu-manager.py and pass all your app modules separated with ',' to '--app-lists' option. You could also find helpful the following source files to understand application init logic: - ryu/cmd/manager.py - ryu/base/app_manager.py Regards, Artem Gromov +7 (926) 940 8298

Re: [Ryu-devel] Multiple Controllers(REST handler) files

2018-03-04 Thread knet solutions
Hi Iwase, Thanks. Dynamic Loading feature is what i meant. But as its not available in mainstream, i can handle it in the application itself. Thanks for the support. Thanks suresh. On Mon, Mar 5, 2018 at 11:46 AM, Iwase Yusuke wrote: > Hi Suresh, > > Well you mean; How to reload (or swap) ap

Re: [Ryu-devel] Multiple Controllers(REST handler) files

2018-03-04 Thread Iwase Yusuke
Hi Suresh, Well you mean; How to reload (or swap) application file without stopping "ryu-manager" process, right? If so, it might require complex manner (CLI does not support it). "ryu.base.app_manager" has some elements to archive it, and Yamamoto-San said Ryu's VRRP service uses them; https://

Re: [Ryu-devel] Multiple Controllers(REST handler) files

2018-03-04 Thread knet solutions
Hi Iwase, 1) I am writing a application in this architecture, app.py is entrypoint (app_manager.RyuApp), and declared the API endpoints. controller.py is API definitions and has some applications files. I am running this application as below, ryu-manager app.py Example, this application doe

Re: [Ryu-devel] Multiple Controllers(REST handler) files

2018-03-04 Thread Iwase Yusuke
Hi, Could you be more specific? What "one app.py" exactly means? You have some REST implemented applications, then ... which application do you need to make multiplex? Just I guessing... each application are running on each host and you need to run multi controller apps(App_A) like the followin

Re: [Ryu-devel] Multiple Controllers

2017-10-18 Thread Taha Khan
Thanks Iwase. On Wed, Oct 18, 2017 at 2:09 AM, Iwase Yusuke wrote: > Hi Taha, > > The following post might be helpful for you. Please check it. > https://www.mail-archive.com/ryu-devel@lists.sourceforge.net > /msg14074.html > > Thanks, > Iwase > > > On 2017年10月18日 14:57, Taha Khan wrote: > >>

Re: [Ryu-devel] Multiple Controllers

2017-10-17 Thread Iwase Yusuke
Hi Taha, The following post might be helpful for you. Please check it. https://www.mail-archive.com/ryu-devel@lists.sourceforge.net/msg14074.html Thanks, Iwase On 2017年10月18日 14:57, Taha Khan wrote: Hi I would like to know how can I connect multiple instance of controllers controlling (addi