Hi,

Are you trying to rewrite IP address of packets by using rest_qos.py?
I thinks rest_qos.py does not have such feature.

How about using ofctl_rest.py instead?
See the "SET_FIELD" action at the following.
   
http://ryu.readthedocs.io/en/latest/app/ofctl_rest.html#description-of-actions-on-request-messages

Thanks,
Iwase


On 2016年08月06日 18:14, wesam kh wrote:
> hi every one
> I have multi host and multi switch when the first host (10.0.0.1) send packet 
> to forth host (10.0.0.4).
> I need to send order to switch automatically to convert the request to 
> another host may the third hsot (10.0.0.3) by using IP or mac address  ???
> this code send to switch if the source (10.0.0.1) and the destination 
> (10.0.0.4) make the queue =1
> but my question to put the action (nw_dst=10.0.0.3) ???
> how can I doing that??
>
>
> root@ryu-vm:~# curl -X POST -d ’{"match":"nw_src": "10.0.0.1", {"nw_dst": 
> "10.0.0.4", "nw_proto": "UDP", "tp_dst":"5002"}, "actions":{"queue": "1"}}’ 
> http://localhost:8080/qos/rules/0000000000000001
>
> thank you in advance
>
>
>
>
>
> Wisam Maala
>
>
>
> ------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>

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

Reply via email to