[ovs-dev] [PATCH v1 1/3 ovn] OVN: ADD new ovn actions to replace source and destination ip

Ankur Sharma ankur.sharma at nutanix.com
Fri Oct 4 20:15:33 UTC 2019


Hi Ben,

Submitted a v2 without new OVN actions.
Ease of interpretation was the reasoning for having these actions, but
you are right they were redundant.

Regards,
Ankur

-----Original Message-----
From: Ben Pfaff <blp at ovn.org> 
Sent: Friday, October 4, 2019 10:37 AM
To: Ankur Sharma <ankur.sharma at nutanix.com>
Cc: ovs-dev at openvswitch.org
Subject: Re: [ovs-dev] [PATCH v1 1/3 ovn] OVN: ADD new ovn actions to replace source and destination ip

On Fri, Oct 04, 2019 at 01:55:38AM +0000, Ankur Sharma wrote:
> This patch adds 2 new ovn actions, "replace_src_ip" and 
> "replace_dst_ip"
> 
> These actions map to mod_nw_src and mod_nw_dst OVS actions 
> respectively. These actions simply replace the source and destination 
> IPs of the packets, while changing the L3 and
> L4 checksums.
> 
> Signed-off-by: Ankur Sharma <ankur.sharma at nutanix.com>

This is not necessary.  Use "ip4.dst = <address>;" or "ip4.src = <address>:".


More information about the dev mailing list