blob: e6d7305a688d41037738bff90504f7b1c312702d [file] [log] [blame]
David Lamparter5bb7e4d2013-02-26 17:53:30 +01001set timeout 10
2set testprefix "testbgpmpattr "
3set aborted 0
4set color 1
5
6spawn "./testbgpmpattr"
7
8# proc simpletest { start } {
9
David Lamparter85c63b82014-11-22 10:31:44 -080010simpletest "IPv6: IPV6 MP Reach, global nexthop, 1 NLRI"
11simpletest "IPv6-2: IPV6 MP Reach, global nexthop, 2 NLRIs"
12simpletest "IPv6-default: IPV6 MP Reach, global nexthop, 2 NLRIs + default"
13simpletest "IPv6-lnh: IPV6 MP Reach, global+local nexthops, 2 NLRIs + default"
David Lamparter5bb7e4d2013-02-26 17:53:30 +010014simpletest "IPv6-nhlen: IPV6 MP Reach, inappropriate nexthop length"
15simpletest "IPv6-nhlen2: IPV6 MP Reach, invalid nexthop length"
16simpletest "IPv6-nhlen3: IPV6 MP Reach, nexthop length overflow"
17simpletest "IPv6-nhlen4: IPV6 MP Reach, nexthop length short"
18simpletest "IPv6-nlri: IPV6 MP Reach, NLRI bitlen overflow"
19simpletest "IPv4: IPv4 MP Reach, 2 NLRIs + default"
20simpletest "IPv4-nhlen: IPv4 MP Reach, nexthop lenth overflow"
21simpletest "IPv4-nlrilen: IPv4 MP Reach, nlri lenth overflow"
Paul Jakma18ab08b2016-01-27 16:37:33 +000022simpletest "IPv4-VPNv4: IPv4/VPNv4 MP Reach, RD, Nexthop, 2 NLRIs"
23simpletest "IPv4-VPNv4-bogus-plen: IPv4/MPLS-labeled VPN MP Reach, RD, Nexthop, NLRI / bogus p'len"
24simpletest "IPv4-VPNv4-plen1-short: IPv4/VPNv4 MP Reach, RD, Nexthop, 2 NLRIs, 1st plen short"
25simpletest "IPv4-VPNv4-plen1-long: IPv4/VPNv4 MP Reach, RD, Nexthop, 2 NLRIs, 1st plen long"
26simpletest "IPv4-VPNv4-plenn-long: IPv4/VPNv4 MP Reach, RD, Nexthop, 3 NLRIs, last plen long"
27simpletest "IPv4-VPNv4-plenn-short: IPv4/VPNv4 MP Reach, RD, Nexthop, 2 NLRIs, last plen short"
28simpletest "IPv4-VPNv4-bogus-rd-type: IPv4/VPNv4 MP Reach, RD, NH, 2 NLRI, unknown RD in 1st (log, but parse)"
29simpletest "IPv4-VPNv4-0-nlri: IPv4/VPNv4 MP Reach, RD, Nexthop, 3 NLRI, 3rd 0 bogus"
David Lamparter5bb7e4d2013-02-26 17:53:30 +010030simpletest "IPv6-bug: IPv6, global nexthop, 1 default NLRI"
David Lamparter85c63b82014-11-22 10:31:44 -080031simpletest "IPv6-unreach: IPV6 MP Unreach, 1 NLRI"
32simpletest "IPv6-unreach2: IPV6 MP Unreach, 2 NLRIs"
33simpletest "IPv6-unreach-default: IPV6 MP Unreach, 2 NLRIs + default"
David Lamparter5bb7e4d2013-02-26 17:53:30 +010034simpletest "IPv6-unreach-nlri: IPV6 MP Unreach, NLRI bitlen overflow"
35simpletest "IPv4-unreach: IPv4 MP Unreach, 2 NLRIs + default"
36simpletest "IPv4-unreach-nlrilen: IPv4 MP Unreach, nlri length overflow"
Paul Jakma18ab08b2016-01-27 16:37:33 +000037simpletest "IPv4-unreach-VPNv4: IPv4/MPLS-labeled VPN MP Unreach, RD, 3 NLRIs"
David Lamparter5bb7e4d2013-02-26 17:53:30 +010038