[ovs-dev] [PATCH v9 0/4] ovn IPv6: Add Router Solicitation responder support and generate Neighbor Solicitation request for unknown

nusiddiq at redhat.com nusiddiq at redhat.com
Mon Oct 2 16:11:09 UTC 2017

From: Numan Siddique <nusiddiq at redhat.com>

v8 -> v9
Addressed review comments in patch 2 and patch 4.

v7 -> v8
Rebased p2.

v6 -> v7
In version 7, a new patch p4 is added which adds the support to generate a Neighbor Solicitation packet for IPv6
packets whose destination MAC is still unresolved by the time it reaches the ARP_REQUEST router ingress pipeline.
To support this a new action "nd_ns" is added.

p2 - Added the missing code required to parse 'put_nd_ra_opts' in ovn-trace.c which was missed out in the previous versions.

v5 -> v6
Addressed review comments in p2. 'put_nd_ra_opts' action now encodes the ICMPv6 RA
complete data in the 'userdata' field of the controller action.

v4 -> v5
There were some unrelated changes which cropped in when rebasing in v4 p1.
Corrected it in v5.

v3 -> v4
Resolved the merge conflicts and rebased it.
Patch 3 - Addressed review comments from v3

v2 -> v3
Fixed the checkpatch errors and review comments from v2

v1 -> v2

The patches p1 and p2 of v1 are merged. p3 of v1 is dropped.


This patch series supports IPv6 Router solicitation responder support.
This patch series picks up from the patches from here [1] and reset the version
to 1 since few of the patches were accepted.

In this new series continuations are used to support this feature.
When IPv6 RS packet is received, it is sent to ovn-controller which applies
the action 'put_nd_ra_opts' to transform it to an IPv6 RA packet and resumes
the packet. ovn-northd adds the necessary flows to respond the RA packet
back to the originating port.

[1] - https://mail.openvswitch.org/pipermail/ovs-dev/2017-May/332008.html

Numan Siddique (3):
  ovn util: Refactor dhcp_opts_map to make it generic
  ovn-controller: Add a new action - 'put_nd_ra_opts'
  ovn: Generate Neighbor Solicitation packet for unknown MAC IPv6

Zong Kai LI (1):
  ovn-northd: Add logical flows to support native IPv6 RA

 include/ovn/actions.h            |  37 +++-
 ovn/controller/lflow.c           |  15 +-
 ovn/controller/pinctrl.c         | 218 +++++++++++++++------
 ovn/lib/actions.c                | 316 ++++++++++++++++++++++++++-----
 ovn/lib/automake.mk              |   2 +-
 ovn/lib/logical-fields.c         |   4 +
 ovn/lib/{ovn-dhcp.h => ovn-l7.h} | 115 +++++++++---
 ovn/northd/ovn-northd.8.xml      | 107 ++++++++++-
 ovn/northd/ovn-northd.c          | 159 +++++++++++++---
 ovn/ovn-nb.ovsschema             |   7 +-
 ovn/ovn-nb.xml                   |  39 ++++
 ovn/ovn-sb.xml                   | 118 ++++++++++++
 ovn/utilities/ovn-trace.c        |  91 +++++++--
 tests/ovn.at                     | 396 +++++++++++++++++++++++++++++++++++++++
 tests/test-ovn.c                 |  16 +-
 15 files changed, 1443 insertions(+), 197 deletions(-)
 rename ovn/lib/{ovn-dhcp.h => ovn-l7.h} (63%)


More information about the dev mailing list