diff options
author | Anders K. Pedersen <akp@cohaesio.com> | 2016-10-29 03:12:41 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2016-10-29 03:12:41 +0200 |
commit | 6bc84e04c40a2497c4c416556df09e2782059e1c (patch) | |
tree | 459c92b5ec75e84951e9facb42d3361a38ec6784 /tests/py/any/rt.t.payload | |
parent | 4a75ed32132d8e2292dd276f3ea7f4edec4f3d06 (diff) |
Replace tests/files/expr-rt with Python based tests, and replace ether type
with meta nfproto, which generates a bit fewer instructions.
Signed-off-by: Anders K. Pedersen <akp@cohaesio.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/py/any/rt.t.payload')
-rw-r--r-- | tests/py/any/rt.t.payload | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/py/any/rt.t.payload b/tests/py/any/rt.t.payload new file mode 100644 index 00000000..0e354fa0 --- /dev/null +++ b/tests/py/any/rt.t.payload @@ -0,0 +1,5 @@ +# rt classid "cosmos" +ip test-ip4 input + [ rt load classid => reg 1 ] + [ cmp eq reg 1 0x00000000 ] + |