summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2017-01-20 13:41:23 -0800
committerBen Pfaff <blp@ovn.org>2017-01-21 12:25:13 -0800
commitb3bd2c33e83e2039d75e830368a64d596f820aaa (patch)
tree2398a4fbb280395c5e4cc20d4577edee0c5479ca /tests
parent80b6743d0ab3a39884fe873dd616cb49b6f55fab (diff)
downloadopenvswitch-b3bd2c33e83e2039d75e830368a64d596f820aaa.tar.gz
actions: Add new OVN action "clone".
Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Mickey Spiegel <mickeys.dev@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/ovn.at5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ovn.at b/tests/ovn.at
index a514ebbda..67d73c57d 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -867,6 +867,11 @@ ct_snat(foo, bar);
ct_snat();
Syntax error at `)' expecting IPv4 address.
+# clone
+clone { ip4.dst = 255.255.255.255; output; }; next(11);
+ encodes as clone(set_field:255.255.255.255->ip_dst,resubmit(,64)),resubmit(,27)
+ has prereqs eth.type == 0x800
+
# arp
arp { eth.dst = ff:ff:ff:ff:ff:ff; output; }; output;
encodes as controller(userdata=00.00.00.00.00.00.00.00.00.19.00.10.80.00.06.06.ff.ff.ff.ff.ff.ff.00.00.ff.ff.00.10.00.00.23.20.00.0e.ff.f8.40.00.00.00),resubmit(,64)