[ovs-git] [openvswitch/ovs] 8e4e45: ofproto-dpif-xlate: makes OVS native tunneling hon...

GitHub noreply at github.com
Wed Apr 18 23:37:15 UTC 2018

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 8e4e45887ec3eb5f5833fd7b415b63ff47fc9642
  Author: wenxu <wenxu at ucloud.cn>
  Date:   2018-04-18 (Wed, 18 Apr 2018)

  Changed paths:
    M lib/ovs-router.c
    M lib/ovs-router.h
    M lib/route-table.c
    M ofproto/ofproto-dpif-sflow.c
    M ofproto/ofproto-dpif-xlate.c

  Log Message:
  ofproto-dpif-xlate: makes OVS native tunneling honor tunnel-specified source addresses

It makes OVS native tunneling honor tunnel-specified source addresses,
in the same way that Linux kernel tunneling honors them.

This patch made valid tun_src specified by flow-action can be used for
tunnel_src of packet. add a "local" property for a route entry and enhance
the priority of local route higher than user route.
Like the kernel space when lookup the route, if there are tun_src specified
by flow-action or port options. Check the tun_src wheather is a local
address, then lookup the route.

Signed-off-by: wenxu <wenxu at ucloud.cn>
Signed-off-by: frank.zeng <frank.zeng at ucloud.cn>
Signed-off-by: Ben Pfaff <blp at ovn.org>

More information about the git mailing list