]> The Tcpdump Group git mirrors - tcpdump/commitdiff
OpenFlow 1.0: add OFPT_VENDOR messages test case
authorDenis Ovsienko <[email protected]>
Thu, 28 Nov 2013 07:16:30 +0000 (11:16 +0400)
committerDenis Ovsienko <[email protected]>
Thu, 28 Nov 2013 07:18:48 +0000 (11:18 +0400)
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).

tests/TESTLIST
tests/of10_7050q-v.out [new file with mode: 0644]
tests/of10_7050q.pcap [new file with mode: 0644]

index 7c7a0059880bccc9be2f1776f1c1bee532c20997..abd2132bf3f7483de909fab92ca5011532d34bae 100644 (file)
@@ -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 (file)
index 0000000..faa8045
--- /dev/null
@@ -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 (file)
index 0000000..43602af
Binary files /dev/null and b/tests/of10_7050q.pcap differ