| 1 | #!/bin/bash |
| 2 | # SPDX-License-Identifier: GPL-2.0 |
| 3 | |
| 4 | ############################################################################## |
| 5 | # Topology description. p1 looped back to p2, p3 to p4 and so on. |
| 6 | |
| 7 | NETIFS=( |
| 8 | [p1]=veth0 |
| 9 | [p2]=veth1 |
| 10 | [p3]=veth2 |
| 11 | [p4]=veth3 |
| 12 | [p5]=veth4 |
| 13 | [p6]=veth5 |
| 14 | [p7]=veth6 |
| 15 | [p8]=veth7 |
| 16 | [p9]=veth8 |
| 17 | [p10]=veth9 |
| 18 | ) |
| 19 | |
| 20 | # Port that does not have a cable connected. |
| 21 | NETIF_NO_CABLE=eth8 |
| 22 | |
| 23 | ############################################################################## |
| 24 | # In addition to the topology-related variables, it is also possible to override |
| 25 | # in this file other variables that net/lib.sh, net/forwarding/lib.sh or other |
| 26 | # libraries or selftests use. E.g.: |
| 27 | |
| 28 | PING6=ping6 |
| 29 | MZ=mausezahn |
| 30 | WAIT_TIME=5 |