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

Ben Pfaff blp at ovn.org
Fri Oct 4 17:36:35 UTC 2019


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