Hi, Why you need to separate wsgi ports for each applications?
I think you can separate the API for each applications by using URI path pattern. http://osrg.github.io/ryu-book/en/html/rest_api.html#implementing-simpleswitchcontroller-class e.g.) For application1: PATH=/application1 $ curl -X GET http://localhost:8080/application1 For application2: PATH=/application2/foobar $ curl -X GET http://localhost:8080/application2/foobar Thanks, Iwase On 2016年07月21日 01:59, Nguyen Van wrote: > Hi Ryu development team, > > I'm doing a small project using Ryu applications and encountering on small > issue. I want to run two applications in parallel as 2 web servers on 2 > different wsapi-ports but with *only one controller:* > ryu-manager ryu.app.<app 1> ryu.app<app 2> > > However, I could not tell ryu-manager to do such action. Therefore, I have to > run 2 ryu-manager commands as followings: > ryu-manager --wsapi-port 8080 --verbose ryu.app.<app 1> > ryu-manager --wsapi-port 8081 --verbose ryu.app.<app 2> > > Can you please check and help me in this case? > > Thanks & Best Regards, > Tan Nguyen > Aalto University > Email: [email protected] > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity planning > reports.http://sdm.link/zohodev2dev > > > > _______________________________________________ > Ryu-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
