Skip to content

Commit

Permalink
system-common-macros: Check for ct_clear action in datapath
Browse files Browse the repository at this point in the history
New macro OVS_CHECK_CT_CLEAR() to check if ct_clear action is supported
by the datapath.

Signed-off-by: Eric Garver <[email protected]>
Tested-by: William Tu <[email protected]>
Acked-by: Flavio Leitner <[email protected]>
Signed-off-by: Justin Pettit <[email protected]>
  • Loading branch information
erig0 authored and justinpettit committed Jan 20, 2018
1 parent 1fe178d commit 08becaa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/system-common-macros.at
Original file line number Diff line number Diff line change
Expand Up @@ -319,3 +319,7 @@ m4_define([OVS_CHECK_8021AD],
# OVS_CHECK_IPROUTE_ENCAP()
m4_define([OVS_CHECK_IPROUTE_ENCAP],
[AT_SKIP_IF([! ip route help 2>&1 |grep encap >/dev/null])])

# OVS_CHECK_CT_CLEAR()
m4_define([OVS_CHECK_CT_CLEAR],
[AT_SKIP_IF([! grep -q "Datapath supports ct_clear action" ovs-vswitchd.log])])

0 comments on commit 08becaa

Please sign in to comment.