Document and expose datapath ND Extensions capability to ovsdb.
Fixes: d0d571493 ("ofproto-dpif: Allow IPv6 ND Extensions only if supported")
Signed-off-by: Flavio Leitner <fbl@sysclose.org>
Signed-off-by: Ben Pfaff <blp@ovn.org>
smap_add(cap, "ct_state_nat", odp.ct_state_nat ? "true" : "false");
smap_add(cap, "ct_orig_tuple", odp.ct_orig_tuple ? "true" : "false");
smap_add(cap, "ct_orig_tuple6", odp.ct_orig_tuple6 ? "true" : "false");
+ smap_add(cap, "nd_ext", odp.nd_ext ? "true" : "false");
/* DPIF_SUPPORT_FIELDS */
smap_add(cap, "masked_set_action", s.masked_set_action ? "true" : "false");
packet to be sent to the Open vSwitch slow path, which is likely to
make it too slow for mirroring traffic in bulk.
</column>
+ <column name="capabilities" key="nd_ext" type='{"type": "boolean"}'>
+ True if the datapath supports OVS_KEY_ATTR_ND_EXTENSIONS to match on
+ ICMPv6 "ND reserved" and “ND option type“ header fields. If false,
+ the datapath reports error if the feature is used.
+ </column>
<group title="Clone Actions">
<p>
When Open vSwitch translates actions from OpenFlow into the datapath