Hello,

    Need some help here. I am new to using Ryu as well as python.

    I have written a simple controller application where in i would want to
be able to read command line arguments into my application. If my app would
look something like this:

*class MyApp(app_manager.RyuApp):

    def __init__(self, *args, **kwargs):
        self.param1 = kwargs['param1']
        self.param2 = kwargs['param2']*

How do i run the ryu controller such that param1 and param2 gets read into
the app? Please let me know.

I tried the following and some variations of it, but it didnt work:
$> ryu-manager --ofp-tcp-listen-port 6633 app.py --param1=10 --param2=12

Thanks in advance,
Nitish
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to