Re: [Ryu-devel] rest_QOS port name when posting new queue

2017-07-19 Thread Iwase Yusuke
Hi Sherif, On 2017年07月18日 23:18, Fahmy Sherif Alaa Salaheldin wrote: In the Ryu documentation this is written # set a queue to the switches # POST /qos/queue/{switch-id} # # request body format: # {"port_name":"", # "type": "", # "max-rate": "",

Re: [Ryu-devel] Queues not shown in get stats/queueconfig --> Confusion about rest_QOS and rest_OFCTL

2017-07-19 Thread Iwase Yusuke
Hi Sherif, On my environment (Ryu 4.15, Open vSwitch 2.6.1 and Mininet 2.3.0), I can see queues via ofctl_rest. # Create Queues via rest_qos.py $ curl -X POST -d '{"port_name": "s1-eth1", "type": "linux-htb", "max_rate": "100", "queues": [{"max_rate": "50"}, {"min_rate": "80"}]}' h

[Ryu-devel] [PATCH 1/2] ofproto: Handle OFPErrorExperimenterMsg

2017-07-19 Thread IWASE Yusuke
Currently, OFPErrorExperimenterMsg is not registered into OpenFlow message events dict as "EventOFPErrorExperimenterMsg", and could not be converted to events by ofp_event module. This patch obsolete OFPErrorExperimenterMsg class and fixes to use EventOFPErrorMsg to handle the experimenter error m

[Ryu-devel] [PATCH 0/2] ofproto: Handle OFPErrorExperimenterMsg

2017-07-19 Thread IWASE Yusuke
This patch fixes a bug which reported on: [Ryu-devel] bug: KeyError EventOFPErrorExperimenterMsg IWASE Yusuke (2): ofproto: Handle OFPErrorExperimenterMsg unit/ofproto: Adopt to rename of OFPErrorExperimenterMsg ryu/controller/ofp_handler.py | 25 -- ryu/ofproto/of

[Ryu-devel] [PATCH 2/2] unit/ofproto: Adopt to rename of OFPErrorExperimenterMsg

2017-07-19 Thread IWASE Yusuke
Signed-off-by: IWASE Yusuke --- .../json/of12/3-41-ofp_error_msg_experimenter.packet.json| 9 + .../json/of13/4-41-ofp_error_msg_experimenter.packet.json| 9 + .../json/of14/5-39-ofp_error_msg_experimenter.packet.json| 9 + .../of15/libofproto-OFP15

Re: [Ryu-devel] ofctl_rest.py doesn't permit ping

2017-07-19 Thread Iwase Yusuke
Hi, If you prefer to use ofctl_rest.py, for example, you can use "/stats/flowentry/add" from your Web application, I guess. http://ryu.readthedocs.io/en/latest/app/ofctl_rest.html#add-a-flow-entry Please note that for stopping or accepting some traffic by using OpenFlow, you need to design yo