diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/TESTLIST | 1 | ||||
-rw-r--r-- | tests/isis_cap_tlv.out | 5 | ||||
-rw-r--r-- | tests/isis_iid_tlv.out | 40 | ||||
-rw-r--r-- | tests/isis_sr.out | 17 | ||||
-rw-r--r-- | tests/isis_sr.pcap | bin | 0 -> 220 bytes |
5 files changed, 45 insertions, 18 deletions
diff --git a/tests/TESTLIST b/tests/TESTLIST index 6f79ad6f..c178f24f 100644 --- a/tests/TESTLIST +++ b/tests/TESTLIST @@ -312,6 +312,7 @@ isis_3-v ISIS_level2_adjacency.pcap isis_3-v.out -v isis_4-v ISIS_p2p_adjacency.pcap isis_4-v.out -v isis_cap_tlv isis_cap_tlv.pcap isis_cap_tlv.out -v isis_iid-v isis_iid_tlv.pcap isis_iid_tlv.out -v +isis_sr-v isis_sr.pcap isis_sr.out -v # fuzzed pcap # isis-seg-fault-1-v is now conditionally handled by isis-seg-fault-1-v.sh isis-seg-fault-2-v isis-seg-fault-2.pcapng isis-seg-fault-2-v.out -v diff --git a/tests/isis_cap_tlv.out b/tests/isis_cap_tlv.out index 336dc745..e47f28b6 100644 --- a/tests/isis_cap_tlv.out +++ b/tests/isis_cap_tlv.out @@ -85,5 +85,6 @@ IPv4 prefix: 172.16.11.0/24, Distribution: up, Metric: 63 IPv4 prefix: 192.168.0.1/32, Distribution: up, Metric: 63 IS-IS Router Capability TLV #242, length: 8 - Router-id: 192.168.0.1 - Flags: [none] + Router-ID 192.168.0.1, Flags [none] + unknown subTLV #19, length: 1 + 0x0000: 00 diff --git a/tests/isis_iid_tlv.out b/tests/isis_iid_tlv.out index 4bd13e32..b4865492 100644 --- a/tests/isis_iid_tlv.out +++ b/tests/isis_iid_tlv.out @@ -445,8 +445,9 @@ Extended IS Reachability TLV #22, length: 11 IS Neighbor: 2222.2222.2222.00, Metric: 10, no sub-TLVs present IS-IS Router Capability TLV #242, length: 9 - Router-id: 1.1.1.1 - Flags: [none] + Router-ID 1.1.1.1, Flags [none] + unknown subTLV #27, length: 2 + 0x0000: fa00 IPv4 Interface address(es) TLV #132, length: 8 IPv4 interface address: 2.2.2.1 IPv4 interface address: 1.1.1.1 @@ -466,8 +467,9 @@ Extended IS Reachability TLV #22, length: 11 IS Neighbor: 2222.2222.2222.00, Metric: 10, no sub-TLVs present IS-IS Router Capability TLV #242, length: 9 - Router-id: 1.1.1.1 - Flags: [none] + Router-ID 1.1.1.1, Flags [none] + unknown subTLV #27, length: 2 + 0x0000: fa00 IPv4 Interface address(es) TLV #132, length: 8 IPv4 interface address: 2.2.2.1 IPv4 interface address: 1.1.1.1 @@ -530,8 +532,9 @@ Extended IS Reachability TLV #22, length: 11 IS Neighbor: 2222.2222.2222.00, Metric: 10, no sub-TLVs present IS-IS Router Capability TLV #242, length: 9 - Router-id: 1.1.1.1 - Flags: [none] + Router-ID 1.1.1.1, Flags [none] + unknown subTLV #27, length: 2 + 0x0000: fa00 IPv4 Interface address(es) TLV #132, length: 8 IPv4 interface address: 2.2.2.1 IPv4 interface address: 1.1.1.1 @@ -551,8 +554,9 @@ Extended IS Reachability TLV #22, length: 11 IS Neighbor: 2222.2222.2222.00, Metric: 10, no sub-TLVs present IS-IS Router Capability TLV #242, length: 9 - Router-id: 1.1.1.1 - Flags: [none] + Router-ID 1.1.1.1, Flags [none] + unknown subTLV #27, length: 2 + 0x0000: fa00 IPv4 Interface address(es) TLV #132, length: 8 IPv4 interface address: 2.2.2.1 IPv4 interface address: 1.1.1.1 @@ -572,8 +576,9 @@ Extended IS Reachability TLV #22, length: 11 IS Neighbor: 1111.1111.1111.00, Metric: 10, no sub-TLVs present IS-IS Router Capability TLV #242, length: 9 - Router-id: 1.1.1.2 - Flags: [none] + Router-ID 1.1.1.2, Flags [none] + unknown subTLV #27, length: 2 + 0x0000: fa00 IPv4 Interface address(es) TLV #132, length: 8 IPv4 interface address: 2.2.2.2 IPv4 interface address: 1.1.1.2 @@ -593,8 +598,9 @@ Extended IS Reachability TLV #22, length: 11 IS Neighbor: 1111.1111.1111.00, Metric: 10, no sub-TLVs present IS-IS Router Capability TLV #242, length: 9 - Router-id: 1.1.1.2 - Flags: [none] + Router-ID 1.1.1.2, Flags [none] + unknown subTLV #27, length: 2 + 0x0000: fa00 IPv4 Interface address(es) TLV #132, length: 8 IPv4 interface address: 2.2.2.2 IPv4 interface address: 1.1.1.2 @@ -616,8 +622,9 @@ Extended IS Reachability TLV #22, length: 11 IS Neighbor: 1111.1111.1111.00, Metric: 10, no sub-TLVs present IS-IS Router Capability TLV #242, length: 9 - Router-id: 1.1.1.2 - Flags: [none] + Router-ID 1.1.1.2, Flags [none] + unknown subTLV #27, length: 2 + 0x0000: fa00 Extended IPv4 Reachability TLV #135, length: 9 IPv4 prefix: 2.2.2.1/32, Distribution: up, Metric: 20 IPv4 Interface address(es) TLV #132, length: 8 @@ -639,8 +646,9 @@ Extended IS Reachability TLV #22, length: 11 IS Neighbor: 2222.2222.2222.00, Metric: 10, no sub-TLVs present IS-IS Router Capability TLV #242, length: 9 - Router-id: 1.1.1.1 - Flags: [none] + Router-ID 1.1.1.1, Flags [none] + unknown subTLV #27, length: 2 + 0x0000: fa00 Extended IPv4 Reachability TLV #135, length: 9 IPv4 prefix: 2.2.2.2/32, Distribution: up, Metric: 20 IPv4 Interface address(es) TLV #132, length: 8 diff --git a/tests/isis_sr.out b/tests/isis_sr.out new file mode 100644 index 00000000..95151143 --- /dev/null +++ b/tests/isis_sr.out @@ -0,0 +1,17 @@ + 1 18:42:19.016934 IS-IS, length 97 + L1 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0) + lsp-id: 1920.0000.0008.00-00, seq: 0x00000031, lifetime: 65534s + chksum: 0xc3ad (correct), PDU length: 97, Flags: [ L2 IS ] + Area address(es) TLV #1, length: 4 + Area address (length: 3): 49.0002 + Protocols supported TLV #129, length: 2 + NLPID(s): IPv6 (0x8e), IPv4 (0xcc) + Extended IPv4 Reachability TLV #135, length: 27 + IPv4 prefix: 10.0.27.0/31, Distribution: up, Metric: 1000000 + IPv4 prefix: 7.7.7.1/32, Distribution: up, Metric: 1000000, sub-TLVs present (8) + Prefix SID subTLV #3, length: 6, Flags [Node], Algo SPF (0), index 40 + Extended IS Reachability TLV #22, length: 11 + IS Neighbor: 1921.6800.1003.00, Metric: 1000000, no sub-TLVs present + IS-IS Router Capability TLV #242, length: 16 + Router-ID 7.7.7.1, Flags [none] + SR-Capabilities subTLV #2, length: 9, Flags [ipv4, ipv6], Range 1000, SID value 4000 diff --git a/tests/isis_sr.pcap b/tests/isis_sr.pcap Binary files differnew file mode 100644 index 00000000..c9a069e3 --- /dev/null +++ b/tests/isis_sr.pcap |