On Mon, 31 Mar 2014 14:51:03 +0900
Yuichi Ito <[email protected]> wrote:

> ofctl_rest is now enabled to parse flags multiply as follows:
> 
>   curl -X POST -d '{"dpid": 1,
>                     "meter_id": 1,
>                     "flags": ["KBPS", "BURST"],
>                     "bands": [{"type": "DROP", "rate": 1000}]}' 
> http://localhost:8080/stats/meterentry/add
> 
> And now enabled to show flags as follows:
> 
>   curl http://localhost:8080/stats/meterconfig/1
> 
>   {
>     "1": [
>       {"bands": [{"burst_size": 0, "rate": 1000, "type": "DROP"}],
>        "flags": ["KBPS", "BURST"], "meter_id": 1}
>     ]
>   }
> 
> Reported-by: cheers <[email protected]>
> Signed-off-by: Yuichi Ito <[email protected]>
> ---
>  ryu/lib/ofctl_v1_3.py |   13 +++++++++++--
>  1 file changed, 11 insertions(+), 2 deletions(-)

Applied, thanks.

------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to