On Thu, 15 May 2014 20:13:33 +0800
"LIU, Kun" <[email protected]> wrote:
> Hi, Spalla, sorry to disturb you again. I still cannot trigger start( ) in my
> ryu app. I wrote the code like this:
> class MyApp(app_manager.RyuApp):
> def __init__(self):
> pass
>
> def start(self):
> self.logger.info(“run start()!!”)
> super(MyApp, self).start()
> # other codes
Try something like the following code:
=
from ryu.base import app_manager
class ExampleApp(app_manager.RyuApp):
def __init__(self, *args, **kwargs):
super(ExampleApp, self).__init__(*args, **kwargs)
def start(self):
print "hello"
super(ExampleApp, self).start()
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel