Hi,Jace
Although I tried to check, perhaps, it is a bug of rest_qos.py.
(To the value to be set to ofctl library of Ryu was incorrect.)
I will make a patch.
If hurry, please correct as follows rest_qos.py.
@@ -915,6 +915,11 @@ class QoS(object):
return REST_COMMAND_RESULT, msg
def _to_of_flow(self, cookie, priority, match, actions):
+ for key in ('cookie', 'priority', 'flags', 'idle_timeout',
+ 'hard_timeout', 'actions'):
+ if key in match:
+ del match[key]
+
flow = {'cookie': cookie,
'priority': priority,
'flags': 0,
On 2014年12月02日 19:18, Jace Liang wrote:
> Hello
>
> We now hvae some trouble setting priority while using the QoS.
> Could you please tell us is there any wrong in our steps.
>
> We followed the chapter of the QoS in the Ryubook and try to modify the
> priority of queues
> here is my commond
>
> curl -X POST -d '{"match": {*"priority":"5"*, "nw_dst": "10.0.0.1",
> "nw_proto": "UDP", "tp_dst": "5002"}, "actions":{"queue": "1"}}'
> http://localhost:8080/qos/rules/0000000000000001
>
> after enter this
> it returned the following message.
>
> Invalid rule parameter
>
>
> --
> ------------------------------------------------------------------------------------
> National Taiwan University Science and Technology
> Department of Electronic and Computer Engineering,
> Jace Liang , 梁維恩
> ------------------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel