Hi,

On Wed, 20 Mar 2013 21:33:12 +0100
Christopher Scherb <[email protected]> wrote:

> I have RYU and two Pica8 switches for academic usage.
> This combination works very well with Openflow 1.0.
> Now we got an update of the operating system of the switches.
> Now they run with Openflow 1.2. I could successful port almost all of
> my program to Openflow 1.2.
> But I couldn't find out how to create an action which applies a
> network address translation.
> Using the ofproto_v1_0_parser there is a class OFPActionSetNwSrc and a
> class OFPActionSetNwDst,
> which can be used to install a flow which modifies the IP addresses of a 
> packet.
> 
> How can I do this using the ofproto_v1_2_parser?

The following code would help:

https://github.com/osrg/ryu/blob/master/ryu/tests/integrated/test_add_flow_v12_actions.py#L333

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to