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": "",
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
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
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
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
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