On Tue, 08 Jul 2014 15:00:51 +0900
"takahashi.minoru" <[email protected]> wrote:

> this patch makes ofctl_rest enable use of Port Modification Message.
> 
> usage)
> 
>   URI:    /stats/portdesc/modify
>   method: POST
> 
> the message body is as follows:
> 
>   dpid
>   port_no    (default:0)
>   config     (default:0)
>   hw_addr    (default:automatic-setting)
>   mask       (default:0)
>   advertise  (default:automatic-setting)
> 
> e.g. )
> 
>   curl -X POST -d '{"dpid": 1,
>                     "port_no": 1,
>                     "mask": 0b0000001,
>                     "config": 0b0000001}' 
> http://localhost:8080/stats/portdesc/modify
> 
> Signed-off-by: TAKAHASHI Minoru <[email protected]>
> ---
>  ryu/app/ofctl_rest.py |   49 
> +++++++++++++++++++++++++++++++++++++++++++++++++
>  ryu/lib/ofctl_v1_0.py |   13 +++++++++++++
>  ryu/lib/ofctl_v1_2.py |   13 +++++++++++++
>  ryu/lib/ofctl_v1_3.py |   13 +++++++++++++
>  4 files changed, 88 insertions(+)

Applied both, thanks.


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to