David Lamparter | 5bb7e4d | 2013-02-26 17:53:30 +0100 | [diff] [blame] | 1 | set timeout 10 |
| 2 | set testprefix "testbgpmpattr " |
| 3 | set aborted 0 |
| 4 | set color 1 |
| 5 | |
| 6 | spawn "./testbgpmpattr" |
| 7 | |
| 8 | # proc simpletest { start } { |
| 9 | |
David Lamparter | 85c63b8 | 2014-11-22 10:31:44 -0800 | [diff] [blame] | 10 | simpletest "IPv6: IPV6 MP Reach, global nexthop, 1 NLRI" |
| 11 | simpletest "IPv6-2: IPV6 MP Reach, global nexthop, 2 NLRIs" |
| 12 | simpletest "IPv6-default: IPV6 MP Reach, global nexthop, 2 NLRIs + default" |
| 13 | simpletest "IPv6-lnh: IPV6 MP Reach, global+local nexthops, 2 NLRIs + default" |
David Lamparter | 5bb7e4d | 2013-02-26 17:53:30 +0100 | [diff] [blame] | 14 | simpletest "IPv6-nhlen: IPV6 MP Reach, inappropriate nexthop length" |
| 15 | simpletest "IPv6-nhlen2: IPV6 MP Reach, invalid nexthop length" |
| 16 | simpletest "IPv6-nhlen3: IPV6 MP Reach, nexthop length overflow" |
| 17 | simpletest "IPv6-nhlen4: IPV6 MP Reach, nexthop length short" |
| 18 | simpletest "IPv6-nlri: IPV6 MP Reach, NLRI bitlen overflow" |
| 19 | simpletest "IPv4: IPv4 MP Reach, 2 NLRIs + default" |
| 20 | simpletest "IPv4-nhlen: IPv4 MP Reach, nexthop lenth overflow" |
| 21 | simpletest "IPv4-nlrilen: IPv4 MP Reach, nlri lenth overflow" |
Paul Jakma | 18ab08b | 2016-01-27 16:37:33 +0000 | [diff] [blame] | 22 | simpletest "IPv4-VPNv4: IPv4/VPNv4 MP Reach, RD, Nexthop, 2 NLRIs" |
| 23 | simpletest "IPv4-VPNv4-bogus-plen: IPv4/MPLS-labeled VPN MP Reach, RD, Nexthop, NLRI / bogus p'len" |
| 24 | simpletest "IPv4-VPNv4-plen1-short: IPv4/VPNv4 MP Reach, RD, Nexthop, 2 NLRIs, 1st plen short" |
| 25 | simpletest "IPv4-VPNv4-plen1-long: IPv4/VPNv4 MP Reach, RD, Nexthop, 2 NLRIs, 1st plen long" |
| 26 | simpletest "IPv4-VPNv4-plenn-long: IPv4/VPNv4 MP Reach, RD, Nexthop, 3 NLRIs, last plen long" |
| 27 | simpletest "IPv4-VPNv4-plenn-short: IPv4/VPNv4 MP Reach, RD, Nexthop, 2 NLRIs, last plen short" |
| 28 | simpletest "IPv4-VPNv4-bogus-rd-type: IPv4/VPNv4 MP Reach, RD, NH, 2 NLRI, unknown RD in 1st (log, but parse)" |
| 29 | simpletest "IPv4-VPNv4-0-nlri: IPv4/VPNv4 MP Reach, RD, Nexthop, 3 NLRI, 3rd 0 bogus" |
David Lamparter | 5bb7e4d | 2013-02-26 17:53:30 +0100 | [diff] [blame] | 30 | simpletest "IPv6-bug: IPv6, global nexthop, 1 default NLRI" |
David Lamparter | 85c63b8 | 2014-11-22 10:31:44 -0800 | [diff] [blame] | 31 | simpletest "IPv6-unreach: IPV6 MP Unreach, 1 NLRI" |
| 32 | simpletest "IPv6-unreach2: IPV6 MP Unreach, 2 NLRIs" |
| 33 | simpletest "IPv6-unreach-default: IPV6 MP Unreach, 2 NLRIs + default" |
David Lamparter | 5bb7e4d | 2013-02-26 17:53:30 +0100 | [diff] [blame] | 34 | simpletest "IPv6-unreach-nlri: IPV6 MP Unreach, NLRI bitlen overflow" |
| 35 | simpletest "IPv4-unreach: IPv4 MP Unreach, 2 NLRIs + default" |
| 36 | simpletest "IPv4-unreach-nlrilen: IPv4 MP Unreach, nlri length overflow" |
Paul Jakma | 18ab08b | 2016-01-27 16:37:33 +0000 | [diff] [blame] | 37 | simpletest "IPv4-unreach-VPNv4: IPv4/MPLS-labeled VPN MP Unreach, RD, 3 NLRIs" |
David Lamparter | 5bb7e4d | 2013-02-26 17:53:30 +0100 | [diff] [blame] | 38 | |