Hi,
I have a simple packet_in handler Ryu app and I want to know how many other
packet_in(s) the Ryu controller could afford responding (with cbench I
guess) with and without my app running.

When I run
./bin/ryu-manager ./ryu/app/simple_switch_13.py ./ryu/app/cbench.py

I get the error:
=================================================================
loading app ./ryu/app/simple_switch_13.py
loading app ./ryu/app/cbench.py
loading app ryu.controller.ofp_handler
instantiating app ./ryu/app/simple_switch_13.py of SimpleSwitch13
instantiating app ryu.controller.ofp_handler of OFPHandler
instantiating app ./ryu/app/cbench.py of Cbench
Traceback (most recent call last):
  File "./bin/ryu-manager", line 19, in <module>
    main()
  File "/home/ubuntu/ryu/ryu/cmd/manager.py", line 91, in main
    services.extend(app_mgr.instantiate_apps(**contexts))
  File "/home/ubuntu/ryu/ryu/base/app_manager.py", line 484, in
instantiate_apps
    self._instantiate(app_name, cls, *args, **kwargs)
  File "/home/ubuntu/ryu/ryu/base/app_manager.py", line 466, in _instantiate
    ofproto_protocol.set_app_supported_versions(cls.OFP_VERSIONS)
  File "/home/ubuntu/ryu/ryu/ofproto/ofproto_protocol.py", line 46, in
set_app_supported_versions
    assert _supported_versions, 'No OpenFlow version is available'
AssertionError: No OpenFlow version is available
=================================================================

The only way it works is to run:

./bin/ryu-manager ./ryu/app/cbench.py

and then launching cbench from oflops. but this does not include my app's
effect on controller performance.

Any idea how to do this?
Thanks.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to