[Ryu-devel] The base of dpid in ofctl_rest api?

2017-04-21 Thread Markku Savela
Hi, In some places "dpid" is defined to be string of 16 hex digits. However in http://ryu.readthedocs.io/en/latest/app/ofctl_rest.html is described as "integer", and all examples use either 1 or "1" as value. If value is truly integer, then am I supposed to convert the hex string

Re: [Ryu-devel] ryu-manager with --observe-links causes "KeyError" in app/rest_qos.py

2017-04-19 Thread Markku Savela
hosts h1 h2 *** Running terms on :0 *** Starting controller c0 *** Starting 1 switches s1 ... *** Starting CLI: mininet> xterm c0 mininet> xterm h1 h2 mininet> gterm c0 > Thanks, > Fujimoto > > On 2017年04月19日 16:20, Markku Savela wrote: >> Hi, >> >> When wor

Re: [Ryu-devel] ryu-manager with --observe-links causes "KeyError" in app/rest_qos.py

2017-04-20 Thread Markku Savela
On 20/04/17 09:43, Fujimoto Satoshi wrote: > I want to know the commands which you ran for OVS and Ryu, too. > Could you tell me the commands which you ran in [c0, h1, h2, s1]? The exact commands as shown on page https://osrg.github.io/ryu-book/en/html/rest_qos.html Except adding

[Ryu-devel] ryu-manager with --observe-links causes "KeyError" in app/rest_qos.py

2017-04-19 Thread Markku Savela
Hi, When working with example https://osrg.github.io/ryu-book/en/html/rest_qos.html and starting ryu-manager with "--observe-links" causes the "KeyError" in rest_qos.py because ethertype 88cc is not handled. The error comes from to_rest function, which in this test I have modified with

[Ryu-devel] websocket proxy?

2017-05-17 Thread Markku Savela
setup a websocket connection to it, if not already up. regards, -- Markku Savela -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http:/

[Ryu-devel] rest_ofctl cannot be combined freely?

2017-05-04 Thread Markku Savela
Hi, I tried to work out the "Example of the operation of QoS by using DiffServ" on https://osrg.github.io/ryu-book/en/html/rest_qos.html with gui_topology.py (using my own browser side code). When I start the system with PYTHONPATH=. ./bin/ryu-manager ryu.app.rest_qos

Re: [Ryu-devel] rest_ofctl cannot be combined freely?

2017-05-05 Thread Markku Savela
Hi, Got it working by moving the "ryu.app.ofctl_rest" to the first in the list of modules for ryu-manager... at least this is a work around. On 04/05/17 10:12, Markku Savela wrote: > I tried to work out the "Example of the operation of QoS by using > DiffServ" on >

[Ryu-devel] wsgi route ordering?

2017-05-18 Thread Markku Savela
When loading multiple modules with ryu_manager, then the order of modules in command line ("loading app ryu.app...") does not always match the order of instantiations ("instantiating app ryu.app"). This causes problems with modules like "gui_topology" which match all paths. The rest api of