[ovs-git] [openvswitch/ovs] 213cc0: packets: Introduce in6_addr_mapped_ipv4() and use ...

GitHub noreply at github.com
Fri Dec 4 16:55:31 UTC 2015


  Branch: refs/heads/branch-2.5
  Home:   https://github.com/openvswitch/ovs
  Commit: 213cc0545d3dd430b9a08abf8ac4570c1c2c42a4
      https://github.com/openvswitch/ovs/commit/213cc0545d3dd430b9a08abf8ac4570c1c2c42a4
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2015-12-04 (Fri, 04 Dec 2015)

  Changed paths:
    M lib/mcast-snooping.c
    M lib/ovs-router.c
    M lib/packets.c
    M lib/packets.h
    M lib/tnl-neigh-cache.c
    M lib/tnl-ports.c
    M ofproto/ofproto-dpif-xlate.c

  Log Message:
  -----------
  packets: Introduce in6_addr_mapped_ipv4() and use where appropriate.

This allows code to be written more naturally in some cases.

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>


  Commit: aee642cd3a80ad7e51f4aee8386a5eb4860d646a
      https://github.com/openvswitch/ovs/commit/aee642cd3a80ad7e51f4aee8386a5eb4860d646a
  Author: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
  Date:   2015-12-04 (Fri, 04 Dec 2015)

  Changed paths:
    M lib/netdev-vport.c
    M lib/odp-util.c
    M lib/packets.c
    M lib/packets.h
    M ofproto/ofproto-dpif-xlate.c
    M ofproto/tunnel.c
    M ofproto/tunnel.h
    M tests/odp.at

  Log Message:
  -----------
  netdev-vport: Add IPv6 support for build/push/pop tunnel header

This includes VXLAN, GRE and Geneve.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: 16e5c11cee5c46b61b053162830815d465bb49c0
      https://github.com/openvswitch/ovs/commit/16e5c11cee5c46b61b053162830815d465bb49c0
  Author: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
  Date:   2015-12-04 (Fri, 04 Dec 2015)

  Changed paths:
    M lib/packets.c
    M lib/packets.h
    M ofproto/ofproto-dpif-xlate.c

  Log Message:
  -----------
  ofproto-dpif-xlate: Support IPv6 when sending to tunnel

When doing push/pop and building tunnel header, do IPv6 route lookups and send
Neighbor Solicitations if needed.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
Cc: Flavio Leitner <fbl at sysclose.org>
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: 4c825e5ed9d0800b4aff9078cdfb37cb3b87136c
      https://github.com/openvswitch/ovs/commit/4c825e5ed9d0800b4aff9078cdfb37cb3b87136c
  Author: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
  Date:   2015-12-04 (Fri, 04 Dec 2015)

  Changed paths:
    M lib/tnl-neigh-cache.c
    M lib/tnl-neigh-cache.h

  Log Message:
  -----------
  tnl-neigh-cache: Remove tnl_arp_lookup().

tnl_arp_lookup is not used anymore. All users have been converted to
IPv4-mapped addresses. New users need to use IPv4-mapped addresses and use
tnl_neigh_lookup.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: 7df824b2577fc80784d4f2481472c94dad164a1a
      https://github.com/openvswitch/ovs/commit/7df824b2577fc80784d4f2481472c94dad164a1a
  Author: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
  Date:   2015-12-04 (Fri, 04 Dec 2015)

  Changed paths:
    M lib/meta-flow.c
    M lib/meta-flow.h
    M lib/nx-match.c
    M tests/ofproto.at

  Log Message:
  -----------
  Allow flow-based IPv6 tunnels to be configured with OpenFlow

With this patch, it is possible to set the IPv6 source and destination address
in flow-based tunnels.

$ ovs-ofctl add-flow br0 "in_port=LOCAL actions=set_field:2001:cafe::92->tun_ipv6_dst"

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
Signed-off-by: Jiri Benc <jbenc at redhat.com>
Co-authored-by: Jiri Benc <jbenc at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: 31d9eef1cec4923d061f2535bc161e7674b93a9a
      https://github.com/openvswitch/ovs/commit/31d9eef1cec4923d061f2535bc161e7674b93a9a
  Author: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
  Date:   2015-12-04 (Fri, 04 Dec 2015)

  Changed paths:
    M lib/netdev-dummy.c
    M tests/automake.mk
    M tests/testsuite.at
    A tests/tunnel-push-pop-ipv6.at

  Log Message:
  -----------
  tests: Add tunnel-push-pop-ipv6 tests

Based on IPv4 tests, test tunnels over IPv6. In order to do that, add
netdev-dummy/ip6addr command for dummy bridges, and get_in6 support for
netdev-dummy as well.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/527198662ffa...31d9eef1cec4


More information about the git mailing list