diff options
author | Numan Siddique <nusiddiq@redhat.com> | 2019-04-23 00:53:51 +0530 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2019-04-22 12:56:52 -0700 |
commit | 5e35f78ad6e5ac04768b410169ab7b3272f04ac1 (patch) | |
tree | 3e1287703155913f02528ddb7f83046f6d0b65ca /tests | |
parent | 086470cdbe66522a1cfff96eb68073e4176684be (diff) | |
download | openvswitch-5e35f78ad6e5ac04768b410169ab7b3272f04ac1.tar.gz |
ovn: Add a new OVN action 'icmp4_error'
This action is similar to the existing 'icmp4' OVN action except that
that this action is expected to be used to generate an ICMPv4 packet
in response to an error in original IP packet. When this action
injects the icmpv4 packet, it also copies the original IP datagram
following the icmp4 header as per RFC 1122: 3.2.2
Signed-off-by: Numan Siddique <nusiddiq@redhat.com>
Acked-by: Mark Michelson <mmichels@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ovn.at | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ovn.at b/tests/ovn.at index 901e3e96b..9bc652195 100644 --- a/tests/ovn.at +++ b/tests/ovn.at @@ -1295,6 +1295,21 @@ icmp4 { eth.dst = ff:ff:ff:ff:ff:ff; icmp4.frag_mtu = 1500; output; }; output; encodes as controller(userdata=00.00.00.0a.00.00.00.00.00.19.00.10.80.00.06.06.ff.ff.ff.ff.ff.ff.00.00.ff.ff.00.28.00.00.23.20.00.25.00.00.00.00.00.00.00.03.00.0e.00.00.00.0d.00.00.00.00.05.dc.00.00.00.04.00.04.00.00.00.00.ff.ff.00.10.00.00.23.20.00.0e.ff.f8.40.00.00.00),resubmit(,64) has prereqs ip4 +# icmp4_error +icmp4_error { eth.dst = ff:ff:ff:ff:ff:ff; output; }; output; + encodes as controller(userdata=00.00.00.0e.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) + has prereqs ip4 + +icmp4_error { }; + formats as icmp4_error { drop; }; + encodes as controller(userdata=00.00.00.0e.00.00.00.00) + has prereqs ip4 + +# icmp4_error with icmp4.frag_mtu +icmp4_error { eth.dst = ff:ff:ff:ff:ff:ff; icmp4.frag_mtu = 1500; output; }; output; + encodes as controller(userdata=00.00.00.0e.00.00.00.00.00.19.00.10.80.00.06.06.ff.ff.ff.ff.ff.ff.00.00.ff.ff.00.28.00.00.23.20.00.25.00.00.00.00.00.00.00.03.00.0e.00.00.00.0d.00.00.00.00.05.dc.00.00.00.04.00.04.00.00.00.00.ff.ff.00.10.00.00.23.20.00.0e.ff.f8.40.00.00.00),resubmit(,64) + has prereqs ip4 + icmp4.frag_mtu = 1500; encodes as controller(userdata=00.00.00.0d.00.00.00.00.05.dc,pause) |