This may help debugging difficult controller problems.

Reported-by: Su Wang <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
---
 lib/ofp-actions.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/ofp-actions.c b/lib/ofp-actions.c
index 49e086eee6f3..1d364f98bbd1 100644
--- a/lib/ofp-actions.c
+++ b/lib/ofp-actions.c
@@ -9221,6 +9221,9 @@ ofpact_decode_raw(enum ofp_version ofp_version,
         }
     }
 
+    VLOG_WARN_RL(&rl, "unknown %s action for vendor %#"PRIx32" and "
+                 "type %"PRIu16, ofputil_version_to_string(ofp_version),
+                 hdrs.vendor, hdrs.type);
     return (hdrs.vendor
             ? OFPERR_OFPBAC_BAD_VENDOR_TYPE
             : OFPERR_OFPBAC_BAD_TYPE);
-- 
2.10.2

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to