]> The Tcpdump Group git mirrors - tcpdump/commitdiff
add testcases for IS-IS POI (rfc6232)
authorHannes Gredler <[email protected]>
Wed, 20 May 2015 17:29:29 +0000 (19:29 +0200)
committerHannes Gredler <[email protected]>
Wed, 20 May 2015 17:29:29 +0000 (19:29 +0200)
tests/TESTLIST
tests/isis_poi.out [new file with mode: 0644]
tests/isis_poi.pcap [new file with mode: 0644]
tests/isis_poi2.out [new file with mode: 0644]
tests/isis_poi2.pcap [new file with mode: 0644]

index 2a08ad67501aa6f7309564140afff687daf29038..b0bf5ee56f3e9ddb4f0151e1380ccee3d811ccc3 100644 (file)
@@ -217,6 +217,8 @@ pimv2_hellos-v              PIMv2_hellos.pcap               pimv2_hellos-v.out      -t -v
 
 # IS-IS tests
 isis_infloop-v isis-infinite-loop.pcap         isis_infloop-v.out      -t -v
+isis_poi-v      isis_poi.pcap                   isis_poi.out            -t -v
+isis_poi2-v     isis_poi2.pcap                  isis_poi2.out           -t -v
 
 # RSVP tests
 rsvp_infloop-v rsvp-infinite-loop.pcap         rsvp_infloop-v.out      -t -v
diff --git a/tests/isis_poi.out b/tests/isis_poi.out
new file mode 100644 (file)
index 0000000..129734b
--- /dev/null
@@ -0,0 +1,8 @@
+IS-IS, length 43
+       L2 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         lsp-id: 1280.9201.9098.00-00, seq: 0x000001e2, lifetime:     0s
+         chksum: 0x0000 (unverified), PDU length: 43, Flags: [ L2 IS ]
+           Purge Originator Identifier TLV #13, length: 7
+             Purge Originator System-ID: 1280.9202.0074
+           Hostname TLV #137, length: 5
+             Hostname: P2_re
diff --git a/tests/isis_poi.pcap b/tests/isis_poi.pcap
new file mode 100644 (file)
index 0000000..fdd433c
Binary files /dev/null and b/tests/isis_poi.pcap differ
diff --git a/tests/isis_poi2.out b/tests/isis_poi2.out
new file mode 100644 (file)
index 0000000..10eecca
--- /dev/null
@@ -0,0 +1,9 @@
+IS-IS, length 49
+       L2 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         lsp-id: 1280.9201.7082.00-00, seq: 0x0000023f, lifetime:     0s
+         chksum: 0x0000 (unverified), PDU length: 49, Flags: [ L2 IS ]
+           Purge Originator Identifier TLV #13, length: 13
+             Purge Originator System-ID: 1280.9202.7092
+             Received from System-ID: 1280.9202.0074
+           Hostname TLV #137, length: 5
+             Hostname: P1_re
diff --git a/tests/isis_poi2.pcap b/tests/isis_poi2.pcap
new file mode 100644 (file)
index 0000000..8174524
Binary files /dev/null and b/tests/isis_poi2.pcap differ