summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2013-11-28 11:16:30 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2013-11-28 11:18:48 +0400
commitde2552832f22179dce48d9839ba7ceeae0d119ab (patch)
tree2d616d20ef98a483250c651912ed5aa9bfe59157 /tests
parentb20004a733df0469796a0b07f7cb1617308db19a (diff)
downloadtcpdump-de2552832f22179dce48d9839ba7ceeae0d119ab.tar.gz
OpenFlow 1.0: add OFPT_VENDOR messages test case
This capture was produced using an Arista DCS-7050Q-16 switch running EOS-4.10.4 software. The controller sends two vendor messages (BSN_GET_IP_MASK_REQUEST and BSN_GET_MIRRORING_REQUEST) and the switch sends a reply for each (BSN_GET_IP_MASK_REPLY and BSN_GET_MIRRORING_REPLY respectively).
Diffstat (limited to 'tests')
-rw-r--r--tests/TESTLIST1
-rw-r--r--tests/of10_7050q-v.out18
-rw-r--r--tests/of10_7050q.pcapbin0 -> 588 bytes
3 files changed, 19 insertions, 0 deletions
diff --git a/tests/TESTLIST b/tests/TESTLIST
index 7c7a0059..abd2132b 100644
--- a/tests/TESTLIST
+++ b/tests/TESTLIST
@@ -152,6 +152,7 @@ tfo tfo-5c1fa7f9ae91.pcap tfo.out -t
of10_p3295-vv of10_p3295.pcap of10_p3295-vv.out -t -vv
of10_s4810-vvvv of10_s4810.pcap of10_s4810-vvvv.out -t -vvvv
of10_pf5240-vv of10_pf5240.pcap of10_pf5240-vv.out -t -vv
+of10_7050q-v of10_7050q.pcap of10_7050q-v.out -t -v
# GeoNetworking and CALM FAST tests
geonet-calm-fast geonet_and_calm_fast.pcap geonet_and_calm_fast.out -t -vv -n
diff --git a/tests/of10_7050q-v.out b/tests/of10_7050q-v.out
new file mode 100644
index 00000000..faa8045d
--- /dev/null
+++ b/tests/of10_7050q-v.out
@@ -0,0 +1,18 @@
+IP (tos 0x0, ttl 64, id 53965, offset 0, flags [DF], proto TCP (6), length 104)
+ 10.0.0.80.6633 > 86.139.225.177.57145: Flags [P.], cksum 0xddb3 (correct), seq 3804035784:3804035836, ack 3936946676, win 136, options [nop,nop,TS val 256259488 ecr 12980962], length 52: OpenFlow
+ version 1.0, type VENDOR, length 24, xid 0x00000018, vendor 0x005c16c7
+ data (12 octets)
+ version 1.0, type VENDOR, length 20, xid 0x00000019, vendor 0x005c16c7
+ data (8 octets)
+ version 1.0, type BARRIER_REQUEST, length 8, xid 0x0000001a
+IP (tos 0x0, ttl 44, id 2943, offset 0, flags [DF], proto TCP (6), length 76)
+ 86.139.225.177.57145 > 10.0.0.80.6633: Flags [P.], cksum 0xf75f (correct), seq 1:25, ack 52, win 54, options [nop,nop,TS val 12980987 ecr 256259488], length 24: OpenFlow
+ version 1.0, type VENDOR, length 24, xid 0x00000018, vendor 0x005c16c7
+ data (12 octets)
+IP (tos 0x0, ttl 64, id 53966, offset 0, flags [DF], proto TCP (6), length 52)
+ 10.0.0.80.6633 > 86.139.225.177.57145: Flags [.], cksum 0x42b3 (incorrect -> 0x0ee3), ack 25, win 136, options [nop,nop,TS val 256259628 ecr 12980987], length 0
+IP (tos 0x0, ttl 44, id 2944, offset 0, flags [DF], proto TCP (6), length 80)
+ 86.139.225.177.57145 > 10.0.0.80.6633: Flags [P.], cksum 0xf55e (correct), seq 25:53, ack 52, win 54, options [nop,nop,TS val 12981023 ecr 256259628], length 28: OpenFlow
+ version 1.0, type VENDOR, length 20, xid 0x00000019, vendor 0x005c16c7
+ data (8 octets)
+ version 1.0, type BARRIER_REPLY, length 8, xid 0x0000001a
diff --git a/tests/of10_7050q.pcap b/tests/of10_7050q.pcap
new file mode 100644
index 00000000..43602af8
--- /dev/null
+++ b/tests/of10_7050q.pcap
Binary files differ