Hi,

2015-07-08 4:10 GMT+09:00 Luisa Nevers <[email protected]>:

> Hello,
>
> I starting to use the ryu topology viewer and have some questions and
> some feedback.
>
>  1. I am running the topology viewer with 50 DPIDs.  Most of the DPIDs
> are off the screen and there is no scrolling or resize to view them. See
> image topology-viewer.jpd) attached.
>
>
>  2. If I click any of the DPIDs that are visible, I can see that the
> ryu-manager windows shows the actual command issued when clicking on the
> viewer. I have noticed that the values shown are incorrect.
>
>   For example, when I Click on the topology viewer item
> "dpid:dda6c3be56cc500", the ryu-manager window shows:
>   "...[07/Jul/2015 13:57:01] "GET /stats/flow/998229271923967200
> HTTP/1.1" 404 146 0.000518"
>
>   The DPID "998229271923967200" is not part of the list that I get from
> the ryu-manager with "curl -X GET http://localhost:8080/stats/switches";
>   what I do have is "998229271923967232".  Is this a bug?
>
>   Clicking on any of the 50 switches in the topology viewer has no
> effect?  What should I see?
>
> 3. I tried starting the topology viewer with the suggested arguments
> from (http://ryu.readthedocs.org/en/latest/gui.html along with a simple
> switch and ran into this problem:
>
>    $ ./bin/ryu-manager   --observe-links
> ryu/app/gui_topology/gui_topology.py ryu/app/simple_switch.py
> ryu/app/ofctl_rest.py ryu/app/ws_topology.py
>    loading app ryu/app/gui_topology/gui_topology.py
>    loading app ryu/app/simple_switch.py
>    loading app ryu/app/ofctl_rest.py
>    loading app ryu/app/ws_topology.py
>    loading app ryu.app.rest_topology
>    loading app ryu.app.ws_topology
>    loading app ryu.app.ofctl_rest
>    loading app ryu.controller.ofp_handler
>    instantiating app None of Switches
>    creating context switches
>    instantiating app None of DPSet
>    creating context dpset
>    creating context wsgi
>    instantiating app ryu.controller.ofp_handler of OFPHandler
>    instantiating app ryu/app/ws_topology.py of WebSocketTopology
>    instantiating app ryu/app/ofctl_rest.py of RestStatsApi
>    instantiating app ryu/app/gui_topology/gui_topology.py of GUIServerApp
>    instantiating app ryu.app.rest_topology of TopologyAPI
>    instantiating app ryu/app/simple_switch.py of SimpleSwitch
>    instantiating app ryu.app.ofctl_rest of RestStatsApi
>    Traceback (most recent call last):
>    File "./bin/ryu-manager", line 19, in <module>
>     main()
>    File "/usr/local/lib/python2.7/dist-packages/ryu/cmd/manager.py",
> line 91, in main
>     services.extend(app_mgr.instantiate_apps(**contexts))
>    File
> "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py", line
> 483, in instantiate_apps
>     self._instantiate(app_name, cls, *args, **kwargs)
>    File
> "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py", line
> 470, in _instantiate
>     register_app(app)
>    File
> "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py", line
> 62, in register_app
>     assert app.name not in SERVICE_BRICKS
>    AssertionError
>
>   Why can I not run this combination of applications?
>

ryu.app.ws_topology and ryu.app.ofctl_rest are dependent (needed) on
ryu.app.gui_topology.gui_topology.
Thus the applications are loaded automatically.

How about the following? It should be loaded ryu.app.ws_topology and
ryu.app.ofctl_rest.
PYTHONPATH=. ./bin/ryu-manager --observe-links
ryu/app/gui_topology/gui_topology.py ryu/app/simple_switch.py
loading app ryu/app/gui_topology/gui_topology.py
loading app ryu/app/simple_switch.py
loading app ryu.app.rest_topology
loading app ryu.app.ws_topology <- (Here)
loading app ryu.app.ofctl_rest <- (Here)
loading app ryu.controller.ofp_handler
...(snip)

Thanks,
Satoshi


>
>
> Thank you,
> Luisa Nevers
>
>
>
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
>
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to