On Wed, May 16, 2012 at 04:31:33PM +0900, FUJITA Tomonori wrote:
> On Wed, 16 May 2012 13:18:33 +0900
> Isaku Yamahata <[email protected]> wrote:
> 
> > ryu/app/wsapi.py should be removed for  apache license.
> > This is the candidate for wsgi server.
> > Another approach would be to reuse Openstack wsgi framework, but it would
> > be overkill for our purose.
> > 
> > ryu/app/wsgi.py is the wsgi framework and ryu/app/api.py is a sample.
> > If this direction is okay, the wsapi client will be converted. and
> > then remove wsapi.py
> > 
> > thanks,
> > 
> > Signed-off-by: Isaku Yamahata <[email protected]>
> > ---
> >  bin/ryu-manager |    7 ++
> >  ryu/app/api.py  |  185 
> > +++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >  ryu/app/wsgi.py |   84 +++++++++++++++++++++++++
> >  3 files changed, 276 insertions(+), 0 deletions(-)
> >  create mode 100644 ryu/app/api.py
> >  create mode 100644 ryu/app/wsgi.py
> 
> We need the features that NOX webservices provides, e.g, spliting a
> request path and passing them to classes that applications define.

That is exactly what "routes" library does. (in somewhat different way
from wsapi) "routes" and "webob" provides us much better than wsapi.
They are widely adopted and well-tested.

If NOX API compatibility is needed, I can't think of a better way.
-- 
yamahata

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to